JSON Diff Viewer
Structural diff of two JSON documents — added, removed, changed
How it works
- 1Paste both documents
Put your original in Left (A) and the modified version in Right (B).
- 2Review each change
See a table of added, removed, and changed paths — with JSONPath locations like $.user.name.
- 3Fix and re-check
Edit either side; the diff recomputes live.
About JSON Diff Viewer
Free online JSON diff tool. Paste two JSON documents to see a structural comparison — additions, removals, and value changes with full JSONPath. Unlike a text diff, key order doesn't matter. Runs entirely in your browser. JSON Diff Viewer on 712 Tools runs entirely inside your browser using modern JavaScript APIs — no server ever sees your data. That means instant results, complete privacy, and no upload limits.
Whether you need to structural diff of two json documents — added, removed, changed for a debugging session, a quick sanity check, or a production incident, this tool is free to use as many times as you need. There are no watermarks, no sign-up, and no ads inside the tool itself.
Frequently asked questions
How is this different from a text diff?
A text diff cares about key order and whitespace. This walks the JSON structurally: {a:1,b:2} and {b:2,a:1} show zero differences.
What paths are used?
JSONPath-style: $.key, $.items[3].name. Copy them to jq or a JavaScript lookup.
Are arrays diffed by index or content?
By index — items are compared position-by-position. For unordered-set diffing, sort both arrays first.
Read more
JSON to TypeScript: workflows that scale beyond a single sample
A one-shot JSON → interface tool is great for demos and dead for production. Here are the patterns real teams use to keep types in sync with real APIs.
YAML pitfalls: the Norway problem, indentation, and anchors
YAML looks like the friendly config format until it silently converts 'NO' to false. Here are the traps in YAML 1.1, why 1.2 fixes some of them, and when to switch to JSON.
Related tools
JSON Formatter
Pretty-print, minify, and validate JSON instantly
Regex Tester
Test JavaScript regular expressions with live matches
SQL Formatter
Format SQL queries with proper indentation and keyword capitalization
Word Counter
Count words, characters, sentences, paragraphs, reading time
Case Converter
Convert text to UPPERCASE, lowercase, camelCase, snake_case, kebab-case, and more
Lorem Ipsum
Generate placeholder text — paragraphs, sentences, or words