JSON Diff
Free online JSON diff tool, no installation required. Compare two JSON objects with highlighted differences
About JSON Diff
Compare two JSON documents side by side and get a flat, path-addressed list of every difference. The diff runs live as you type via a memoized deep comparison and reports additions, removals, and value changes using JSON Pointer-style paths.
How to Use
1. Paste the first document into the JSON A textarea. 2. Paste the second document into the JSON B textarea. 3. Read the Result card: it shows "no differences" when the two are equal, otherwise a monospace list of every change plus a diff count.
Difference Notation
Each difference is one line with a path and a description. Value changes use the form .path.to.key: <old> → <new> (or $ for the root when the whole value differs). Added keys are shown as .key: (added) <value>; removed keys as .key: (removed) <value>. Array differences are addressed by index with [n]: (added) / (removed) / value-change markers, scanning the longer of the two arrays. A trailing line reports the total number of differences.
▶What path format does the diff use?
▶How are arrays of different lengths compared?
▶Does it report type changes?
▶What happens when either input is invalid JSON?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee