JSON Diff Checker – Compare JSON Online
NEWJSON diff checker that lists added, removed, changed and type-changed paths between two JSON documents, with a highlighted side-by-side view. Free and private.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
| Change | Path | Value |
|---|---|---|
| Changed | $.version | "1.4.0" → "1.5.0" |
| Type | $.port | number 8080 → string "8080" |
| Removed | $.debug | true |
| Added | $.tags[2] | "v1" |
| Changed | $.owners[0].id | 1 → 2 |
| Changed | $.owners[0].name | "Ana" → "Ben" |
| Changed | $.owners[1].id | 2 → 1 |
| Changed | $.owners[1].name | "Ben" → "Ana Lopez" |
| Added | $.timeout | 30 |
Quick Examples
Typical inputs and the results this tool produces.
Overview
A JSON diff checker compares two JSON documents by structure rather than by text. Reformatting, indentation and key order do not create noise: you get a list of paths (like $.owners[1].name) that were added, removed, changed, or switched type — for example a number that became a string.
It is handy for comparing API responses between environments, reviewing config changes, or checking a fixture after a refactor. Arrays are compared by position, or matched by a key field such as "id" when the order of items is not meaningful. A side-by-side pretty-printed view highlights the same changes in context.
Both documents are parsed and compared in your browser; nothing is uploaded. Parse errors point to the line and column.
Why use this tool?
- Ignores formatting and key-order noise
- Catches silent type changes like 8080 → "8080"
- Match array items by id, not position
- Exact line and column for JSON errors
- Runs locally, data stays private
Features
Path list
Every difference is listed with a JSONPath-style location.
Type changes
Reports when a value changes type, e.g. number to string or object to array.
Array match by key
Pair array items by a key field such as id instead of by index.
Key order option
Ignore key order, or report objects whose keys were reordered.
Side-by-side view
Pretty-printed documents with removed and added lines highlighted.
Parse errors
Invalid JSON shows the message with its line and column.
How to Use
Paste two JSON documents
Original JSON on the left, Changed JSON on the right.
Choose options
Keep "Ignore key order" on, or tick "Match array items by key" and set the key field.
Review the changes
Read the change table and the highlighted side-by-side view.
Copy the list
Click "Copy change list" to paste the differences into a ticket or review.