Small Tools
API: Compare & migrate utility

OpenAPI Diff

Compare endpoint and operation changes between two OpenAPI documents.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.

Browse OpenAPI & API tools →

Output
Your result will appear here…

How to use OpenAPI Diff

  1. Paste the complete base specification, then === TARGET === on its own line, then the proposed specification. YAML and JSON are accepted.
  2. Select Compare to list operation additions, removals, and edits.
  3. Use Breaking Change Checker for selected compatibility warnings, Schema Diff for named component changes, and Migration Report for a broader release summary.

Example

Input / settings:

openapi: 3.0.3
info: {title: Orders API, version: "1"}
paths:
  /orders:
    get:
      parameters:
        - {name: limit, in: query, schema: {type: integer}}
      responses:
        "200": {description: OK}
=== TARGET ===
openapi: 3.0.3
info: {title: Orders API, version: "2"}
paths:
  /orders:
    get:
      parameters:
        - {name: limit, in: query, required: true, schema: {type: integer}}
      responses:
        "200": {description: OK}

Output:

Changed: GET /orders

Paste this entire example into the tool. The query parameter becomes required in the target. Diff identifies the edited operation; Breaking Change Checker reports the selected compatibility risk.

When to use

Overview

OpenAPI Diff compares inline HTTP operations in two API specifications. It identifies added, removed, and edited operations so you can choose what to inspect in a pull request; a Changed line does not decide whether clients remain compatible.

Supported input

Two YAML or JSON objects: source first, then a line containing === TARGET ===, then target.

Output details

Added, removed, and changed inline path operations, identified by method and path.

Limitations

Common mistakes

Practical tips

Privacy and security

This tool runs entirely in your browser. Your input is never uploaded to our servers. Comparison parses the pasted specifications locally. It does not contact API servers or fetch reference URLs; redact credentials before sharing a report.

References

Frequently asked questions

How is OpenAPI Diff different from Breaking Change Checker?

Diff lists added, removed, and serialized changes to inline operations. Breaking Change Checker evaluates selected removals and newly required inputs, but neither proves complete backward compatibility.

Why can a reordered operation appear as Changed?

Operations are compared using JSON serialization. Object-key order can change the serialized text even when the API meaning is unchanged.

Which tool should I use for component-only changes?

Use OpenAPI Schema Diff to identify changed names under components.schemas. Use Migration Report for a combined operation, component, declared version, and server summary. Neither resolves references or establishes runtime compatibility.

Learn more

Related tools