JSON Structural Compare

Compare two JSON values by structure, with paths for additions, removals and changes.

Compare two JSON values by structure, with paths for additions, removals and changes.

Options

Up to 1 MiB UTF-8 per side, 100 nesting levels and 1000 reported differences. Reject duplicate keys and integers outside the JavaScript safe range; quote precision-sensitive values. Object key order is ignored; arrays remain ordered. No schema validation or automatic merge.

How to use

JSON Structural Compare

Compare two JSON values by structure, with paths for additions, removals and changes.

Step by step

  1. Choose a supported input or load the example, then review the original.
  2. Compare two JSON values by structure, with paths for additions, removals and changes. Start with the displayed settings, change only the options needed for your output and compare the result with your source.
  3. Run the task, review the actual result and copy or download a checked copy.

Choosing the settings

OptionWhat changes
OptionsCompare two JSON values by structure, with paths for additions, removals and changes. Start with the displayed settings, change only the options needed for your output and compare the result with your source.
LimitsUp to 1 MiB UTF-8 per side, 100 nesting levels and 1000 reported differences. Reject duplicate keys and integers outside the JavaScript safe range; quote precision-sensitive values. Object key order is ignored; arrays remain ordered. No schema validation or automatic merge.

Example and expected result

{"a":1,"b":2} versus {"b":3,"a":1} reports one changed path, /b, from 2 to 3. Reordered identical object keys report no change.

If it is not working

  • The right input is invalid JSON. Fix the shown line/column before comparing.

Formats and limits

Up to 1 MiB UTF-8 per side, 100 nesting levels and 1000 reported differences. Reject duplicate keys and integers outside the JavaScript safe range; quote precision-sensitive values. Object key order is ignored; arrays remain ordered. No schema validation or automatic merge.

FAQ

What does this tool do?

Compare two JSON values by structure, with paths for additions, removals and changes.

Which setting should I choose?

Compare two JSON values by structure, with paths for additions, removals and changes. Start with the displayed settings, change only the options needed for your output and compare the result with your source.

What are the limits?

Up to 1 MiB UTF-8 per side, 100 nesting levels and 1000 reported differences. Reject duplicate keys and integers outside the JavaScript safe range; quote precision-sensitive values. Object key order is ignored; arrays remain ordered. No schema validation or automatic merge.

Why did processing fail?

The right input is invalid JSON. Fix the shown line/column before comparing.

Is my input uploaded or saved?

No. Processing runs on your device. Inputs and results stay in this page’s memory until you clear it or leave. They are not uploaded, logged or stored by ToolRobin. Copying places the result on your device’s clipboard.