JSON Diff

Compare two JSON objects and highlight the differences — added, removed, and modified values.

JSON · compare · diff

Compare two JSON documents side by side and highlight what changed. Ideal for API response regressions, config reviews, and fixture updates — without uploading payloads to an online diff service.

Structural compare Two-pane workflow API & config reviews Client-side No sign-up

What JSON diff is for

Line-oriented text diffs break down when JSON key order shuffles or whitespace differs but data is identical. A JSON-aware comparison focuses on structural differences: added/removed keys, changed values, and array membership — the signal you want when debugging “why did this response change?”

How to use it

  1. Paste the baseline JSON (e.g. yesterday’s response or main branch fixture) on one side.
  2. Paste the candidate JSON on the other.
  3. Run the comparison and inspect highlighted differences.
  4. Optionally pretty-print inputs first with the JSON Formatter if either side is invalid or minified noise.

Typical workflows

Arrays: Order-sensitive arrays (lists of events) differ from sets (unordered tags). A reordering can look like mass delete+add. Normalize sort order when order is not meaningful before diffing.

Tips for cleaner diffs

IssueWhat to do
Invalid JSONValidate/format each side first
Volatile fields (requestId, timestamps)Strip or freeze them before compare
Key order onlyParse+stringify both; ignore pure reorder if values match
Number vs string "2"Types matter in JSON — coerce only if your API does

FAQ

Is this a textual diff?

It is aimed at JSON structure/values. For arbitrary prose, use the Diff Checker.

Are documents uploaded?

Comparison runs in the browser. Privacy Policy.

Can it diff multi-megabyte files?

Very large documents may slow or strain the tab. Prefer local CLI tools for huge artifacts.

Related tools

Sponsored