Developer Tools

JSON Diff & Compare

Compare two JSON documents and see added, removed and changed values by path. Perfect for API responses and config files.

Tool

About the JSON Diff Tool

The JSON Diff Tool runs entirely in your browser — your data never leaves your machine.

When an API response changes or a config drifts, a plain text diff drowns you in reformatted braces. This tool compares the two structures and reports only what truly differs, by JSON path.

How to use this tool

  1. Paste the first JSON document on the left and the second on the right.
  2. Press Compare JSON.
  3. Read the list of added, removed and changed values, each shown with its path.

What counts as a change

SymbolMeaning
+ addedThe key exists only in JSON B
− removedThe key exists only in JSON A
~ changedThe key exists in both but the value differs

Developer tip

Key order never matters in JSON, and neither does whitespace — so this comparison ignores both. That is why it finds real differences a text diff would bury.

Who is this tool for?

Backend developers checking API changes, DevOps engineers reviewing config drift, and anyone verifying a migration.

Frequently asked questions

No. Keys are compared by name, so reordering objects produces no differences.
Arrays are compared by index, reporting items added, removed or changed at each position.
The tool reports which side failed to parse so you can fix the syntax before comparing.

Related tools

Guides for this tool