JSON Diff
Paste two documents and see exactly what changed.
JSON Diff compares two documents and highlights the lines that were added, removed or changed. It is the quickest way to see what differs between two API responses, two versions of a config file, or the payload before and after a deploy.
For a meaningful comparison, format both sides first so that differences in indentation or line breaks do not show up as noise. Each pane has its own Format and Minify buttons, and you can load a file into either side.
How to use it
- Paste the original document on the left and the changed one on the right.
- Press Format on both panes to normalise whitespace.
- Read the highlighted diff below the two editors.
Questions
Can I compare formats other than JSON?
Yes. The diff is text based, so it works for YAML, XML, CSV, JSONL and TOON as well. Pick the format in the toolbar so the Format buttons use the right parser.
Why do I see differences when the data is the same?
The two documents are probably formatted differently or have keys in a different order. Format both sides, and use Sort keys from the More menu on each document before comparing.
Are my documents uploaded for comparison?
No. The diff is computed in your browser and neither document is sent anywhere.
All tools
- JSON Formatter
- JSON Validator
- JSON Minifier
- JSON Repair
- JSON Diff
- JSON Schema Validator
- JSON to YAML
- YAML to JSON
- JSON to CSV
- CSV to JSON
- JSON to XML
- XML to JSON
- YAML Formatter
- XML Formatter
- JSONL Validator
- JSON to TOON
- LLM Token Counter
- LLM Token Optimizer
- JSON to TypeScript
- JSON Schema Generator
- LLM Tool Schema Generator