AZ Tools

JSON Diff

Developer

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.

Changes+ 1− 0~ 3
  • ~ $.age3031
  • ~ $.roles[1]"editor""viewer"
  • ~ $.address.zip"04000""04001"
  • + $.address.country"KR"

How to use

  1. Paste the original JSON on the left, the new one on the right.
  2. Read the path-based change list.
  3. 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.

Related tools