OpenAPI to Postman Collection
Convert an OpenAPI spec to a Postman Collection v2.1 online — operations become requests grouped by tag, with path/query parameters and JSON body examples. Free, runs in your browser.
About OpenAPI to Postman Collection
Paste an OpenAPI 3.x or Swagger 2.0 document and get a Postman Collection v2.1 JSON you can import straight into Postman — every operation becomes a named request, grouped into folders by its first tag.
Path parameters become :params with a {{baseUrl}} variable host, query parameters carry their example values, and request bodies are pre-filled from the spec's example when present.
Postman already imports OpenAPI natively — use this when you need the collection as a file (to commit, transform or share) rather than an import. Everything runs locally.
How to use OpenAPI to Postman Collection
- Paste your OpenAPI document (JSON or YAML).
- Copy or download collection.postman.json.
- In Postman: Import → file, then set the baseUrl collection variable to your server.
Frequently asked questions
Why generate a collection file instead of importing the spec?
Postman can import OpenAPI directly — but a generated JSON file is commitable, diffable and editable before import, and works with tools that speak the collection format without an OpenAPI importer.
How are requests organized?
By the operation's first tag — untagged operations land in a 'default' folder. Request names come from summary, or 'METHOD /path' when there's no summary.
What about the server URL?
Requests use a {{baseUrl}} collection variable — set it once in the collection's Variables tab and every request targets your server.
Is the spec uploaded?
No — conversion happens entirely in your browser.