$["status"]"pending"
"shipped"
Paste or drop two versions. Every added, removed and changed value is listed with a path you can follow, and the list updates as you type.
Paste an RFC 6902 patch (add, remove, replace, move, copy, test). It is applied to a copy of A and the result goes into B, so the report below shows what the patch changed. If any operation fails, nothing is changed.
Matched 1 array by "id"; item order inside them is ignored.
$["status"]"pending"
"shipped"
$["updatedAt"]"2026-10-18T09:12:00Z"
"2026-10-19T14:30:00Z"
$["customer"]["tier"]"standard"
"member"
$["items"][?@["id"]==11]["qty"]2
3
$["items"][?@["id"]==12]{
"id": 12,
"sku": "TEE-M",
"qty": 1,
"price": 24
}(absent)
$["tags"][0]"gift"
"priority"
$["tags"][1]"priority"
"gift"
$["total"]Type changed: number → string
67
"55.50"
$["discount"]null
(absent)
$["tracking"](absent)
"1Z999AA10123456784"
Comparison complete. Nothing was uploaded.
Every change points to a field such as $["settings"]["theme"]. Bracket notation keeps keys with dots or spaces unambiguous. JSON Patch uses the matching pointer, /settings/theme.
1 and "1" are different, and a missing key is different from null. A type change is labelled, for example number → string.
By position (default), as an unordered collection, or by an id property so a deleted item in the middle does not make every later item look changed.
Invalid JSON is reported with its line and column and a plain reason: trailing comma, comment, single quotes. Go to error puts the cursor there.
.json file on each editor. Invalid JSON is marked with its line and column.updatedAt or one exact path to skip..diff file or a plain-text summary.Compare a saved response with today’s, ignore request ids and timestamps, and match records by id so a deleted item does not shift the rest.
Check what a deploy changes in a settings file. Turn the difference into a JSON Patch for an API or migration.
See which field broke a snapshot test. Paths such as $["items"][2]["price"] point straight at it.
Tags and permission lists often come back reordered. Compare JSON ignoring array order without hiding moves that matter.
Open a file, drop it on an editor or paste JSON into each side. The list of added, removed and changed values updates as you type, each with its exact path. Large documents are compared when you select Compare.
No. JSON object properties are matched by name, and formatting is ignored. Array positions are compared by default.
Enter the identifying property, such as id, in Match array items by. Items with the same id are compared with each other wherever they sit in the array. If any item lacks the property or an id repeats, that array is compared by position instead.
It compares the contents of an array without considering position. If the contents differ, the whole array appears as one change so the report does not pretend to know which item moved.
Yes. List property names such as updatedAt, requestId in Ignore keys. They are skipped at every depth.
Yes. Ignore keys skips a name at every depth. Ignore paths skips one location, written as a JSON Pointer such as /items/0/updatedAt. Select Ignore on a change to add its path. When array items are matched by id, the index in the path is the item’s position in A.
Yes. Numbers are compared by their exact decimal value, so 12345678901234567890 and 12345678901234567891 are different even though JavaScript rounds both to one number. 1.10 and 1.1 have the same value, so they are not listed as a change; the report says how many numbers differ only in how they are written. See how numbers are compared.
An RFC 6902 list of add, remove and replace operations that turns the original document into the updated one. It is available when arrays are compared by position or as whole arrays. Ignored keys are left out of the patch. See the JSON Patch generator notes for a worked example.
Yes. Paste the saved response as A and the new response as B, list volatile fields such as updatedAt or requestId in Ignore keys, and match lists of records by their id. Download the report to attach it to a bug or a pull request.
Yes. Select Line by line to see both documents formatted with sorted keys and compared line by line, with line numbers. Download .diff saves the same comparison as a unified diff that git apply, patch and code review tools read. Ignore keys and Ignore paths apply there too; array matching applies only to the list by path.
Yes. Open Apply a JSON Patch to A, paste an RFC 6902 patch and select Apply. The patch is applied to a copy of A, the result goes into B, and the report shows what it changed. All six operations are supported, including test. If any operation fails, nothing is changed and the failing operation is named.
No. Your text and files are read and compared in this browser tab. Only your comparison options are remembered in this browser; your JSON is not saved.
Worked examples
Follow a worked JSON diff, download both sample files, and see how array order and id matching change a report. Then read how to generate and apply a JSON Patch or compare JSON ignoring array order. Choosing a tool? We ran five free JSON diff checkers on the same file. Working in code instead: JSON diff in Python with DeepDiff, jsondiff and jsonpatch, or compare JSON in VS Code, jq and git diff. Comparing YAML files? Run each through the YAML to JSON converter first; to go the other way, use JSON to YAML. The guides also cover YAML comments, multiline strings, anchors and the values that change type between YAML 1.1 and 1.2.