Skip to content
OpenAPI JSON or YAML → Endpoint listDeveloper tools

OpenAPI Viewer

Read an OpenAPI 3 or Swagger 2 file in JSON or YAML as a clear list of endpoints: parameters, request bodies with examples, responses, schemas, curl commands, and spec checks.

About this tool

About OpenAPI Viewer

OpenAPI Viewer turns an API description into a readable list of endpoints, without installing Swagger UI or uploading the spec to a website. Paste an openapi.yaml, openapi.json or swagger.json, or open the file. Both OpenAPI 3.x and Swagger 2.0 are read, in JSON or YAML. The top shows the API title, version, description and servers, with the number of endpoints, tags and schemas. Endpoints are grouped by tag, each with its method in colour, its path and summary, a lock when it needs authorisation, and a crossed-out path when it is deprecated. Open an endpoint to see its description and operationId, a table of its path, query, header and cookie parameters with their types and which are required, the request body with its content type and its schema as a tree, a made-up example body built from the schema (using the examples in the spec where they exist), and every response code with its description and schema. References such as #/components/schemas/Book are followed, so you see the real fields instead of a $ref. Each endpoint also gets a ready curl command for the chosen server, with placeholders for path parameters, required query parameters, headers, a bearer token when the endpoint is secured, and the example body. Search finds endpoints by path, method, summary, tag or operationId. Basic checks run on the whole file: a missing title or version, no paths, a path parameter such as {id} that is not described, an operation without responses, an operationId used twice, and a $ref that points to nothing. Only references inside the same file are followed. The spec is read in your browser and no request is ever sent to the API.

OpenAPI Viewer tool

When an OpenAPI viewer helps

APIs made readable

Using a new API

See every endpoint at once.

ExampleSearch for users.

Quick tests

Copy a curl command.

ExamplePOST with an example body.

Reviewing a spec

Catch broken $refs and duplicates.

ExampleBefore publishing.

Writing docs

Copy parameters and responses.

ExampleOne endpoint at a time.

Partner APIs

Read a spec sent by email.

ExampleNo upload needed.

Learning APIs

See how requests and responses fit.

ExampleBookshop example.

OpenAPI tips

A spec others can use

Give every operation an id

Unique operationIds become function names in generated clients.

Add examples

Examples in schemas make the generated curl bodies realistic.

Describe path parameters

Every {name} in a path needs a parameter with in: path and required: true.

Keep schemas in components

Reuse them with $ref instead of copying fields.

YAML structure

See any YAML as a tree.

Open YAML Viewer

Tidy JSON

Format a JSON spec.

Open JSON Formatter
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed OpenAPI Viewer and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 29 November 2026

Answers and guidanceFrequently Asked Questions
How do I view an OpenAPI or Swagger file?
Paste it or open the file. Endpoints are listed by tag; open one to see parameters, body, responses and a curl command.
Does it support Swagger 2.0 and OpenAPI 3?
Yes, both, in JSON or YAML.
Can it call the API?
No. It only reads the file. Copy the curl command to send a request yourself.
Are $ref references resolved?
Yes, references inside the same file. References to other files or URLs are shown but not followed.
What does the check find?
Missing title or version, missing paths, undescribed path parameters, operations without responses, duplicate operationIds and $refs that point to nothing.
Where does the example body come from?
From the examples in the spec, or made up from the schema types when there are none.
Is my spec uploaded?
No. It is read in your browser.
More tools for your workflowRelated Tools

YAML Viewer

Check YAML and see it as a tree you can open and close. Find keys and values, copy a key’s path, read several documents, and get the same data as JSON. Nothing is uploaded.

JSON Formatter

Format, validate and minify JSON: 2 spaces, 4 spaces or tabs, sort keys, see the exact line and column of errors, fix trailing commas and quotes, copy or download.

JSON to TypeScript Converter

Paste JSON and get TypeScript interfaces or types: nested interfaces, optional keys, unions and quoted keys. Updates as you type.

GraphQL Formatter

Format or minify GraphQL queries, mutations, fragments and schemas. Comments kept, clear indentation, and broken brackets or strings shown with line and column. No upload.

1 / 3
Browse all developer tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.