JSON Diff
Compare two JSON documents by path and see what was added, removed, or changed. Object key order is always ignored. Array order can be ignored too, which is useful for sets and unordered lists. Everything runs in your browser.
Original
Modified
Ready. Press Compare.
How to use the JSON Diff
- Paste the original JSON on the left and the changed JSON on the right.
- Choose whether array order should matter.
- Press Compare, then copy any changed path from the list.
Example
The sample pair differs in version, a removed debug flag, and an added license key.
{
"name": "json-utils",
"version": "1.0.0",
"private": false,
"tags": ["json", "tools"],
"author": { "name": "Ada", "active": true },
"score": 9.5,
"notes": null
}Frequently asked questions
Does key order matter?
No. Objects are compared by key, not by position, matching JSON semantics.
How are arrays compared?
By index by default, so reordering an array shows changes. Turn on Ignore array order to match elements by value instead.