JSON Diff

Compare two JSON documents and see exactly which keys and values were added, removed or changed.

Paste JSON in both boxes to see the differences.

No uploads. Your files stay on your device.

Free forever, no sign-up, no cookies. Buy me a coffee

How it works

Paste the original JSON on the left and the changed version on the right — this JSON diff tool parses both documents and compares them structurally, so you get a list of the exact values that were added, removed or changed instead of a noisy line-by-line text diff. Key order and whitespace are ignored, which means reformatted or re-serialised API responses only show real differences. Every change is labelled with its JSON path (for example $.user.tags[1]) so you can jump straight to it in your code. Arrays are compared by index by default; tick "Ignore array order" to compare them as sets and see only the items that were genuinely added or removed. Everything runs in your browser with JSON.parse — your data is never uploaded, so it is safe for production payloads, tokens and customer records.

Frequently asked questions

How do I compare two JSON files?

Paste the original JSON in the left box and the changed JSON in the right box. The diff appears instantly as a list of changes — each one marked +, − or ~ and labelled with its JSON path, such as $.user.tags[1]. You can copy or download the report as a plain-text file.

Does this JSON diff ignore key order and formatting?

Yes. Both documents are parsed and compared structurally, so key order, indentation and line breaks never count as differences — only real value changes do. Arrays are compared by index by default, and you can tick "Ignore array order" to compare them as sets instead.

Is my JSON uploaded to a server?

No. The comparison runs entirely in your browser with JavaScript's JSON.parse — nothing is sent anywhere, stored or logged. That makes it safe to diff production API responses, config files and payloads containing customer data or tokens.

Report a bug