Original (A)
Modified (B)

Comparing JSON Objects

When an API response changes or a config file gets updated, spotting the differences manually is painful. This tool compares two JSON objects and highlights exactly what was added, removed, or changed — much like a git diff but specifically for structured data.

Unlike plain text diff, JSON diff understands structure. It knows that {"a":1,"b":2} and {"b":2,"a":1} are equivalent, and it won't flag reordered keys as changes.

Common Use Cases

  • API versioning — Compare responses between API versions to spot breaking changes
  • Config auditing — See what changed between two versions of a config file
  • Data debugging — When your app produces unexpected output, compare against expected data

Need to format a single JSON file first? Use the JSON Formatter. For comparing plain text or code, try the Diff Checker.