JSON Diff
Compare two JSON documents online: key order and indentation ignored, every addition, removal, and change listed by JSONPath, nothing uploaded
Loading...
How to compare two JSON documents online
- 1
Paste or open both JSON documents
Put the two documents you want to compare into the left and right panes, or open a .json file from your machine. The content stays in your browser and is never uploaded.
- 2
Read the structured difference list
The tool canonicalizes both sides first (key order and indentation ignored by default), then lists every addition, removal, and change with its JSONPath and the value on each side.
- 3
Check the diff view and export
Click any row in the list to jump to that spot in the diff view, then copy the diff or download it as a .patch file.
Features Overview
Compare two JSON documents online and see what actually changed. Key order and indentation are ignored by default, so {"a":1,"b":2} and {"b":2,"a":1} count as identical. Besides a side-by-side diff you get a structured list: every row is a JSONPath plus the value on each side, so it tells you $.data[3].price changed rather than "line 42 changed". Large integers and trailing zeros like 2.370 survive byte for byte. Everything runs in your browser; nothing is uploaded.
Tool Description
Paste two JSON documents and see what actually changed. Key order and indentation are ignored by default, a structured list reports additions, removals, and changes by JSONPath with both values, side-by-side and unified views are one click apart, large integers keep their precision, and everything runs in your browser.
Capabilities Checklist
- JSON diff ignores key order and indentation by default, so only real semantic differences are reported
- Structured difference list: additions, removals, and changes one by one, each with its JSONPath and both values
- Side-by-side and unified diff views; click a row in the list to jump to that spot in the diff
- Optionally ignore array element order or letter case, and show only differences or full context
- Large integers and the trailing zero in 2.370 are preserved byte for byte, never mangled by JavaScript number precision
- Paste, open a file, or swap the two sides; the diff can be copied or downloaded as a .patch
- When either side is invalid you get the exact line and column, not a bare "invalid format"
- Runs entirely in your browser: no sign-in, no ads, nothing uploaded
Feedback
Help us improve the tool
Related Tools
JSON Formatter Online
Format, validate, and explore JSON in your browser with a tree view, exact error lines, and JSONPath, with nothing uploaded
Text Difference Comparator
Quickly locate differences, supports side-by-side or inline view
JSON YAML Converter
JSON and YAML format conversion, supports syntax highlighting and history tracking
JSON to Excel Converter
Convert complex JSON to editable XLSX with online preview, custom headers, and data mapping
JSON to CSV Converter
Batch convert, history tracking, support nested JSON structures