Skip to content

JSON Diff

Embed

Paste this where you want JSON Diff on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/json-diff/" width="100%" height="500" frameborder="0" loading="lazy" title="JSON Diff"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/json-diff/">JSON Diff</a> by BrowserUtils</p>

Compare two JSON documents structurally.Runs in this tab.

Enter JSON in both panels to see structural differences

Next step

About JSON Diff

Free online JSON diff tool. Compare two JSON objects and see added, removed, and modified keys with a structure-aware visual diff. It runs in your browser. Nothing is sent to a server.

Questions

How is JSON diff different from text diff?
Text diff compares line by line, which can produce misleading results when keys are reordered. JSON diff compares the actual structure and values, so reordering keys does not show as a change.
What types of changes are detected?
The tool detects added keys (present only in the second JSON), removed keys (present only in the first), modified values (same key, different value), and type changes (e.g., string to number).
Can I use JSON diff to compare API responses?
Yes, paste two API responses and the tool will highlight exactly which fields changed between them, making it easy to debug API changes or version differences.
Does key ordering matter in the comparison?
No. JSON objects are unordered by specification, so the diff compares by key name regardless of the order keys appear in the document.
Can I use JSON diff to compare configuration files?
Yes, paste your two config file versions and the tool will show exactly which settings were added, removed, or changed between them.
Is the JSON diff tool safe for sensitive data?
Yes, both JSON documents are compared entirely in your browser. Nothing is sent to a server, so you can safely compare private configuration or API data.

More in JSON Tools

All 18 json tools