256 Tools

JSON Diff Viewer

1 added · 1 removed · 1 changed

PathAB
changedage3031
removedcity"Tokyo"
addedcountry"JP"

Related external sites

Some links are affiliate links.

Related tools

Paste two JSON documents and this tool compares them key by key, showing exactly what was added, removed, or changed, with the before and after values side by side. It walks nested objects so you see the full path to every difference. Everything runs in your browser.

How to use

  1. Paste the first JSON into the left box.
  2. Paste the second JSON into the right box.
  3. Read the differences, with counts and full key paths.

How it works

Both documents are parsed, then compared recursively. For objects, the tool looks at every key in either side: a key only on the left is removed, one only on the right is added, and a key on both is compared further. Leaf values (numbers, strings, booleans, arrays) are compared exactly, and each difference is reported with its dotted path so you can find it quickly.

Two JSON trees compared, with keys marked added, removed, or changed.AB

Features

Full key paths

Every difference is shown with its dotted path, even when nested.

Change counts

See how many keys were added, removed, and changed.

Before & after

Compare the old and new value for each changed key.

Fully private

Your JSON is compared in your browser and never uploaded.

When to use it

API changes

Spot what changed in a response between two versions.

Config review

Compare config files before and after an edit.

Code review

Check the impact of a data or fixture change.

Debugging

Find the one field that differs between two payloads.

Notes

  • Arrays are compared as a whole, not element by element.
  • Object key order does not affect the result.
  • Turn on 'Show unchanged' to see matching keys too.
  • All comparison runs on your device; nothing is uploaded.

FAQ

How are nested objects handled?
They're compared recursively, and each difference is reported with its full dotted path like a.b.c.
How are arrays compared?
Arrays are compared as a single value, so any difference inside marks the whole array as changed.
Does key order matter?
No. Objects are compared by key, so reordering keys does not create differences.
Can I hide unchanged keys?
Yes. Unchanged keys are hidden by default; toggle 'Show unchanged' to include them.
Is my JSON uploaded?
No. The comparison happens entirely in your browser and nothing leaves your device.

We use cookies for ads and analytics.