How to use JSON Diff Checker
The JSON diff checker compares two JSON documents structurally and reports exactly what changed, path by path. Unlike a plain text diff, it parses both documents so reordered keys or reformatting do not create false differences — it walks objects and arrays and lists every value that was added, removed, or changed, with the old and new values. It runs entirely in your browser, making it a fast, private way to spot the real differences between two JSON payloads.
- Paste the original JSON on the left.
- Paste the changed JSON on the right.
- Read the path-by-path list of added, removed, and changed values.
- Copy the difference summary from the result actions if needed.
Your data never leaves your device — 100% private processing.
Structural versus textual comparison
Text-based diff tools compare documents line by line, which works well for prose and code but poorly for JSON. JSON is order-insensitive for object keys and tolerant of whitespace, so two documents can be byte-for-byte different yet semantically identical — or look similar but differ in a deeply nested value. A structural diff parses both sides into data and walks the tree, comparing values at each path. The result is a precise list of what actually changed, free of the noise a text diff produces when a formatter reorders keys or reindents the file.
| Kind | Meaning |
|---|---|
| added | Present on the right, missing on the left |
| removed | Present on the left, missing on the right |
| changed | Present on both but with a different value |
Reading paths
Every reported difference is anchored to a path so you can find it instantly in the source. Object keys are joined with dots, so user.name points to the name field inside the user object, and array elements use bracketed indices, so tags[1] is the second item of the tags array. Nested combinations read naturally: orders[0].items[2].price locates a deeply buried value. This path notation matches how you would access the value in code, which makes the diff directly actionable — you can jump straight to the field and understand the change without hunting through the document.
Worked examples
Changed value
Inputs: {v:"1.0"} vs {v:"1.1"}
Result: changed · v · "1.0" → "1.1"
Added key
Inputs: {a:1} vs {a:1,b:2}
Result: added · b · 2
Array element
Inputs: [a,b] vs [a,c]
Result: changed · [1] · "b" → "c"
Glossary
- Structural diff
- A comparison that parses data and compares values by path rather than comparing raw text.
- Path
- A dotted-and-indexed locator such as user.tags[0] that identifies a value within a JSON document.
- Key
- The name of a field within a JSON object.
- Payload
- A body of data, often JSON, sent to or received from an API.
Related reading
Frequently Asked Questions
Why use JSON Diff Checker?
- Compares JSON structurally, ignoring key order and whitespace
- Reports each change by dotted or indexed path with old and new values
- Classifies every difference as added, removed, or changed
- Runs in your browser so nothing you paste is uploaded
Common use cases
- See what changed between two API responses while debugging
- Compare a config file before and after an automated change
- Verify that a data transformation only altered the fields you expected
- Review differences between two versions of a JSON fixture
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Related Developer Tools
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Includes syntax highlighting, error detection, and a collapsible tree view — free, private, in-browser.
JSON Schema Validator
Validate JSON data against a JSON Schema online. Get clear, path-based error messages for every violation. Free, private JSON Schema validator.
JSON ↔ XML Converter
Convert JSON to XML and XML to JSON with formatting. Validate and transform structured data both ways. Free, private, in-browser.
Text Diff Checker
Compare two texts line by line and highlight added, removed, and unchanged content instantly for copy review, QA checks, and revision auditing.
Regex Tester
Test and debug regular expressions online. See live matches, capture groups, and replace output. Free, private, instant.
Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 strings back to text in seconds. Free, private, and fully in-browser now.
Explore all Developer Tools.