JSON Compare / Diff

Deep-compare two JSON documents and list path-level differences.

Runs 100% in your browser — your input is never uploaded.

Compare two JSON documents. Diff runs in your browser — nothing is uploaded.

Diff result

  • + $.email = "ada@example.com"
  • ~ $.name: "Ada" → "Ada Lovelace"
  • + $.roles[1] = "editor"

3 differences · client-side only

Advertisement

About JSON Compare / Diff

Paste two JSON documents to see added, removed, and changed paths. Comparison runs entirely in your browser after both sides parse successfully — nothing is uploaded.

JSON compare walks both documents recursively and reports path-level differences: keys only on the left (removed), only on the right (added), or values that changed. Arrays are compared by index, so reordering items shows up as changes at those positions.

Both sides must be valid JSON first. If either side fails to parse, SparkJSON shows that syntax error instead of a misleading partial diff. Comparison never leaves your browser.

Frequently asked questions

Does order of object keys matter?
No. Object keys are compared as a set. Array order does matter — index 0 is compared to index 0.
Can I compare minified and beautified JSON?
Yes. Whitespace is irrelevant after parse. Only structural and value differences are reported.
Is my data uploaded?
No. Diffing runs entirely in your browser.