JSON Diff
Compare two JSON documents semantically. Keys are normalised and sorted so only real changes are highlighted.
About the JSON Diff
A plain text diff of JSON flags every reordered key. The JSON Diff parses both documents and compares them semantically, so only real differences in values, added keys and removed keys are shown.
Both versions are compared in your browser, so private code and documents never leave your device.
How to use the JSON Diff
- Paste the two JSON documents.
- Fix any syntax error that is reported.
- Review the highlighted value changes, additions and removals.
Frequently asked questions
Does key order matter?
No. Keys are normalised and sorted before comparing, because JSON objects are unordered.
Does array order matter?
Yes. Arrays are ordered in JSON, so moving an item is reported as a change.