JSON Diff
Compare two JSON documents and see exactly what changed
Compare two JSON documents and see precisely what changed — which keys were added, which were removed, and which values differ — instead of squinting at a line-by-line text diff. The comparison is structural and recursive: it walks nested objects and arrays and reports each difference by its full path. Both documents are parsed and compared entirely in your browser.
How to use JSON Diff
- Paste the original JSON on the left and the changed JSON on the right.
- The differences are computed automatically as you type.
- Review each change by its path, marked added, removed, or changed.
- Fix the input if either side reports a JSON parse error.
Frequently asked questions
How is this different from a plain text diff?
A text diff compares characters and lines, so reformatting or reordering keys creates noise. This tool compares the parsed structures and reports only real changes to keys and values, regardless of whitespace or formatting.
Does key order affect the result?
No. Objects are compared by key, so reordering properties is not flagged as a change. Array elements, however, are compared by their position.
Is my JSON uploaded anywhere?
No. Both documents are parsed and diffed locally in your browser; nothing is sent to a server.
Related Data & Formatting tools
- JSON Formatter — Format, minify, validate, and beautify JSON data
- XML ⇆ JSON Converter — Convert between XML and JSON formats
- YAML ⇆ JSON Converter — Convert between YAML and JSON formats
- CSV to JSON Converter — Convert between CSV and JSON formats
- .env ⇆ JSON Converter — Convert between .env files and JSON objects
- JSON to C# Classes — Generate C# classes from JSON data