JSON Compare
Compare two JSON documents and get a semantic diff. Key order and formatting are ignored — see only the real differences, grouped by path.
- 100% client-side, nothing uploaded
- Instant results
- Works offline once loaded
Empty
Empty
How it works
About this tool
This free online JSON compare tool performs a semantic diff between two JSON documents. Instead of comparing text line by line, it parses both documents and compares the underlying data, so reordered keys, different indentation, and whitespace changes never show up as false differences.
Every difference is reported with its exact path — for example config.indent or tools[5] — and classified as added, removed, or changed. You can filter the result by change type, swap the two sides, and copy or download either document at any time.
The entire comparison runs client-side in your browser. Your JSON is never sent to a server, making this tool safe for comparing API responses, configuration files, and other sensitive data.
JSON Toolbox processes all data locally in the browser. Nothing is uploaded to a server.
Common questions
Frequently asked questions
How do I compare two JSON files online?
What is the difference between a JSON diff and a text diff?
Is my JSON uploaded to a server when I compare it?
Can I compare large JSON documents?
Keep exploring
More JSON tools
- JSON ValidatorCatch invalid JSON with exact line and column.
- JSON BeautifierPretty-print JSON with indent control and optional key sorting.
- JSON FormatterFormat messy JSON with 2-space, 4-space, or tabs.
- JSON MinifierStrip whitespace.
- JSON StringifyTurn JSON into an escaped string literal ready for code or config.
- JSON UnescapeDecode escaped JSON strings — or flip to escape mode.
- JSON EscapeEscape quotes, backslashes, tabs, and newlines into valid JSON strings.
- JSON Path FinderQuery JSON with JSONPath.