{}JsonLab

Free · client-side · no sign-up

JSON Diff — Compare Two JSON Documents

Spot exactly what changed between two JSON documents — what was added, removed and changed, with nested changes attributed to the precise key. JsonLab compares JSON structurally (key order doesn't matter) and runs entirely in your browser.

Use cases

API response regression

Compare an old and new API payload to catch fields that silently appeared, vanished or changed type between releases.

Config drift between environments

Diff staging vs production config to find the one setting that's different.

Reviewing JSON fixtures

See precisely how a test fixture or snapshot changed in a pull request.

Debugging data changes

Understand what a transformation or migration actually did to your data.

Added / removed / changed

Every difference is colour-coded and marked so you can scan changes at a glance.

Structural, key-order-insensitive

Documents with the same data in a different key order are correctly reported as identical.

Nested-aware

Changes deep inside objects and arrays are attributed to the exact path, not the whole branch.

Only-differences view

Hide everything that's unchanged to focus on what actually moved.

Example

Original
{
  "version": 1,
  "tags": ["json", "tools"],
  "deprecated": false
}
Changed
{
  "version": 2,         // changed
  "tags": ["json", "tools", "diff"],  // added "diff"
  "author": "Ada"       // added (deprecated removed)
}

How to use it

  1. 1Open the JSON editor and paste your first (original) document.
  2. 2Paste the second (changed) document to compare against.
  3. 3Review the added, removed and changed entries highlighted inline.

Frequently asked questions

Does key order affect the result?

No. Comparison is structural, so two objects with the same keys and values in a different order are treated as identical.

How are arrays compared?

Arrays are compared position by position (by index), so insertions and removals show up against their slots.

Is my data uploaded?

No. The comparison runs entirely in your browser — nothing is sent to a server.

Related tools

Ready to go?

No sign-up, no uploads — everything runs in your browser.