BizTechLab

IDEASINNOVATIONIMPACT

JSON

JSON Compare

Paste two JSON documents to see exactly what was added, removed, or changed between them — a structural diff, not a text diff, so formatting differences never get in the way. Runs entirely in your browser; nothing you paste is ever sent anywhere.

Before
After
Structural Diff
Paste JSON into both panels above to see the differences here.

Quick Learn

Comparing two JSON documents means finding exactly what changed between them — which keys were added, which were removed, and which had their value changed. This shows up constantly in real work: diffing an API response before and after a deploy, comparing two config files, or reviewing what a merge actually changed in a data file.

A structural diff walks both documents together, key by key and array index by index, rather than comparing them as raw text. That matters because two JSON documents can be byte-for-byte different (different key order, different whitespace) while being completely equivalent in meaning. This tool ignores formatting differences entirely and only reports real structural changes — additions, removals, and value changes — all computed locally in your browser.

Best Practices

  • Don't rely on a plain text diff for JSON — key reordering will show as a change even when nothing structurally moved.
  • Array comparisons are position-based here: inserting an item in the middle of an array will show every item after it as "changed", not just the new one. For order-sensitive data, consider comparing by a stable ID field instead.
  • A key present with value null is different from a key that's missing entirely — this tool treats them as distinct and will report one as "changed" and the other as "added"/"removed".
  • When comparing API responses across environments, strip out inherently-different fields (timestamps, request IDs) before comparing, or you'll get noise on every run.

More JSON Tools

See all JSON tools

Frequently Asked Questions

No. It parses both documents and compares the resulting structures, so different formatting, indentation, or key order never shows up as a difference — only real changes to keys and values do.

Want the engineering deep-dives behind tools like this one?