JSONConvert

JSON Diff & Compare

Compare two JSON objects and see exactly what changed. Shows added, removed, and modified fields with their paths.

Original JSON
Modified JSON

Frequently Asked Questions

What does the JSON diff tool do?

The JSON diff tool compares two JSON objects and shows exactly what changed between them. It identifies added keys, removed keys, and modified values, displaying each difference with its full JSON path.

How does it handle nested objects?

The tool recursively compares nested objects and tracks the full path using dot notation (e.g., address.city). This means you can see precisely where deep changes occurred, not just that a parent object changed.

How are arrays compared?

Arrays are compared by index. The tool checks each position in both arrays and reports additions (new indices), removals (missing indices), and changes (different values at the same index).

What do the colors mean in the diff output?

Green indicates added fields (present in the modified JSON but not the original), red indicates removed fields (present in the original but not the modified), and orange indicates changed fields (present in both but with different values).

Is there a size limit for the JSON inputs?

Since all comparison happens in your browser, the limit depends on your device. The tool handles typical JSON payloads of several megabytes without issues.

Is my data sent to any server?

No. All processing happens entirely in your browser using JavaScript. Your JSON data never leaves your device, making it safe to use with sensitive or proprietary data.

Related Tools