BOXUNBAOTools
Simplify everyday tasks.Back to website
ToolboxJSON Diff

JSON Diff

Runs locally

Compare JSON side by side to see every addition, removal, and edit.

Quick compare ⌘ / Ctrl↵
Original JSONBEFORE
0 characters
New JSONAFTER
0 characters
Ready to compareObject key order is ignored · Array order is preserved

Comparison result

0 differences
Added 0Removed 0Changed 0
0 / 0
Paste two JSON documents and select Compare.
Processing happens in this browser. Your data stays on your device.Open JSON Formatter

How to use

Steps

  1. Paste the old version under Original JSON and the new version under New JSON. Use Format both if you want to make them easier to read.
  2. Select Compare to see counts for additions, removals, and edits. Use Previous difference, Next difference, or select a change directly to jump to it.
  3. To reverse the comparison, select Swap and compare again. Results use JSON Pointer paths. For example, /items/0/id points to the first array element's id.

Example

On the left, enter {"items":[{"id":1}]}. On the right, enter {"items":[{"id":2}]}. The result shows a change at /items/0/id .

Tips

  • Object key order is ignored, while array order matters. Numeric 1 and 1.0 are treated as equal, while the string "1" is marked as different.
  • A change to the entire document appears at Root. Duplicate keys raise an error. When array insertions or removals shift positions, inspect the paths on both sides. Each input supports up to one million characters.