JSON Diff
Compare two JSON files by structure, not text: see every key that was added, removed or changed with its full path, ignoring key order and whitespace, with an option to ignore array order.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Paste the old version in the first box and the new one in the second (or drop both files).
- If list order does not matter, turn on “Ignore array order”.
- Review the differences with their paths and filter them by type.
- Download the difference report as JSON.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
Why is there no difference although the text differs?
We compare the data itself: key order, spaces and line breaks do not change meaning, so they are not differences.
What if a value changes type?
For example "5" (string) became 5 (number): it counts as changed and both values are shown.
How does “Ignore array order” work?
Each array is treated as a collection: an item present in both is not reported even if it moved. Missing items show as removed and new ones as added.
Related tools
JSON Formatter & ValidatorPretty-print JSON or minify it to one line, sort keys alphabetically, validate it with the exact line, column and cause of any error, or escape and unescape JSON strings.JSON Viewer & JSONPath QueryBrowse JSON as a collapsible tree, search keys and values, and pull out what you need with a JSONPath query like $.items[?(@.price > 10)].name, copying any path or value.YAML ↔ JSON ConverterConvert YAML to JSON or JSON to YAML, validate a YAML file with the line number of any error, or reformat it with clean indentation. Multiple documents (---) are supported.JSON Schema GeneratorPaste sample JSON and get a ready JSON Schema (Draft 2020-12 or 07): types, required fields, nullable values and formats like email, date and uri, merged across many records.