JSON Diff

Compare JSON structures and locate added, removed or changed values.

Data & Formats
Preparing your workspace…
Input
Output
Your result will appear here.

How to use

  1. Paste your data or open a UTF-8 text file; try the sample to see the expected input.
  2. Compare
  3. Review the result, then copy the selection, copy everything or download a file.

JSON Diff

Compare JSON structures and locate added, removed or changed values.

Comparison, parsing and formatting run in your browser. Your input is not sent to DevToolsy.

How it works

Object keys are compared by name, while arrays are compared by index. Formatting and key order do not count as changes. Numeric values are compared exactly, including large IDs and equivalent forms such as 1 and 1.0.

Before and after
Original
{"enabled":false}
Modified
{"enabled":true}

Compare JSON structures and locate added, removed or changed values.

Options and data fidelity

Strings are case-sensitive. Duplicate object keys are rejected to avoid an ambiguous comparison. Select a changed JSON Pointer path to locate its value in the editors.

Working with the result

Files are read as UTF-8 text. The editors provide search, selection copying and keyboard shortcuts. Results can be copied or downloaded; changing the input invalidates the previous result.

Processing limits

UTF-8 input up to 1 MiB per document; output up to 8 MiB. Tasks run in a local worker with a 30-second time limit.

?

Frequently asked questions

What counts as a JSON difference?

Object keys are compared by name, while arrays are compared by index. Formatting and key order do not count as changes. Numeric values are compared exactly, including large IDs and equivalent forms such as 1 and 1.0.

Can I compare ambiguous or duplicate keys?

Strings are case-sensitive. Duplicate object keys are rejected to avoid an ambiguous comparison. Select a changed JSON Pointer path to locate its value in the editors.

Is my input uploaded?

No. Comparison, parsing and formatting run in your browser. Your input is not sent to DevToolsy.

Can I open a local file?

Yes. Open a UTF-8 text file of up to 1 MiB. Each comparison input has its own file picker.

Can I copy only part of the result?

Yes. Select text in an editor and use Copy selection, or use the standard keyboard shortcut.

Find your next tool

Language

Switch language? Your current work will be cleared. Copy or download it first.