JSON Diff
Compare two JSON objects and see exactly which keys were added, removed, or changed.
Paste two JSON objects or arrays and see a structured diff highlighting exactly which keys were added, removed, or changed, including nested objects and arrays. Useful for comparing two versions of an API response, a config file before and after a change, or two exports from a system to spot drift. The comparison is structural, not just textual, so key reordering doesn't produce false positives. Everything runs locally in your browser.
Loading tool
Details
- Category
- Developer & data
- Formats
- JSON
- Runs
- In your browser
- Files uploaded
- No
- Cost per run
- Free
- Sign-in
- Not required
- Works offline
- Yes, once loaded
Last updated 2026-08-03
Common questions
Does key order matter in the comparison?
No - the diff is structural, comparing keys and values regardless of their order in the JSON.
Can it compare nested objects and arrays?
Yes - differences inside nested structures are detected and shown at the exact path where they occur.
What if one file has invalid JSON?
The tool validates both inputs first and reports a parse error before attempting to diff them.
Is my JSON uploaded anywhere?
No - comparison runs entirely in your browser.