Compare two JSON documents by meaning, not text: key order is ignored and each difference is listed with its path, like $.limits.rps
See what really changed between two JSON documents. Key order and formatting are ignored; each difference comes with its exact path.
How to use it
Paste the original JSON on the left and the changed JSON on the right (or open files). Tick "Ignore array order" if [1, 2] and [2, 1] should count as equal. Read the result side by side (inline on a phone), or switch to Table for each difference with its path.
Examples
Reordered keys are not a change
Left: {"a": 1, "b": 2}
Right: {"b": 2, "a": 1.0}No differences
Key order and number formatting (1 vs 1.0) do not matter in JSON.
Changes with paths
Left: {"limits": {"rps": 100}, "owners": ["ana"]}
Right: {"limits": {"rps": 250}, "owners": ["ana", "li"]}changed $.limits.rps 100 → 250 added $.owners[1] "li"
Why a text diff is the wrong tool for JSON
Reading the paths
| Path | Means |
|---|---|
$ | The whole document |
$.user.email | Key "email" inside key "user" |
$.items[2] | Third item of the "items" array |
$["first name"] | A key with a space or special character |
Questions
- Does it ignore the order of keys?
Yes. JSON objects are unordered, so {"a":1,"b":2} equals {"b":2,"a":1}. - Can I see the two documents side by side?
Yes, that is the default view. Both sides are shown with keys sorted A–Z, so only real changes are highlighted. Switch to Inline for one column, or to Table for a list of paths with old and new values. - Can it ignore the order of array items?
Yes, tick "Ignore array order". Without it, items are compared by position, so [1, 2] and [2, 1] differ. With it, items are matched by value, so [1, 2, 3] equals [3, 1, 2], and only items without a match are reported as added or removed. - Is 1 the same as 1.0?
Yes. Numbers are compared by value, so 1, 1.0 and 1e0 are equal. Very large integers are compared digit by digit, so no precision is lost. - What if one side isn’t valid JSON?
Nothing is compared. The page names the side, the line, the column and the reason, so you can fix it first. - Is my JSON uploaded?
No. Everything runs in your browser, so your JSON stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. We don’t save or log what you paste.