JSON Diff Tool

Compare two JSON documents and highlight differences.

Compare two JSON documents and see the differences in the data itself: values added, removed and changed, listed by their path (such as $.user.address.city or $.items[2].price). Key order and formatting are ignored, so two files that mean the same thing show no differences, unlike a plain text diff. Useful for API responses, config files and test snapshots.

Common use cases

  • Compare two API responses
  • See what changed in a config file between versions
  • Check a test snapshot against expected output

How to use

  1. Paste the original JSON on the left and the new JSON on the right.
  2. Read the list of added, removed and changed values with their paths.

FAQ

Why use this instead of a text diff?

A text diff flags reordered keys and indentation changes. A JSON diff compares the data, so only real changes show.

How are arrays compared?

Item by item, by position. An item inserted near the start makes later items show as changed.