JSON Diff
JSON Diff compares two JSON documents and lists what was added, removed or changed, by path, ignoring key order and spacing. Arrays can optionally be treated as unordered. Nothing is uploaded.
How to use JSON Diff
- Paste the original JSON on the left and the changed JSON on the right.
- Turn on “Ignore array order” if the order of list items does not matter.
- Read the list of added, removed and changed paths, or copy it as a report.
Frequently asked questions
How is this different from the text diff?
The text diff compares lines of text, so reordered keys or different indentation show up as changes. This tool compares the data itself and reports the path of each real difference.
Does key order matter?
No. Objects with the same keys and values are equal however the keys are ordered. Array order does matter unless you turn on “Ignore array order”.
Is my JSON uploaded anywhere?
No. Both documents are compared in your browser and never sent to a server.
Next step
Two edited copies of one file? Merge them with a three-way merge. Open JSON Merge (Three-Way).