JSON Compare – Find Differences

Paste two JSON blocks side by side — see exactly what changed, line by line.

Differences

How to use it

  1. Paste the first JSON on the left.
  2. Paste the second JSON on the right.
  3. Differences highlight instantly — red for removed lines, green for added ones.

What it checks

Both inputs are parsed as JSON first — if either is invalid, you are told immediately (a lifesaver when an API response breaks your code). Valid JSON is then pretty-printed and compared line by line, so formatting differences don't create false alarms.

For students and developers

Comparing API responses before and after a change, checking config files, or debugging why two "same" objects behave differently — this is the everyday use. Everything runs in your browser, so private API keys in your JSON never leave your machine.

Frequently asked questions

What does this JSON compare tool do?

It shows line-by-line differences between two JSON objects — added lines in green, removed in red.

Does it validate my JSON too?

Yes. If either side is not valid JSON, it says so instead of comparing.

Is my data sent to a server?

No — comparison happens entirely in your browser.

Can I compare more than two JSONs?

Two at a time. For three, compare the first two, then the winner against the third.