OpenAPI Documentation Viewer

Open an OpenAPI 3.0 or 3.1 file in YAML or JSON. Search API endpoints and schemas, then inspect parameters, request bodies, and responses in your browser.

OpenAPI document

Paste OpenAPI 3.0 or 3.1 YAML or JSON.

Browse OpenAPI documentation from a local file

Open your OpenAPI YAML or JSON file, or paste its contents and choose View documentation. The viewer turns OpenAPI 3.0 and 3.1 documents into a searchable reference. Use it to check an API contract during development, review a spec someone sent you, or find the fields an endpoint accepts. The document stays in your browser.

Check what an endpoint accepts and returns

Choose Use sample, then select GET /books/{id}. The Parameters section shows that id is required in the path. Under Responses, expand the 200 response and choose Book to inspect the reusable schema. For a write operation, select POST /books and look under Request body for the content type, schema, and any example included in the spec.

Open a spec split across files

The viewer follows references inside the document, such as #/components/schemas/Book. If a reference points to another file or URL, bundle those files into one OpenAPI document and open that copy. You can still browse the parts of the spec that are already available.