JSON Developer Tool

JSON Diff / Compare Tool

Paste two JSON documents and instantly see every added, removed, and changed field.

Differences
Comparison results will appear here

Compare two JSON documents field by field

This tool performs a deep, recursive comparison between two JSON documents and lists every difference by its exact path — additions, removals, and value changes — so you can spot what actually changed between two API responses, two versions of a config file, or two test fixtures without scanning line by line.

How to read the results

  • Added — the key or array item exists in the right JSON but not the left.
  • Removed — the key or array item exists in the left JSON but not the right.
  • Changed — the key exists in both, but its value (or type) is different.

Each difference shows a JSONPath-style location (e.g. $.user.address.zip) so you can find the exact spot in a large document. Object keys are compared regardless of order — this tool checks values, not formatting.

Typical use cases

  • API regression testing: Compare a previous response snapshot against a new one to catch unintended breaking changes.
  • Config drift detection: Diff two environment configs (staging vs. production) to spot mismatches.
  • Debugging state changes: Compare application state before and after an action to understand exactly what changed.
  • Code review: Quickly verify that a refactor didn't change an API's output shape.

Frequently Asked Questions

No. Two objects with the same keys and values but in a different order are treated as identical, which matches how JSON itself defines object equality.
Arrays are compared index by index. If array lengths differ, the extra items are reported as added or removed at their index; if a value at the same index differs, it's reported as changed.
Yes, the comparison recurses to any depth and reports the full path to each difference, such as $.data.items[2].price.
No. The comparison runs entirely in your browser — nothing is sent to a server.