JSON diff
Compare two JSON documents and list every added, removed and changed path.
Loading tool…
About the json diff
Flattens two JSON documents to dotted paths and lists every difference: keys added, keys removed and values changed, with array indices included. Far easier to read than a line-based diff when key order differs between the two files.
Frequently asked questions
Does key order affect the result?
No. Comparison is by path, not by position, so two documents with the same content in a different order come out identical — which is usually what you want for configuration.
How are array changes reported?
By index, so tags[1] shows as added. Inserting at the start of a long array therefore reports many changes, since every later element has shifted position.