JSON Compare
Compare two JSON objects live — see exactly what was added, removed, or modified as you type.
First JSON
Second JSON
About the JSON Compare
A JSON compare (or JSON diff) tool shows exactly what changed between two JSON documents — which keys were added, which were removed, and which values were modified. It's far more reliable than a plain text diff because it understands JSON structure.
This tool compares objects by key and arrays as multisets, so reordering the same elements is not reported as a change. Everything is computed in your browser, making it safe for comparing sensitive configs or API responses.
How to use the JSON Compare
- 1Paste the original JSON on the left and the new version on the right.
- 2Click Compare to compute the structural difference.
- 3Review the added, removed, and modified sections in the results.
- 4Fix your data and re-run, or copy either side for further use.
Common uses
Reviewing config changes
See precisely what a deployment or teammate changed in a JSON config.
Debugging API regressions
Diff a known-good response against a broken one to isolate the change.
Auditing data migrations
Confirm a transformed document only changed the fields you intended.
Frequently asked questions
How is this different from a text diff?
A text diff compares lines and is thrown off by formatting or key order. A JSON diff compares the parsed structure, so it reports genuine data changes regardless of whitespace or ordering.
Does reordering array items count as a change?
No. Arrays are compared as multisets, so the same elements in a different order are treated as unchanged. Only genuinely added or removed elements are reported.
Can it compare deeply nested objects?
Yes. The comparison is recursive and reports the full path to each added, removed, or modified value.
Is my data sent anywhere?
No. Both documents are compared locally in your browser.