How it works
How to use the JSON Diff
Paste or open two files
Edit the original on the left and the modified version on the right. Both sides are editable.
Normalize (optional)
Press Normalize to format both sides and sort keys, so only real data changes remain.
Choose a layout
Switch between side-by-side and unified views, and collapse unchanged regions.
Getting a clean diff
Two JSON files with identical data can still produce a noisy diff if one is minified or has keys in a different order. The Normalize button rewrites both documents with consistent 2-space indentation and alphabetically sorted keys, so the diff shows only genuine changes. For a list of changes by JSON path, try JSON Compare.
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Can I edit the files in the diff view?
Yes. Both sides are full editors with syntax highlighting, search and undo. The diff updates as you type.
What does "Collapse unchanged" do?
It hides long runs of identical lines, keeping three lines of context around each change. Click a collapsed region to expand it.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser. Your input never leaves your device, is not logged, and works offline once the page has loaded.
Keep going
Related tools
- JSON FormatterFormat, validate and explore JSON
- JSON ValidatorFind and fix JSON syntax errors
- JSON ViewerExplore JSON as a searchable tree
- JSON CompareFind semantic differences between two JSON documents
- JSON EditorEdit JSON with live validation
- JSON SorterSort JSON keys alphabetically
- JSON to CSVConvert JSON arrays to CSV and CSV back to JSON
- JSON to XMLConvert JSON to XML and XML to JSON