JSON Diff illustration

JSON Diff

Compares two JSON documents structurally — not line by line — and lists every added, removed and changed value with its exact path. Key order and formatting differences are ignored; unchanged subtrees collapse so only real changes show up. Export an RFC 6902 JSON Patch, skip noisy keys, or match array objects by id.

Runs 100% in your browser — nothing you paste leaves your device.

Notes

  • Enable “Match array items by id” when comparing lists of objects — otherwise arrays are compared by index.
  • Numbers are compared by value: 1.0 and 1 are equal, as JSON intends.
  • Shareable links embed both JSON sides in the URL hash — nothing is sent to a server.
  • Runs 100% in your browser — nothing you paste leaves your device.

Explore the idea

This interactive demo needs JavaScript.