API response diff
Paste two JSON responses to see exactly what differs, with highlighted changes and the path to each one. Free, no sign-up.
What you paste stays in your browser. This tool does its work on your own machine. The page carries a browser security rule that blocks it from making network requests or loading outside scripts, so this site's analytics and chat are switched off here too. You can check: open your browser's network tab, then use the tool.
Need the data itself? Try a free call.
How to compare two API responses
A text diff is the wrong tool for JSON. Two responses can hold exactly the same data with the keys in a different order or different indentation, and a line-by-line comparison will mark almost everything as changed. This page reads both documents as data and compares them field by field, so only real differences are listed, each with its path.
What the colours mean. Green is a field that appears only in the second response. Red is one that disappeared. Amber is a value that changed. Purple is a change of type, for instance a number that became a string. Type changes deserve a close look: they are a common reason a client breaks after an API update even though the value looks the same on screen.
Leave out the noise. Request ids and timestamps differ on every call. List their names under "Ignore fields". A plain name such as requested_at is ignored at any depth; a full path such as meta.took_ms ignores only that one.
Match list items by id. By default lists are compared by position, so one new item at the top makes every later item look changed. If each item has a stable field such as id, enter it, and items are paired by that value whatever their order. If any item lacks it, or two share a value, that list is compared by position instead.
Example responses
{
"requested_at": "2026-11-01T10:00:00Z",
"items": [
{
"id": 7,
"name": "Ada Tools",
"status": "active",
"employees": 12
},
{
"id": 9,
"name": "Birch Co",
"status": "active"
}
]
}{
"requested_at": "2026-11-26T10:00:00Z",
"items": [
{
"id": 9,
"name": "Birch Co",
"status": "dissolved"
},
{
"id": 7,
"name": "Ada Tools",
"status": "active",
"employees": "12"
},
{
"id": 11,
"name": "Cedar Ltd",
"status": "active"
}
]
}
With requested_at ignored and items matched by id, the example shows one company changing status, one field changing from a number to a string, and one new item.
Good uses. Check a new API version against the old one before you switch, see what changed in a record since last week, or confirm that a refactor returns the same data.
Questions
Are my responses sent anywhere?
No. Both are compared in your browser, and the page's security rule blocks network requests.
Does key order matter?
No. Objects are compared by key. List order matters unless you match list items by a field.
Is 1 different from 1.0?
No: JSON has one number type. The number 1 and the text "1" are different, and are reported as a type change.
Can it compare JSON Lines?
Yes. If a box holds one JSON value per line, it is read as a list.
More tools: curl to code · JSON to CSV · API cost calculator
Run this free, then pay per call
Start with 10,000 credits, no card. They arrive once you confirm your email and expire 90 days after they are added; credits you buy never expire. Start with 10,000 credits
Building an AI agent? See the MCP server