Semantic
Key order never counts
Objects are compared by meaning, so reordered keys don’t show up as noise. Only real data changes do.
JSON Diff Checker · Semantic · Free
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.
Key order is always ignored. Comments and trailing commas are allowed.
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
Paste or drop your original JSON on the left and the changed JSON on the right. Comments and trailing commas are fine.
Press Compare JSON. Key order is ignored and arrays of records are matched by their id automatically.
Review every added, removed and changed value by path — or switch to the side-by-side view — then export a JSON Patch.
Features
Semantic
Objects are compared by meaning, so reordered keys don’t show up as noise. Only real data changes do.
Paths
Every difference has a readable path like users[id=42].address.city, so you know exactly where it is.
Arrays
Arrays of objects are matched by id, key, sku, email or name — even when items are reordered.
Validate
Invalid JSON is pinpointed by line and column with a plain-English hint. Click to jump straight to it.
Export
Download a standards-compliant JSON Patch that turns the original into the changed document.
Private
API responses, configs and secrets stay in your browser. The comparison never touches a server.
FAQ
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.
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”.
Yes. If strict parsing fails, comments and trailing commas are ignored automatically and the input is marked as lenient.
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.
No. Parsing and comparison run entirely in your browser, and history is stored only on your device.
Yes. Turn on “Loose types” to treat numbers, booleans and their string forms as equal — handy when one API returns strings.
More Compare Tools
Side-by-side diff with syntax highlighting and moved-code detection.
XLSX, XLS, ODS and CSV — row and cell differences, matched by ID.
DOCX, DOC, PDF, PPTX, ODT and more — even across formats.
Slider, fade, blink, pixel difference and highlighted regions.
What’s only in A, only in B, and in both — instantly.
Compare two folders or .zip archives — no desktop app needed.
Merge two edited versions of a file against their common base, resolving conflicts.