Swagger / OpenAPI Просмотр

Spec Input
API Preview

Start by adding your API spec

Paste your OpenAPI JSON / YAML, load from a URL, or try a live example.

What is the Swagger / OpenAPI Viewer?

The Swagger / OpenAPI Viewer lets you paste or load any OpenAPI 3.x or Swagger 2.0 specification (JSON or YAML) and instantly see a clean, interactive visual representation of every endpoint, parameter, request body, and response schema. It works entirely in your browser — nothing is sent to a server — making it safe for reviewing internal or draft specs.

How to use

1. Paste your OpenAPI/Swagger JSON or YAML into the editor, or switch to the URL tab to load a hosted spec directly. 2. The tool validates and parses the spec automatically. 3. Browse endpoints grouped by tag: click any endpoint to expand parameters, request body, and responses. 4. Use the search bar and method filter chips to find the endpoint you need quickly. 5. Copy ready-to-use cURL, Fetch, or Axios code snippets from each expanded endpoint. 6. Collapse the editor and scroll to the raw spec viewer to copy or download the original file.

Supported formats

  • OpenAPI 3.0.x and 3.1.x (JSON & YAML)
  • Swagger 2.0 (JSON & YAML)
  • $ref resolution — inline and component references are dereferenced automatically
  • allOf merging for combined schemas
  • oneOf / anyOf variant display

Features

  • 100% client-side — your spec never leaves the browser
  • Visual endpoint explorer grouped by tag with expand/collapse
  • Parameter table with type, required badge, and example values
  • Recursive schema tree with collapsible properties
  • Request body and response viewers with content-type tabs
  • One-click code snippets: cURL, JavaScript Fetch, and Axios
  • Full-text search and HTTP method filter (GET, POST, PUT, DELETE, PATCH)
  • Raw spec viewer with Monaco editor highlighting

Privacy & security

All parsing and rendering happens in your browser using JavaScript. No spec content, URL, or any other data is transmitted to any server. URL fetching is done directly from your browser; CORS restrictions imposed by the host server may prevent loading some remote specs. In that case, download the file and paste it directly.