Skip to content
DevTools

JSON Diff — Compare Two JSON Documents

Compare two JSON documents side by side. See every added, removed and changed value with its exact JSON path, in a visual diff or a change list.

Results update as you type.

Original (A)

Modified (B)

Differences

Ready

Runs locally in your browser — your data is never uploaded.

About the JSON Diff

Compare two JSON documents and see exactly what changed. The structural diff walks both documents and lists every added, removed and changed value with its full path (such as $.address.city), so whitespace and key order don't create noise.

Switch to the side-by-side visual diff to see the changes in context, with additions and deletions highlighted line by line.

How to use it

  1. Paste the original JSON on the left and the modified JSON on the right.
  2. Read the change list or open the visual diff.
  3. Use Swap to reverse the comparison.

Features

  • Deep structural comparison
  • JSON path for every change
  • Side-by-side visual diff
  • Ignores formatting and key order

Frequently asked questions

Does key order matter?

No. Objects are compared key by key, so reordered keys aren't reported as changes. Array items are compared by position.

Can I compare API responses?

Yes — paste the response from two environments or versions to spot regressions quickly.

Is my data uploaded anywhere?

No. All processing happens in JavaScript inside your browser tab. Your input is never sent to a server, logged or stored, so it is safe to use with internal or sensitive data.