Convert Postman Collection v2.1 JSON to OpenAPI 3.0.0 specification.
Free online Postman to OpenAPI converter. Paste your Postman Collection v2.1 JSON and instantly generate an OpenAPI 3.0.0 specification with paths, operations, parameters, request bodies, and security schemes. Organizes endpoints by folder tags, auto-detects Bearer, Basic, and API Key auth, converts query/path parameters, and includes saved response examples. Download the OpenAPI JSON and use it with Swagger UI, Redoc, or any API documentation tool.
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