About JSON Diff Checker
Paste two JSON documents to see a structural diff that ignores key order. Every change is shown with its RFC 6901 JSON Pointer path so you know exactly where in the document it occurs. Download the diff as a standards-compliant RFC 6902 JSON Patch file.
Frequently Asked Questions
What is JSON diff?
JSON diff compares two JSON documents and highlights every structural difference — keys added, removed, or changed at any depth. Unlike plain text diff, it understands JSON structure so reordered keys that represent identical data are not flagged as changes.
What is the difference between a semantic JSON diff and a plain text diff?
A text diff compares raw characters line by line. A semantic JSON diff parses both documents first and compares data structures. Key reordering, indentation changes, and whitespace differences are all ignored — only genuine data changes appear. {"b":2,"a":1} vs {"a":1,"b":2} shows no diff semantically but would show many changes as text.
Can a JSON diff tool compare deeply nested objects and arrays?
Yes. The diff recurses into nested objects and arrays at any depth. A change three or four levels deep is shown with its full key path (e.g. /users/0/address/city) so you can locate it instantly in a large document. Array items are compared positionally by default.
Does key order matter when comparing two JSON objects?
Not for objects. Key order is semantically irrelevant in JSON, so this tool ignores it when comparing objects — reordered keys do not appear as changes. For arrays, order does matter: items are compared positionally, so a reordered array will show differences even if the same elements are present.
How do I find what changed between two API responses in JSON format?
Paste the first response into the left panel and the second into the right. The diff highlights every key that was added (green), removed (red), or changed in value. This is the fastest way to audit what changed between two API versions, config file revisions, or data exports.
Advertisement300 × 250