OpenAPI to Postman Converter
Convert OpenAPI 3.x and Swagger 2.0 JSON specs into Postman Collection v2.1 JSON. Resolve $ref refs, generate example bodies, and group requests by tag. 100% client-side, import-ready.
Loading tool...
What is OpenAPI to Postman Converter?
The OpenAPI to Postman Converter turns OpenAPI 3.x and Swagger 2.0 JSON specifications into Postman Collection v2.1 JSON that you can import straight into Postman. It resolves $ref references, generates example request bodies, populates path/query/header parameters, and groups operations into folders by tag.
Key Benefits
- Import-ready Postman Collection v2.1 output with unique IDs
- Automatic $ref resolution and allOf merging for accurate examples
- Groups requests by tag and adds a baseUrl collection variable
- Supports both OpenAPI 3.x servers and Swagger 2.0 host/basePath/schemes
- 100% client-side - no API key, no upload, no sign-up
Common Use Cases
- β’Bootstrap a Postman test collection from a published API spec
- β’Generate example requests for QA and exploratory testing
- β’Onboard new engineers with ready-to-run requests for every endpoint
- β’Audit an OpenAPI document by inspecting the generated collection
How to Use the OpenAPI to Postman Converter
- Paste your spec: Paste an OpenAPI 3.x or Swagger 2.0 JSON document into the input box, or click Load sample to try one.
- Convert: Click Convert. The tool resolves $ref references, generates example request bodies, and groups requests by tag.
- Review the output: The Postman Collection v2.1 JSON appears with a summary showing the number of folders and requests.
- Import into Postman: Copy or download the JSON, then open Postman and choose Import to load the collection directly.
Key Features
- Full OpenAPI 3.x and Swagger 2.0 JSON support
- Output matches the official Postman Collection v2.1 schema with unique IDs
- Automatic $ref resolution and allOf merging for request body examples
- Path, query, and header parameters populated with example values
- Operations grouped into folders by tag, plus a baseUrl collection variable
- 100% client-side - no API key, no upload, no sign-up