When debugging API responses, comparing configuration files, or reviewing data changes, seeing the exact differences between two JSON objects is invaluable. This diff tool compares two JSON inputs and lists every addition, removal, and modification with the full path to each changed value.

The comparison is deep and recursive, handling nested objects and arrays. Everything runs in your browser with no data sent to any server.

Diff Viewer

Results

How to Use

  1. Paste the original JSON into the left field
  2. Paste the modified JSON into the right field
  3. Click Calculate to compare
  4. Review the list of differences

FAQ

Does it compare arrays?

Yes. Arrays are compared by index. If Array B has more or fewer items than Array A, the extra or missing items are listed.

Does it ignore formatting?

Yes. The tool parses both inputs as JSON objects, so differences in whitespace, indentation, and key ordering are ignored.

Is my data sent to a server?

No. All comparison runs in your browser.

Commonly Used With

Pair this tool with others in Developer

Part of These Collections

Curated tool sets for specific workflows