Turn an OpenAPI or Swagger document into readable API documentation. Load it from a link, paste it, or choose a file, in JSON or YAML. Pasted and chosen documents are read in your browser and never uploaded.

How It Works

  1. Load a Document: Enter a link to an openapi.json or openapi.yaml file, paste the document, or choose or drop a file. Try a sample to see how it looks.
  2. Browse the API: Endpoints are grouped by tag. Search by path, method, summary, or tag, and open an endpoint to see its parameters, request body, and responses.
  3. Read the Schemas: Every request and response shows its schema as a tree, with types, required fields, allowed values, and examples. The Schemas list at the end shows every shared schema.
  4. Try a Request: Open Try it on an endpoint, fill in the parameters, and send a real request to the API's server.

Key Features

Frequently Asked Questions

Is my API document uploaded anywhere?

No, not when you paste it or choose a file. It is read and shown by your browser. When you load a link, your browser fetches the document straight from that address, and nothing passes through Ap Tul.

What is the difference between OpenAPI and Swagger?

Swagger was the original name of the specification. Version 2.0 is usually called Swagger, and version 3.0 and later are called OpenAPI. This viewer reads both.

Why won't my document load from a link?

The most common cause is CORS. Your browser fetches the file directly, so the server must allow other sites to read it. If it does not, download the file and choose it, or paste its contents instead.

Why does Try it fail when the documentation loads?

The API itself must allow requests from other sites (CORS). Try it also sends requests without your cookies, since most APIs reject cookies from other sites. Requests to an API on your own computer, such as http://localhost:8080, work when that server allows CORS.

Can I view a YAML file?

Yes. YAML documents are converted to JSON in your browser, including anchors and merge keys.

OpenAPI Viewer

View Swagger and OpenAPI Docs

You can also come chat with us on the Stoic Dreams discord server.

If this tool saved you time today, please consider supporting the project via [GitHub Sponsors](https://github.com/sponsors/StoicDreams). Every contribution helps me build more utilities for the community. About Ap Tul Contact Stoic Dreams Privacy Terms & Conditions