Skip to content
Easy Diff Checker

JSON Diff Checker · Semantic · Free

Compare JSON by meaning, not by text.

Paste two JSON documents and get every added, removed and changed value with its exact path. Key order is ignored; arrays are matched by id.

View

Key order is always ignored. Comments and trailing commas are allowed.

Results appear here.

Paste two JSON documents to see what changed

Get a clean list of added, removed and changed values with exact paths — key order never counts as a change.

How It Works

Three steps. No sign-up.

  1. 1

    Paste or drop your original JSON on the left and the changed JSON on the right. Comments and trailing commas are fine.

  2. 2

    Press Compare JSON. Key order is ignored and arrays of records are matched by their id automatically.

  3. 3

    Review every added, removed and changed value by path — or switch to the side-by-side view — then export a JSON Patch.

Features

Built for real-world data.

Semantic

Key order never counts

Objects are compared by meaning, so reordered keys don’t show up as noise. Only real data changes do.

Paths

Exact change paths

Every difference has a readable path like users[id=42].address.city, so you know exactly where it is.

Arrays

Smart array matching

Arrays of objects are matched by id, key, sku, email or name — even when items are reordered.

Validate

Errors you can fix

Invalid JSON is pinpointed by line and column with a plain-English hint. Click to jump straight to it.

Export

RFC 6902 JSON Patch

Download a standards-compliant JSON Patch that turns the original into the changed document.

Private

Nothing is uploaded

API responses, configs and secrets stay in your browser. The comparison never touches a server.

FAQ

Questions & answers

Does the order of keys matter?

No. Two objects with the same keys and values are equal no matter how their keys are ordered. The side-by-side view sorts keys so only real changes appear.

How are arrays compared?

Arrays of objects are matched by an id-like field (id, _id, uuid, key, code, sku, slug, email or name) when every item has a unique one. Other arrays are compared in order, or as unordered sets if you turn on “Ignore array order”.

Can I compare JSON with comments (JSONC) or trailing commas?

Yes. If strict parsing fails, comments and trailing commas are ignored automatically and the input is marked as lenient.

What is a JSON Patch?

JSON Patch (RFC 6902) is a standard list of add, remove and replace operations. Apply it to the original document to get the changed one — useful in APIs and migrations.

Is my JSON sent to a server?

No. Parsing and comparison run entirely in your browser, and history is stored only on your device.

Can “1” and 1 be treated as equal?

Yes. Turn on “Loose types” to treat numbers, booleans and their string forms as equal — handy when one API returns strings.

More Compare Tools

Free, private, in your browser.

History

Stored only in this browser. Up to 50 checks.

Keyboard shortcuts

Compare
⌘↵
Show this list
?
Close dialogs and menus
Esc

Letter shortcuts are ignored while you type in a text box.