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.

Runs in your browser // nothing is uploaded

Runs on your device. This tool processes your file inside this browser tab. Nothing is uploaded, so it also works offline once the page has loaded, and closing the tab discards the file from memory.

Loading tool

Details

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-12

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.

Use this from your code

This tool is also a REST endpoint, so you can run it in a pipeline instead of by hand. It is free and needs no API key. See the API reference for every parameter.

curl -X POST https://fileoven.com/api/v1/tools/json-diff \
  -H "Content-Type: application/json" \
  -d '{"a":{"version":1,"active":true},"b":{"version":2,"active":true}}'

Related tools