JSON diff
Compare two JSON and spot additions, removals and changes.
- Instant
- Free
- Private (processed locally)
- No sign-up
Spot every difference between two JSON
Paste two JSON — a “before” and an “after” — and the tool lists the additions, removals and changes with their exact path, plus a numeric summary. Perfect for tracking how a config or an API response evolves.
-
Paste JSON A
The reference version (before).
-
Paste JSON B
The version to compare (after).
-
Read the differences
Added (+), removed (−), changed (~), by path.
Example of differences
| Path | Type | Detail |
|---|---|---|
| name | changed | "clic" → "clic.tools" |
| tags[1] | changed | "b" → "c" |
| new | added | true |
Structural comparison: key order does not matter. Everything is parsed locally, nothing is sent.
Frequently asked questions
How does the comparison work?
Both JSON are parsed then walked recursively. Each key is classified: added (only in B), removed (only in A) or changed (different value). The exact path (e.g. tags[1] or user.name) is shown.
Are arrays compared?
Yes, element by element by position. If B has more elements they are marked “added”; if fewer, “removed”. Same-index elements whose value changes are “changed”.
Does key order matter?
No. The comparison is structural: only keys and their values count, not their order in the text. Two identical but reordered objects produce no differences.
Is my data sent anywhere?
No. Parsing and comparison happen entirely in your browser with JSON.parse; no content is transmitted. Ideal for comparing sensitive configs or API responses.