JSON Diff

Generate sample JSONSimple
Left JSON
Right JSON

What is JSON Diff?

JSON diff compares two JSON documents as parsed data instead of plain text. That means whitespace, indentation, and formatting changes do not hide the fields that were actually added, removed, or changed. Semantic comparison is useful for API contract reviews, generated fixtures, configuration changes, and snapshot debugging.

JSONFather parses both documents in the browser, compares values by path, and reports a focused change list. You can review counts for added, removed, changed, and unchanged values, then copy a patch-like summary into review notes or issue comments.

How to Compare JSON

Paste the old JSON on the left and the new JSON on the right, then choose Compare JSON. Review changed paths first, then scan additions and removals. If key order or whitespace changed but values did not, the semantic diff stays quiet.

Available actions

  • Compare JSON
  • Swap sides
  • Import JSON file
  • Copy output
  • Download output
  • Create expiring JSON share link
  • Generate sample JSON
  • Simple sample
  • Medium sample
  • Complex sample
  • Back to top
  • Back to bottom
  • Find in editor
  • Previous match
  • Next match
  • Replace all
  • Close search panel

Example

Input

Left: {"user":{"id":1,"name":"Ada"}}
Right: {"user":{"id":1,"name":"Grace"}}

Output

Changed: $.user.name
"Ada" -> "Grace"

FAQ

Is this a text diff or semantic diff?

jsonfather parses both sides first, then compares JSON values by path so whitespace does not create noise.

Can I compare API responses?

Yes. Paste old and new responses to see changed fields, added array entries, and removed properties.

Does diff data leave my browser?

No. Both sides are parsed and compared locally in the browser.