JSON Diff
Compare two JSON objects side by side. See every added, removed, and changed field with exact key paths.
Paste JSON in both panels and click Compare.
Compare Two JSON Objects Online
Paste two JSON objects and instantly see every added, removed, and changed field with exact key paths and old and new values. Perfect for debugging API responses, auditing config file changes, and verifying data migrations. 100% private, runs entirely in your browser.
Use Cases
How to Use
- Paste the original JSON into the Left panel
- Paste the updated JSON into the Right panel
- Click Compare to run a full recursive diff
- Filter results by Added, Removed, or Changed, or search by key path
Features
- Deep recursive comparison of nested objects and arrays
- Color-coded results: green for added, red for removed, yellow for changed
- Exact dot-notation paths to every changed field
- Filter by change type or search by key path
- 100% private: no server, no upload, no data leaves your browser
Frequently Asked Questions
How does JSON comparison work?
The tool performs a deep recursive comparison of both JSON objects. It walks through every key at every nesting level and reports added keys, removed keys, and keys whose values changed, along with old and new values.
Can I compare deeply nested objects?
Yes. The comparison is fully recursive and traverses nested objects and arrays to any depth. Each change is reported using dot-notation paths like $.user.address.city so you know exactly where the difference is.
What do the colors mean in the diff?
Green highlights indicate keys added in the right-side JSON. Red highlights indicate keys removed. Yellow highlights indicate keys present in both objects whose values changed between the two versions.
Related Tools