Compare JSON Schemas

Compare JSON Schema versions and review structural changes before publishing an API contract.

Schema path difference report

JSON Schema structure diff

Paste two JSON Schema or OpenAPI component drafts

Compare two JSON Schema or OpenAPI component drafts. The result reports structural paths, required-list changes, and type or constraint changes.

Schema A
Schema B
Files never leave your device. Privacy & limits

Frequently Asked Questions About Online Calculators

Does this validate a schema?

No. It compares two JSON documents. Use a schema validator separately when you need to check whether either draft is valid.

Does key order affect the result?

No when the default option is enabled; object keys are normalized before paths are compared.

Will my original file be changed?

The result is downloaded as a separate file. Keep your original until you have checked the JSON Schema structure diff.

What should I check before using the result?

Open the JSON Schema structure diff in the application that consumes it and spot-check the parts that matter to you; the original file stays untouched if you need to re-run with different options.

Review the contract, not only the example

A changed type or required list can break a client without changing the sample response. Read the path-level result before approving a schema update.

Before downloading the result

Compare the JSON Schema structure diff with the original while both are fresh; destinations differ, and a quick check here saves a re-upload later.