ToolboxHub

🔍JSON Diff

Compare two JSON objects and highlight added, removed, and changed keys.

Share:

About JSON Diff

Compare two JSON objects side by side and see exactly what has been added, removed, or changed between them. Each difference is highlighted with clear visual indicators and shows both old and new values. Useful for API response comparison, config change review, and data migration verification.

How to Use JSON Diff

  1. 1

    Paste JSON A

    Enter the original JSON object in the left panel.

  2. 2

    Paste JSON B

    Enter the modified JSON object in the right panel.

  3. 3

    Compare

    Click Compare JSON to see all additions, removals, and changes highlighted.

Common Use Cases

  • Comparing API responses before and after a change
  • Reviewing configuration file diffs
  • Validating data migration output
  • Debugging JSON schema changes

Frequently Asked Questions

Does it support nested objects?
The tool compares top-level keys and shows differences at the first level. Nested differences are shown as a changed value containing the serialized nested object.
Does it compare JSON arrays?
Array comparison is handled by comparing the serialized JSON of array values — if two arrays differ in any element, the key is marked as changed.

Related Tools