What is JSON Diff Checker?
Compare two or three JSON documents side-by-side and see exactly what changed. Color-coded output highlights additions, deletions, and modifications.
Besides the colour-coded view, the diff is expressed as standard JSON Patch operations, so you can reuse the exact changes in your own code or API calls.
Features
- Side-by-side JSON comparison
- Color-coded additions, deletions, and modifications
- 3-way merge for conflict resolution
- RFC 6902 JSON Patch generation
- JSON5 support
- Copy diff results or export as patch file
How to use JSON Diff Checker
- Paste two JSON documents. Enter the original JSON in the left panel and the modified JSON in the right panel.
- View differences. See highlighted changes showing additions, deletions, and modifications.
- Export or merge. Copy the diff results or generate a JSON Patch file.
Examples
Comparing two versions of a record
The left document is compared with the right one. The tool shows additions, removals and modifications in colour; the equivalent RFC 6902 JSON Patch is shown below.
Input
Left: {"id":1,"name":"Ada","roles":["dev"]}
Right: {"id":1,"name":"Ada Lovelace","roles":["dev","admin"],"active":true}Output
[
{
"op": "add",
"path": "/roles/1",
"value": "admin"
},
{
"op": "replace",
"path": "/name",
"value": "Ada Lovelace"
},
{
"op": "add",
"path": "/active",
"value": true
}
]Frequently asked questions
What is JSON diff?
It compares two JSON documents and identifies differences — what was added, removed, or changed.
What is RFC 6902?
A standard format for describing changes between JSON documents as a series of operations (add, remove, replace, move, copy, test).
