Side-by-Side JSON Diff
See two JSON files side by side and spot changes quickly.
Compare two JSON files, objects, or API responses side by side. Find added, removed, and changed values in nested data — privately in your browser.
See how a few changed values appear in a simple JSON object.
Compare two JSON files, objects, or API responses side by side. Paste JSON or choose local .json files to instantly find added, removed, and changed values. Ignore key order when needed. Everything runs privately in your browser — your files are never sent to a server.
See two JSON files side by side and spot changes quickly.
Compare JSON objects or API responses, even when they contain nested data.
Treat matching objects as equal even when their keys are in a different order.
Find changes within nested objects and arrays, not just at the top level.
Compare JSON privately in your browser. Your files stay on your device.
Copy the changes or download a JSON report for later.
JSON Compare checks two valid JSON inputs and shows which fields were added, removed, or changed. You can review the differences side by side or find a specific change in the field list.
By default, the order of keys in an object doesn't matter, but the order of items in an array does. You can change either setting above. Spacing and indentation differences are shown separately unless you select Ignore whitespace.
| Comparison rule | Default behavior |
|---|---|
| Object key order | Ignored. Objects with the same keys and values compare as equal. |
| Array element order | Preserved. Enable Ignore array order when order should not matter. |
| Nested objects and arrays | Checks values inside nested objects and arrays, with a location for each change. |
| Whitespace and indentation | Reported as formatting differences unless Ignore whitespace is enabled. |
| Large integer values | Compared without rounding away digits in large numbers. |
Both inputs must contain valid JSON. Comments inside JSON aren't supported.
Paste JSON into both boxes or choose a .json file for each one. Your files stay in your browser.
Click Compare JSON to find differences using the options you've selected.
See what's been added, removed, or changed. Copy the changes or download a report.
Working with other formats? Convert YAML to JSON or Convert JSON to YAML, Convert XML to JSON, then compare the result here. Need a spreadsheet from JSON? Convert JSON to Excel.
See how a changed value and a new field appear when you compare two JSON objects.
{
"user": {
"id": 101,
"role": "user"
},
"active": true
}{
"user": {
"id": 101,
"role": "admin",
"verified": true
},
"active": true
}~ $.user.role: "user" → "admin"
+ $.user.verified: trueThe role changed from user to admin, and a verified field was added. Unchanged fields don't appear as differences. Go to the tool and select Nested.
Paste two JSON API responses to check which fields or values changed between requests or versions.
Compare JSON settings files from different environments and spot changes to options, values, or nested fields.
Find changes buried inside objects and arrays. Each difference shows where the change happened.
Need to combine files rather than compare differences? Use our JSON Merge tool to merge multiple JSON objects and arrays.
JSON comparison shows what's different between two JSON files or objects, including fields that were added, removed, or changed. Unlike a line-by-line text comparison, it can ignore object key order and find changes inside nested data.
Paste your JSON into the Original JSON and Modified JSON boxes, or choose a .json file for each side. Click Compare JSON to see the changes. If your file has a syntax error, try the JSON Validator.
Yes. You can compare JSON with multiple levels of objects and arrays. Changes are listed by field, such as $.user.profile.city. Array order matters by default, but you can select Ignore array order if it doesn't matter for your files.
Yes. Paste two JSON API responses to see which fields or values changed between requests or versions. You provide both responses; this tool doesn't fetch data from an API.
No. Ignore key order is on by default, so two objects with the same keys and values compare as equal even if the keys appear in a different order. Turn it off if you want to see key-order changes.
Yes. Array order matters by default, but you can select Ignore array order to compare items regardless of their position. You can also select Ignore whitespace to hide differences caused only by spacing or indentation.
Yes. Very large numbers are compared without rounding away their digits. When your JSON contains large integers, a message explains how they're handled.
No. Pasted JSON and selected local files are processed in your browser. The comparison tool does not upload your JSON content to jsoncompare.dev.
Yes. You can compare JSON files online without creating an account or signing up.