Loading tool…
About the JSON Diff
Paste two versions of a JSON document — an API response before and after a change, two config files, two snapshots of state — to get a clear list of what actually differs, instead of eyeballing a wall of text.
How to use the JSON Diff
- Paste the original JSON on the left and the changed JSON on the right.
- Click Compare.
- Each difference is listed by its path, with the old and new value.
- Identical documents report no differences.
Step-by-step walkthrough with examples and the errors people hit: How to Compare Two JSON Files Online.
Example
Compare
{"name":"Ada","active":true} vs {"name":"Ada","active":false,"role":"admin"}
→
active: true → false + role: "admin"
Common errors and how to fix them
Everything shows as changed
Check that one side is not wrapped in an extra array or object, for example [{...}] against {...}. The diff compares from the root.
Arrays report changes after reordering
Array elements are compared by index, because JSON arrays are ordered. If order does not matter in your data, sort both arrays first.
More problems and fixes in the tutorial
FAQ
Does key order matter?
No — this compares values by key path, not by the raw text, so reordered keys with identical values show no difference.
How are arrays compared?
Array elements are compared index by index. Reordering an array will show as changes at each shifted index, not as a move.
Is either document uploaded?
No, the comparison runs entirely in your browser.