OpenAPI/Swagger Viewer

View and explore OpenAPI 3.0 and Swagger 2.0 API specifications

OpenAPI Specification

About OpenAPI Viewer

View and explore OpenAPI 3.0 and Swagger 2.0 specifications. Paste your spec, fetch from a URL, or upload a file. Browse endpoints, parameters, request bodies, and schemas in an interactive interface.

Tip: Use the search and tag filters to quickly find specific endpoints.

Features

  • Support for OpenAPI 3.0 and Swagger 2.0
  • Interactive endpoint browser
  • View parameters, request bodies, and responses
  • Filter endpoints by tags
  • Search across all endpoints
  • Schema/model explorer
  • Fetch spec from URL
  • Upload JSON or YAML files
  • Expand/collapse all endpoints
  • Copy endpoint paths

Frequently Asked Questions

What is OpenAPI/Swagger?

OpenAPI (formerly Swagger) is a specification for describing REST APIs. It defines endpoints, parameters, request/response formats, and authentication in a machine-readable format.

What formats are supported?

This viewer supports OpenAPI 3.0.x and Swagger 2.0 specifications in JSON format. Basic YAML support is also available.

Can I test API endpoints?

This is a read-only viewer for exploring API documentation. For testing endpoints, use tools like Postman, Insomnia, or curl.

Why can't I fetch from some URLs?

The URL must support CORS (Cross-Origin Resource Sharing) to be fetched from a browser. Many APIs don't enable CORS for their spec files.

Related Tools

JSON Formatter & Validator

Developer Tools

Format, validate, and minify JSON data
JSON Compare

Developer Tools

Compare two JSON objects and visualize the differences
JWT Decoder

Developer Tools

Decode and inspect JSON Web Tokens