JSON Diff Checker

Compare two JSON documents by structure and path in your browser.

Paste two JSON documents to compare their structure. The checker validates both inputs and reports differences by path without uploading your data.



How it works

The checker validates both inputs before comparing them. Invalid JSON stops the comparison and shows a syntax error so you can fix the source document first.

Objects are compared by member name, so object member order does not affect equality. Arrays are compared by index because array order is meaningful JSON data.

The output starts at $, uses dot or bracket notation for object members, and uses zero-based brackets for array items. Each line is labeled as added, removed, changed, or optionally unchanged.

This is a browser-local structural comparison, not a formatting diff, JSON Patch generator, or semantic schema validator. Input stays on your device, but avoid pasting secrets into any web tool unless you trust the device and page context.


References