JSON Diff

How to use this JSON diff tool

  1. Paste your original JSON into "JSON A".
  2. Paste the updated version into "JSON B".
  3. Differences appear below: green for added, red for removed, orange for changed.

How does this comparison work?

The tool walks both JSON objects key by key, recursively comparing nested objects, and reports any key that's missing, added, or has a different value — useful for comparing API responses or config files across versions.

Does array order matter in the comparison?

Arrays are compared as whole values, so a reordered array with the same elements will show up as "changed" — this tool doesn't do element-by-element array diffing.

What if my JSON is invalid?

The tool shows an error message asking you to check both inputs — use the JSON Formatter tool first if you need help finding the exact syntax error.