JSON Diff

Compare two JSON documents and highlight added, removed and changed keys.

3 changes
~ age: 30 → 31
+ city: "London"
- tags
Private & SecureRuns in your browser — nothing is uploaded
Easy to UseJust paste or type — instant results
Free ForeverUnlimited use, no sign-up
Fast & ReliableAdvanced tech, fast and stable

Two versions of a JSON document can differ in ways a plain text compare misses or over-reports, especially when keys move or whitespace changes. This compares them by structure and shows what was added, removed or changed, key by key, so you see the real differences rather than reformatting noise.

AB+ added- removed~ changed
Spot the differences

How to use: JSON Diff

  1. 1Enter inputPaste the original JSON on the left.
  2. 2Set optionsPaste the new JSON on the right.
  3. 3ProcessRead the structured diff.
  4. 4Get resultGreen = added, red = removed, amber = changed.

Common use cases

Review a config changeSee exactly which settings changed between two versions of a config file.
Check an API responseCompare yesterday's and today's response to spot a field that appeared, vanished or changed shape.
Debug a syncFind where two records that should match actually diverge.
Verify an editConfirm an automated change touched only the keys you intended and nothing else.

Good to know

By structure, not by lineIt matches keys and values, so reordering or reformatting does not show up as a change the way a text diff would.
Added, removed, changedEach difference is labelled, so you can tell a brand-new key from one whose value simply changed.
Object key order rarely mattersIn an object, key order carries no meaning, so the tool ignores it; in an array, order does matter and is compared as it stands.
Both sides must be valid JSONIf either side has a stray comma or quote, parsing fails first; fix the syntax, then compare.

Frequently Asked Questions