← All tools

Compare structures

JSON Diff & Structural Compare

Compare two JSON documents by path and identify added, removed and changed values.

Ready to inspect
Processed locally
Structural changes
Added, removed and changed paths appear here.

No payload data is uploaded.

Why this tool exists

Work with the structure, not the noise.

Line-by-line text comparison becomes noisy when JSON formatting or key order changes. JSON Anvil parses both documents first and compares their structures. Results are grouped by JSON-style path, which makes API regressions, configuration changes and fixture updates easier to review.

01

Ignore whitespace-only differences

02

Report additions, removals and changed values

03

Compare arrays by position and objects by key

04

Copy a concise machine-readable change list

How to use it

From payload to useful result.

  1. Provide both versions

    Place the earlier payload on the left and the updated payload on the right.

  2. Compare parsed values

    Both inputs must be valid JSON before structural comparison begins.

  3. Follow each path

    Use the reported path and before/after values to review the exact change.

Common questions

Before you use the output.

Does object key order count as a change?

No. JSON objects are compared by key, so formatting and key order do not create false differences.

How are arrays compared?

Arrays are compared by numeric position. Inserting an early item can therefore produce several later changes.

Keep working locally

Explore all JSON Anvil tools