JSON Diff
Plain text diff treats JSON as lines of characters; JSON Diff understands the structure. Paste two JSON documents and get a typed list of changes — added paths in green, removed in red, changed values in amber, each with a dotted-path location like $.address.zip. Reorder keys without seeing 'differences', spot missing fields instantly, and stop scanning whitespace.
~ $.age30 → 31~ $.roles[1]"editor" → "viewer"~ $.address.zip"04000" → "04001"+ $.address.country"KR"
How to use
- Paste the original JSON on the left, the new one on the right.
- Read the path-based change list.
- Parser errors show next to whichever side is invalid.
Frequently asked questions
- Why not just use a text diff?
- Text diff is line-based and confused by re-ordered keys, different indentation, or trailing-comma style. JSON Diff compares parsed structures, so identical data with different formatting reports zero changes.
- What does the path syntax mean?
- JSONPath-style: $ is the root, .key is a property, [n] is an array index. So $.posts[0].tags[1] is the second tag of the first post.
- How are arrays compared?
- By index, item-by-item. If the lengths differ, the extra trailing items are listed as added or removed. Reordering the same items still shows changes at the differing indices.
- Is anything uploaded?
- No — both JSONs are parsed and diffed locally in your browser.
Guides on this topic
Related tools
Text Diff Viewer
Compare two pieces of text and see line-by-line or word-by-word additions and removals.
HTTP Status Code Reference
Searchable list of every HTTP status code (1xx-5xx) with summary, RFC, when to use, and common pitfalls.
JSON Patch Builder (RFC 6902)
Generate an RFC 6902 JSON Patch from a source/target pair, or apply an existing patch to a document. Supports add, remove, replace, move, copy, test ops.
Semver Tools (Parser, Comparator, Bumper)
Parse, compare, and bump semantic versions side-by-side, with a range expander that shows what ^x.y.z and ~x.y.z actually cover.
JSON Formatter & Validator
Format, beautify, minify, and validate JSON right in your browser.
JWT Decoder
Decode a JSON Web Token to inspect its header, claims, and expiration.