OpenAPI Diff — Compare API Specs
Diff two OpenAPI or Swagger specs online — see added and removed endpoints, new required parameters and breaking changes, highlighted per operation. Free, runs in your browser.
About OpenAPI Diff — Compare API Specs
Paste the old and the new version of an OpenAPI 3.x or Swagger 2.0 document and get an operation-level diff: added and removed endpoints, parameter changes, required flags and response-code changes.
Changes are labeled by impact — a change is BREAKING when a client written against the old spec can fail against the new one: removed operations, removed parameters, or inputs that became required. Everything else is a change or an addition.
Useful before merging a spec change, reviewing a partner API's new version, or writing a migration note. Parsing happens locally — the specs never leave your browser.
How to use OpenAPI Diff — Compare API Specs
- Paste or upload the OLD spec on the left and the NEW spec on the right (JSON or YAML).
- Read the grouped diff — red entries are breaking changes, amber are non-breaking changes, green are additions.
- Use Swap to flip old/new when you need the reverse direction.
Frequently asked questions
What counts as a breaking change?
A removed operation, a removed parameter, a parameter or request body that became required, or a new REQUIRED parameter — anything that makes a request that used to succeed start failing.
Does it compare response schemas?
It tracks which response codes exist per operation (added/removed) but doesn't deep-compare the schema bodies — a field-level schema diff would flag most specs as changed on every release.
Are Swagger 2.0 specs supported?
Yes — swagger 2.0 body/formData parameters map onto the request-body check, and you can diff a 2.0 spec against a 3.x one.
Is the spec uploaded?
No — both documents are parsed and compared in your browser. Private API specs stay private.