JSON Diff Checker
Compare & SearchCompare two JSON objects side by side and see exactly what was added, removed, or changed.
How to compare JSON objects online
To compare JSON objects online, paste both documents into the left and right panels — the diff instantly highlights every addition, removal, and value change. A structural comparison understands the data: it compares values by key path, so reordered keys and reformatted whitespace never register as changes.
Both Original and Changed stay editable, so you can fix either side in place, and the Differences panel shows an order-independent structural diff — the truth about what actually changed. Why a structural diff beats a text diff explains the difference in more depth.
When to use a JSON diff checker
A JSON diff checker comes up constantly in day-to-day development:
- Spotting a regression between two versions of an API response.
- Catching config drift between staging and production.
- Reviewing exactly what a data migration changed before shipping it.
- Confirming a refactor left a serialized payload semantically identical.
JSON comparator for objects, arrays, and API responses
When you compare JSON objects online, you need more than a line-by-line text diff. This JSON comparator walks both documents by key path, so a value that moved or a key that was renamed is reported accurately, and arrays are compared element by element. Paste the before and after — two API responses, two config versions, two exports — and read the added, removed, and changed values at a glance.
Because the comparison runs entirely in your browser, it is safe to use with API responses or configs that contain sensitive data. Nothing is uploaded or stored. To inspect either document on its own before diffing, open it in the JSON viewer.
Read the diff: added, removed, and changed
Every field that differs carries one of three markers — a green + for an addition, a red − for a removal, and an amber ~ for a changed value, shown as the old value struck through beside the new one — and the totals above the result count each kind. Objects and arrays are marked changed whenever anything beneath them differs, so the markers lead you straight down to the field that moved.
Flip on Hide unchanged to strip out every matching field and leave only what actually differs — the fastest way to review a large payload where just two or three values moved. When nothing differs at all, the tool says so outright, so a clean compare reads as a clear yes rather than an empty screen. If one side does not parse yet, the panel waits for valid JSON on both sides and recomputes the moment you fix it. To track down every place a renamed field or a specific ID appears before you accept a change, find every occurrence with search and replace.
How arrays, types, and missing keys are compared
The structural diff walks objects by key path, so a key present on one side and absent on the other is reported as an addition or a removal, and a value that changed type — a number that became a string, an object that became null — is flagged as changed rather than quietly passed over. Reordered object keys are treated as equal, because position never carries meaning inside an object.
Arrays are the one exception worth internalizing: they are compared element by element by index, so inserting an item at the front shifts every following element and surfaces as a run of changes. That is honest — the element now at index 3 genuinely is not the one that used to sit there — but if you care about set membership rather than order, sort both arrays the same way first, then compare. Each element is labelled with its index, like [2], under its parent key, so you can read exactly where two lists diverged.
Compare two API responses from their URLs
To diff two endpoints — staging against production, or the same route before and after a deploy — click Load URL on the Original pane and again on the Changed pane. Both responses are fetched straight from your browser and compared, as long as the endpoints allow cross-origin requests. Because the comparison is order-independent for objects, a response whose fields serialize in a different order won't bury you in false positives; only the values that genuinely changed are marked.
This is the quickest way to prove an API contract held across a release, or to pin down exactly which field a backend change altered. If you want to understand a payload's shape before lining it up against another, open a single response in the tree viewer first and drill through it there.
JSONCompare — compare JSON and find every difference
JSONCompare is a shorthand for comparing two JSON documents to find what was added, removed, or changed. A plain text compare is easily fooled by whitespace and key reordering — two JSON objects can hold identical data while looking completely different as text. A structural JSON compare understands the data: it compares values by key path, so reordering keys or reformatting whitespace never registers as a change.
Paste two JSON objects — two API responses, two config versions, two database records — and the diff flags every real difference: added keys in green, removed keys in red, and changed values with the old value struck through beside the new one. The comparison runs locally in your browser so no data is uploaded.
Online JSON diff — spot every change instantly
An online JSON diff tool compares two JSON documents in your browser without installing anything or uploading data. This one compares structure rather than text, so it ignores key order and whitespace and highlights only real data changes.
Use it to catch a regression between two API responses, to confirm config did not drift between environments, or to verify that a refactor left a serialized payload semantically unchanged. The diff highlights every addition, deletion, and modification at the field level so you can read the result at a glance rather than cross-referencing two documents manually.
Everything in the JSON Diff Checker
Compare two JSON objects or files and see every addition, removal, and change highlighted instantly. Free JSON diff checker and comparator, no upload needed.
Side-by-side compare
Both documents beside a live list of every difference.
Git-style markers
Additions, removals, and edits color-coded — same as a git diff.
Structural tree diff
Compares by key path, order-independent — reordered keys are not flagged.
Summary counts
Totals of added, removed, and changed values at a glance.
Frequently asked questions
Paste your original JSON into the Original pane and the modified version into the Changed pane. The JSON comparison runs instantly in your browser and highlights every addition, removal, and changed value with color-coded markers. You can also load JSON from a URL or upload a file.
A JSON comparator (also called a JSON diff checker or JSON compare tool) takes two JSON documents and shows exactly what changed — which keys were added, which were removed, and which values were modified. This tool compares by key path, so reordered keys are not flagged as changes.
The structural tree diff compares values by key path, so reordered keys are not reported as changes. Arrays are the exception: their elements are compared by index, so order matters there.
Yes. Paste or upload both documents and the comparison runs locally in your browser — even large files are compared without any upload to a server.
Yes. Click 'Load from URL', paste any public URL that returns JSON — an API endpoint, a raw GitHub file, or a CDN asset — and the content loads instantly in your browser. The request goes directly from your device; nothing passes through our servers.
No. Every operation runs entirely in your browser using client-side JavaScript. Your JSON is never uploaded, logged, or stored on any server — it never leaves your device.
Yes, completely free with no sign-up required. There are no usage limits, no watermarks, and no premium gate on any feature.
Related tools
JSON Formatter
Beautify, minify, and repair messy JSON — even Python dicts and JS objects — into clean, valid output.
JSON Search & Replace
Find any key, value, or path in your JSON — and replace across the document.
JSON Viewer
View JSON data and objects online — syntax highlighting, collapsible nodes, free and private.
JSONPath Tester
Write a JSONPath expression and see exactly which values it matches.