OpenAPI/Swagger → Postman Collection
Paste your OpenAPI 3.0/3.1 spec (YAML or JSON) → get perfect Postman Collection instantly!
OpenAPI Spec (YAML/JSON)
Postman Collection v2.1 (Ready to Import)
About the OpenAPI to Postman converter
Paste an OpenAPI or Swagger document in YAML or JSON and this tool builds a Postman Collection v2.1. Each GET, POST, PUT, PATCH and DELETE operation becomes a request. Requests are grouped into folders by their first tag. Query parameters and path variables are copied in, and the first server URL is saved as a baseUrl collection variable.
Example
Input: /users with a get operation, summary "List users", and a limit query parameter.
Output (excerpt):
{ "name": "List users",
"request": { "method": "GET",
"url": { "raw": "/users", "path": ["users"],
"query": [{ "key": "limit", "value": "" }] } } }
Limits
- Request URLs are relative paths and do not use
baseUrl. After importing into Postman, addin front of the paths (Postman can do this in bulk) or set the host by hand. - Request bodies, headers, auth and examples are not converted.
$refparameters are not resolved. - Very large specs work, but the conversion is basic. For full fidelity, Postman's own importer is more complete.
Privacy
All conversion happens in JavaScript inside your browser. The tool code on this page makes no network request with what you type, so your input is not uploaded or stored by PyInns. (The page itself still loads ads and shared libraries from third-party CDNs.)