JSON

JSON Structural Diff

Compare JSON values by path, ignoring object key order.

Local processingJSON Pointer pathsCopy report
Structural comparison

Compare documents

Compare JSON values by path. Object key order is ignored; array items are compared by position. Inputs are processed locally in this tab and are not uploaded.

Up to 250,000 characters per input. Numbers use JavaScript precision; long integers and high precision decimals may be rounded. Duplicate object keys use their last value. The report is a comparison, not an executable patch.

JSON Structural Diff – Free Online Tool

Compare JSON values by path and find added, removed and changed fields locally.

Compare JSON by structure

Whitespace and object key order do not affect this comparison. Added, removed, and changed values are identified by JSON Pointer paths. Array elements are compared by index, so an insertion can change subsequent positions.

Read a comparison report

For each difference, kind describes the change and path identifies its location. A path of an empty string refers to the entire document. Within a path, ~0 represents a tilde and ~1 represents a slash in a property name. This report is not JSON Patch and cannot be applied as a patch.

Know the parser limits

Inputs are limited to 250,000 characters, 50,000 values, and 100 nesting levels each, with up to 2,000 reported differences. Numbers use JavaScript precision and duplicate object keys retain their last value. Avoid this comparison for exact large-integer or high-precision decimal auditing.

Keep JSON on your device

Parsing, comparison, and copying run in this browser tab. Optional consent-aware analytics records only the tool identifier and completion or copy action, without JSON keys, values, or report content.

Frequently Asked Questions

Everything you need to know about the JSON Structural Diff.

Q:Does object key order matter?

A:No. Object keys are compared by name. Array elements are compared by index.

Q:Is my JSON uploaded?

A:No. Comparison and report copying happen locally in your browser.