Convert Postman Collection v2.1 JSON to OpenAPI 3.0.0 specification.
Free online Postman to OpenAPI converter for software developers, API architects, and technical writers. Paste your Postman Collection v2.1 JSON and instantly generate a standardized OpenAPI 3.0.0 (Swagger) specification in JSON format. Automatically translates Postman folder hierarchies into organized OpenAPI tags, maps collection or request-level authentication schemes (Bearer JWT, Basic auth, API keys), converts URL path and query parameters, and synthesizes request and response body schemas. Download the resulting OpenAPI specification to render interactive API documentation with Swagger UI or Redoc.
Keywords: postman to openapi, postman to swagger, postman collection to openapi, postman collection to swagger, convert postman to openapi, openapi generator from postman, postman openapi converter online, postman swagger export, api spec generator, postman to openapi 3, postman collection to openapi 3, openapi from postman collection
Tags: postman, openapi, swagger, api, collection, converter
Paste your Postman Collection v2.1 JSON into the input panel, or load an example to see the expected format.
Optionally set an API Title and Version to override the values extracted from the collection name.
Enable "Folder Tags" to use Postman folder names as OpenAPI tags for organised endpoint grouping.
Toggle "Auth" to include detected security schemes (Bearer, Basic, API Key) in the OpenAPI spec.
Toggle "Examples" to embed saved Postman response examples in the generated OpenAPI responses.
Click "Convert" to generate the OpenAPI 3.0.0 JSON specification.
Download the .openapi.json file or copy the output to use with Swagger UI, Redoc, or any OpenAPI-compatible tool.
Converts Postman Collection v2.1 JSON to OpenAPI 3.0.0 specification format
Recursively traverses nested Postman folders, preserving folder names as OpenAPI tags
Handles both string URL and structured PostmanUrl object formats for accurate path extraction
Converts Postman path variables (:param) and template variables ({{var}}) to OpenAPI {param} syntax
Extracts query parameters, header parameters, and path parameters from each request
Maps Postman request bodies to OpenAPI requestBody: raw JSON, form-data, urlencoded, and GraphQL
Detects Bearer, Basic Auth, API Key, and OAuth2 auth at collection level and request level
Merges multiple HTTP methods on the same path into a single OpenAPI path object
Embeds saved Postman response examples as OpenAPI response schemas with status codes
Auto-detects the server base URL from the first request or accepts a manual override
Generates downloadable OpenAPI JSON ready for import into Swagger UI, Redoc, or Stoplight
No file upload required — paste JSON directly and convert instantly in the browser
Transform OpenAPI (Swagger) specifications into executable Postman Collections (v2.1). Automate contract testing, generate mock servers, and streamline API integration.
Generate end-to-end type safety from OpenAPI and Swagger specs. Learn how to convert OAS 3.0/3.1 JSON/YAML schemas into typed fetch clients, Zod validators, and path types.
Chain Postman to OpenAPI Converter with other utilities in a multi-step visual workflow.
Decode a Base64 string and pretty-print the JSON inside it.
Convert CSV data to JSON, then to YAML format.
Format JSON and generate TypeScript/Zod schema from it.