JSON Diff
See exactly what changed between two JSON documents.
Opens the editor with two sample documents loaded. Click Compare to highlight every difference — all in your browser.
A JSON diff shows what changed between two documents — which keys were added, which were removed, and which values are different. It is the fastest way to answer questions like “what did this API response change between yesterday and today?” or “how does staging's config differ from production's?”
What the diff highlights
- Added keys and array items present on one side only
- Removed keys and items that disappeared
- Changed values where the key exists on both sides but the value differs
Because JSON is structural rather than line-based, a good diff compares by key and path, not just by text lines — so reordering keys or reformatting whitespace does not drown you in false differences.
How to compare here
Paste the first document into the left panel and the second into the right, then open Compare. The two are parsed and matched, and every difference is highlighted so you can scan the changes instead of reading both documents line by line. Use the sample above to see it in action: the two plans differ in plan, seats and one added feature.
Common uses
- Confirming a bug fix actually changed the fields you expected
- Reviewing config drift between environments
- Checking what an API contract changed between two versions
- Auditing a data export against a known-good baseline
Private by default
Both documents stay in your browser. Nothing is uploaded, so comparing real API responses or environment configuration is safe.
Frequently asked questions
How do I compare two JSON files?
Put one document in the left panel and the other in the right, then click Compare. Every addition, deletion and changed value is highlighted for you.
Does the diff ignore key order and formatting?
It compares structurally by key and path, so reformatting whitespace does not create noise. Reordering object keys does not change meaning in JSON, so it is not flagged as a difference.
Is my data uploaded to compare it?
No. Both documents are parsed and compared entirely in your browser — nothing is sent to a server.
Related tools
Prefer to start from scratch? Open the JSON editor and paste your own data — everything runs locally in your browser.