MergeJSON

JSON Diff.

Compare two JSON documents and see exactly what changed — added, removed, and changed values by path. A structural, semantic diff that ignores key order and whitespace. 100% private, in your browser.

No signup · No uploads · No file-size cap

// Paste two JSON documents and press “Compare”.

Compare JSON online - free and private

A JSON diff tool helps you compare two JSON files, API responses, config snapshots, or data exports without noisy formatting changes. Paste both documents above and the JSON compare tool reports real structural differences: added fields, removed fields, and changed values.

Semantic JSON diff, not line-by-line noise

Unlike a normal text diff, this tool parses the JSON first. That means minified JSON, pretty-printed JSON, and reordered object keys compare correctly. The result is path-based, so you see changes like users[2].email instead of hunting through line numbers.

Why use this JSON compare tool?

It is fast, private, and built for nested JSON. Use it before merging API changes, checking config drift, reviewing test fixtures, or debugging webhook payloads. Need to clean the input first? Try JSON Repair, JSON Formatter, or our guide on how to compare JSON files.

FAQ

JSON diff, answered.

How do I compare two JSON files online? +

Paste the first JSON document on the left and the second JSON document on the right, then run the JSON Diff tool. It parses both inputs, compares the data structure, and shows added, removed, and changed values by path. Everything runs in your browser, so your JSON files are not uploaded.

What is the difference between JSON diff and text diff? +

A text diff compares lines, so it can show false changes when JSON is minified, pretty-printed, or reordered. A JSON diff compares parsed values, so whitespace and object key order do not matter. That makes it better for comparing API responses, config files, and nested JSON data.

Can this JSON compare tool ignore key order and whitespace? +

Yes. The comparison is structural and semantic, which means object key order, indentation, and line breaks do not create differences. Only real data changes - added fields, removed fields, and changed values - appear in the result.

How are arrays handled in JSON diff? +

Arrays are compared by position by default because array order matters in JSON. You can use ignore-array-order mode when your arrays behave like unordered sets, such as tags, permissions, scopes, or IDs.

Can I export the JSON diff result? +

Yes. After comparing the two JSON documents, you can export the diff so you can share the change report, attach it to a ticket, or keep it with a release review.

Is my JSON data private? +

Completely. This JSON diff checker is 100% client-side. Your JSON is parsed and compared locally in your browser and is never sent to, stored on, or seen by any server.