ProductCompareToolsPricingBlog
Sign inCreate an account

Free tool

OpenAPI to Postman

Paste an OpenAPI spec. You get a Postman v2.1 collection with one request per operation. Copy the JSON or download it as a file. It runs in your browser.

OpenAPI / Swagger spec · 3 requests generated
{
  "info": {
    "name": "Pet Store",
    "description": "",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_postman_id": "c8d2a055-871a-4066-a649-2311ee7ea757"
  },
  "item": [
    {
      "name": "List pets",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "https://api.example.com/v1/pets",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "com"
          ],
          "path": [
            "v1",
            "pets"
          ],
          "variable": []
        },
        "description": "List pets"
      }
    },
    {
      "name": "Create a pet",
      "request": {
        "method": "POST",
        "header": [],
        "url": {
          "raw": "https://api.example.com/v1/pets",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "com"
          ],
          "path": [
            "v1",
            "pets"
          ],
          "variable": []
        },
        "description": "Create a pet",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "Get a pet",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "https://api.example.com/v1/pets/{id}",
          "protocol": "https",
          "host": [
            "api",
            "example",
            "com"
          ],
          "path": [
            "v1",
            "pets",
            ":id"
          ],
          "variable": [
            {
              "key": "id",
              "value": ""
            }
          ]
        },
        "description": "Get a pet"
      }
    }
  ]
}

What goes into the collection

One request per operation
Named after the operation's summary, or method and path when there is none.
Base URL
The first entry in servers. If there is none, https://api.example.com.
Path parameters
{id} becomes Postman's :id, listed as a path variable with an empty value.
Query parameters
Added to the URL as name={{name}}.
Header parameters
Added as headers with the value {{name}}.
JSON bodies
Operations that take application/json get a raw body of {} for you to fill in.

After you import it

  1. 1

    Import

    In Postman, File, then Import, and pick the downloaded .json.
  2. 2

    Make an environment

    Give a value to every {{variable}} the collection uses.
  3. 3

    Set up auth

    Security schemes from the spec are not converted. Add auth on the collection or per request.

A collection for your team. Docs for your users.

Specway hosts reference docs from the same spec. Readers can send requests from the page, or open any endpoint in Postman. Free for one API: create an account.

Playground
Fill in the parameters and send a real request from the docs page.
Code samples
cURL, Node, Python, Ruby and PHP for every endpoint, with a copy button and Open in Postman.
A page per endpoint
Parameters, request body and responses read from the spec, grouped by tag in the sidebar.

Questions

How do I convert OpenAPI to a Postman collection?+

Paste the spec above. The tool writes a Postman v2.1 collection with one request per operation, including the URL, path, query and header parameters, and a JSON body placeholder. Download it and import it in Postman.

How is this different from Postman's own importer?+

Postman's importer does more: auth schemes, examples, resolved references. This tool gives you the JSON directly, which is handy when you want to read it or commit it to a repo. For a complete import, use Postman's.

Are environment variables created?+

The collection uses {{name}} for query and header parameters, but it does not include an environment. Create one in Postman with a value for each variable.

Does it convert auth schemes?+

No. Set up auth in Postman after import, or use Postman's importer or the openapi-to-postmanv2 package if you need it converted.

Will the request bodies be pre-populated?+

No. JSON bodies start as {}. The tool does not build example bodies from schemas. Fill them in Postman.

Can I use this for Bruno / Insomnia / Hoppscotch?+

Insomnia, Bruno and Hoppscotch can all import Postman v2.1 collections, so the same file works there.

Related tools

  • cURL to CodeOne request as JS, Python or Go.
  • OpenAPI ValidatorCheck the spec before exporting.
  • OpenAPI ViewerList the endpoints in a spec.
  • OpenAPI to TypeScriptTypes from the same spec.

See your docs in a minute

Paste the link to your OpenAPI file. Free for one API, no card needed.

Get startedSee pricing

API reference docs from your OpenAPI file.

Product

  • How it works
  • Endpoint pages
  • Code samples
  • Spec sync
  • Spec changes
  • API versions
  • Changelog
  • Recipes
  • Docs assistant
  • Your domain and look
  • Insights
  • Private docs
  • Team SSO
  • Pricing

Compare

  • vs ReadMe
  • vs Mintlify
  • vs Redocly
  • vs Scalar
  • vs Swagger UI
  • vs Postman
  • All comparisons

Tools

  • OpenAPI validator
  • OpenAPI diff
  • Swagger 2 to OpenAPI 3
  • cURL to code
  • JWT decoder
  • YAML and JSON
  • All tools

Resources

  • Guides
  • OpenAPI errors
  • Glossary
  • Public API specs
  • Blog
  • Help

Company

  • About
  • Contact
  • Privacy
  • Terms

© 2026 Specway. Made in Utah by Modlific LLC.

GitHubXLinkedIn