L LocalUse Source

JSON Diff

Compare two JSON documents and get a list of what actually changed, by path. Because the comparison is structural rather than textual, reordered keys and different indentation do not show up as differences.

Arrays
Id field
Before
After
Output

Output appears here as you type.

Runs entirely in your browser. Nothing you paste here is uploaded or stored.

Questions

Is my JSON uploaded anywhere?

No. Everything runs inside your browser tab as plain JavaScript. There is no request to a server at any point, which is the entire reason this tool can be pointed at production data.

Why not just use a text diff?

Because a text diff on two pretty-printed API responses is mostly noise. Key order is insignificant in JSON but a text diff reports it as a change, and a single added field can reindent an entire block. Comparing parsed values removes both problems.

My arrays reordered and everything shows as changed.

Switch the array strategy to "match by id". Elements are then paired on their id field rather than their position, so a reordered list shows no changes and a genuinely modified element shows exactly which of its fields moved.

More inspect tools