Compare Two JSON Objects Online to Find Differences

Overview

Debugging configuration changes, API response shifts between environments, and schema migrations all require comparing two JSON structures. Paste both and get a color-coded diff: green for added keys, red for removed keys, yellow for changed values. Every difference includes the full key path.

How to Use This Tool

Paste the first JSON in the left panel and the second in the right panel. Click Compare. The diff output shows each difference with path, type of change (added/removed/changed), and the before/after values.

Ready to get started? It's free, no registration required, and your files never leave your device.

PDF Tool

Frequently Asked Questions

Can I compare deeply nested JSON objects?

Yes. The comparison recurses through all nesting levels. A changed value 5 levels deep is shown with its full path (e.g. config.server.ssl.cert.expiry) and the old and new values.

Does array order matter in JSON comparison?

By default, the tool compares arrays index-by-index. If your arrays have the same items in different orders and you want to find semantic differences, enable the 'ignore array order' option.

Can I export the diff results?

Yes. Download the diff as JSON (a structured list of changes) or as a text report showing each difference in a readable format.