OpenAPIPostman Converter

Paste an OpenAPI 3 spec — JSON or YAML — and get an importable Postman v2.1 collection, with a folder per tag and example bodies.

In-browser & private
Advertisement

Imported as the {{baseUrl}} collection variable, so you can point the whole collection at another environment from one field.

OpenAPI spec (JSON or YAML) Ctrl + Enter to convert
Postman collection v2.1
Paste a spec on the left, or press Sample.
Folders Requests Size 0 B

What you get in Postman

  • A {{baseUrl}} variable, not a hard-coded host. That is the difference between a collection you can point at staging and one you have to edit forty times. If the spec's server is a bare path — and many are, the Swagger Petstore's is /api/v3 — it is joined onto a placeholder host you can replace in one place.
  • A folder per tag, matching how the API is documented.
  • Path parameters become Postman variables. /pet/{petId} is imported as /pet/:petId, so Postman shows it as an editable field rather than literal text.
  • Example request bodies. Built from the request schema, using the spec's own example or default where it gives one, so a request is runnable rather than an empty shell.
  • Optional query parameters are added but disabled — visible in the UI as unticked, so you can see what is available without sending empty values.

More free tools