JSON compare
Compare two JSON payloads
JSON compare shows the difference between two payloads: which fields were added, removed or changed. Paste both sides and the changes are highlighted.

Live demo
See what changed.
Two versions of the same response, diffed with the comparison code the app runs. Turn on Changes only to hide what stayed the same.
compare · v1 → v2
What changed1 added0 removed2 changed
- id:42(unchanged)
- name:"Ada Lovelace"(unchanged)
- plan:"free""pro"(changed)
- address(changed)
- city:"London"(unchanged)
- zip:"N1""N1 9GU"(changed)
- tags(unchanged)
- 0:"beta"(unchanged)
- seats:5(added)
Runs in this page, on the same code the app uses.
In the app
Use it to check a response against an earlier one, or to see what a new API version changed.
Nothing is uploaded. The comparison happens in your browser.
How it works
From first click to result.
- 01
Paste both sides
Put the old payload on the left and the new one on the right. Swap them with one click.
- 02
Read the diff tree
Added, removed and changed keys are marked, and branches with no changes start collapsed.
- 03
Count what moved
A summary says how many keys were added, removed and changed, so a regression is easy to spot.
Capabilities
The details that matter.
+ added - removed ~ changed
Every change marked
Each key is tagged by what happened to it, with the old and new value side by side when it changed.
filter: changes only
Hide the noise
Show only the branches that changed, however deep they sit in the payload.
path: items[0].name
Know where it is
Every change carries its full path, so you can find it again in the response.
upload: none
Compared in the browser
Neither payload leaves your device.
With Relay
Or ask Relay to do it.
Relay can diff two responses it has stored for a request and explain what changed between them.
Relay tools it uses
- diff_responses
Relay
- Compare the last two responses of Get user and tell me what changed
Catch the change before your tests do.
Paste two payloads and read the diff. Nothing is uploaded.
Free, open source, no sign-up.