JSON Diff

Paste two JSON objects and see exactly what changed — added, removed and modified keys are highlighted. Everything runs in your browser.

JSON A (original)
JSON B (modified)
+ Added − Removed ~ Changed

How to compare two JSON files

Paste two JSON documents and see exactly what changed — added, removed and modified keys, highlighted side by side.

📥

1. Paste both versions

Original JSON on the left, changed JSON on the right. Formatting differences are ignored.

🔍

2. Compare

Keys are matched structurally — reordered keys and different indentation do not count as changes.

🎯

3. Read the changes

Added keys show green, removed keys red, and changed values show both the old and new value.

A structural JSON diff beats a text diff because JSON key order does not matter: two files can be logically identical yet differ on every line. Typical uses: comparing API responses between environments, reviewing config changes, debugging what a deploy changed in a payload. For plain text or code, use the Text Diff Checker; to tidy a document first, run it through the JSON Formatter.

JSON diff FAQ

Does key order matter in the comparison?

No. JSON objects are compared structurally, so {"a":1,"b":2} and {"b":2,"a":1} are identical. Array order does matter, because arrays are ordered by definition.

Can I compare API responses from two environments?

Yes — paste the staging response on one side and production on the other. You will see exactly which fields differ, ignoring formatting noise.

Is my JSON uploaded to a server?

No. The comparison runs entirely in your browser — safe for payloads containing tokens, emails or internal data.

What do the colors mean?

Green marks keys or values that were added, red marks ones that were removed, and changed values are shown as a pair — the old value struck through next to the new one.