JSON Diff Checker
100% PrivateData & JSON ToolsCompare two JSON documents structurally and list every difference by path.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
- 1Paste the original JSON on the left and the new JSON on the right.
- 2Press Compare.
- 3Read the list of added, removed and changed paths.
- 4Fix either document and compare again if needed.
Worked example
One change and one addition
Left: {"name":"Ana","age":31} Right: {"name":"Ana","age":32,"city":"Lisbon"} Differences: CHANGED age: 31 -> 32 ADDED city: "Lisbon"
- Comparison is structural: objects compare by key, arrays compare item by item by index, so inserting an item mid-array reports the shifted items as changed.
- Numbers that are equal in value but written differently (1 and 1.0) are the same JSON number and show no difference.
- A type change, for example an object replaced by a string, is reported as one changed entry at that path rather than many small ones.
No. Objects are compared by key name, not by position, so a reordered but otherwise identical document shows zero differences.
About this tool
The JSON Diff Checker compares two JSON documents structurally and lists every difference by path: what was added, what was removed, and what changed, with the old and new values side by side. Key order is ignored, so reformatting alone shows no differences.
Related tools
JSON Formatter and ValidatorFormat JSON with your choice of indentation, validate it and explore its structureData & JSON ToolsOpenJSON Path TesterQuery a JSON document with simple path expressions and see every matchData & JSON ToolsOpenJSON MinifierRemove every unnecessary space and newline from a JSON document and see the size savedData & JSON ToolsOpenJSON to CSV ConverterConvert a JSON array of objects into a spreadsheet-ready CSV fileData & JSON ToolsOpen
Advertisement
Part of Ovatly's free tools in Data & JSON Tools.