OpenAPI Diff

Compare two OpenAPI 3 specifications in YAML or JSON. Find added, removed, and modified endpoints, webhooks, and schemas, with before and after values in your browser.

Paste OpenAPI YAML or JSON, or open a local file.

Paste OpenAPI YAML or JSON, or open a local file.

Compare two OpenAPI specifications

Paste or open the earlier version in Baseline specification and the later version in New specification, then choose Compare specifications. You can mix OpenAPI YAML and JSON. Use Swap versions if the order is reversed. Both documents are processed in your browser.

Review a change in context

Choose Use sample pair and compare. The sample adds POST /books and changes the reusable Book schema. Filter by Added, Removed, or Modified, or search for an endpoint or component name. Open a result to compare the values side by side.

Read structural differences

The comparison ignores whitespace and the order of mapping keys. List order is kept, and changes to descriptions or examples appear alongside contract changes. A change to a shared schema is listed under Components. Review the operations that use it to assess the impact on API clients.