JSON Diff & Compare
Find added, removed and changed JSON values. Object key order is ignored; array positions and value types matter.
Open JSON Semantic Diff →How to compare two JSON documents
- Open JSON Semantic Diff from the button above. Paste Before JSON into Left JSON.
- Paste Reordered JSON into Right JSON and press Run. Expect Differences: 0.
- Replace Right JSON with Changed JSON and run again. Expect Differences: 1, with
/activechanged fromtruetofalse. - Review every changed path before updating a configuration or reusing an API response.
Compare values, not object key order
These first two objects have the same values. Reordering object keys should produce zero differences.
Now change one value
Expected result
Differences: 1
Path /active changes from true to false.
The ID and name stay the same. No paths are added or removed.
Arrays are compared by position, so reordering an array can produce differences. The number 101 and the string "101" are also different. This is a structural comparison, not a schema or business-rule validation.
Continue your workflow
Privacy
The linked tools process their working input locally in your browser. The copy buttons on this page copy only the displayed synthetic sample; they do not send it to a server. Normal website and network infrastructure may still process ordinary connection metadata needed to deliver and protect the site.
