All tools Developer

JSON Diff

Compare two JSON documents and list added, removed and changed values by path.

Runs in your browser. Nothing you open or type here is uploaded.

How to use

  1. Paste the original JSON into the left field.
  2. Paste the modified JSON into the right field.
  3. Compare, then read the list of differences grouped as added, removed and changed.
  4. Copy the diff if you need it in a report or a ticket.

Details

The tool walks both JSON documents and compares them key by key. Every difference is listed with its path in the document, the old value and the new value, and the summary counts added keys, removed keys and changed values separately. Object key order is ignored, because the comparison is structural rather than textual: two documents with the same content in a different order report no differences. A typical use is checking what changed between two API responses or two versions of a configuration file.

  • Invalid JSON on either side is reported before any comparison happens, so a parse error is not mistaken for a difference.
  • Paths use the key names from the document, so a change deep in the structure is easy to locate in the original file.

Common questions

Is my JSON uploaded?

No. Comparison runs entirely in your browser.

How are differences shown?

Each change lists its path, the old value, and the new value. Added keys, removed keys, and changed values are counted separately.

Does key order matter?

No. Objects are compared by key, so reordering keys does not count as a change.