Convert Postman Collection to OpenAPI
Convert a Postman collection (v2.0 / v2.1) to an OpenAPI 3.0 YAML spec with paths, parameters, bodies and examples
Drop a file or click to browse
Accepted: .json
Free and unlimited for files up to 5 MB. No account needed.
Related Developer conversions
- URL Encode— Percent-encode a URL or string so it can be safely used in a query parameter or path segment
- URL Decode— Decode a percent-encoded URL or query string back to plain readable text
- Convert JSON to TypeScript— Generate TypeScript interfaces from a JSON object or array — useful for typing API responses
- Convert Cron to Human— Translate a cron expression into a plain-English description of its schedule
- Convert HAR to curl commands— Convert each request in a HAR network log to a shell curl one-liner
- Convert OpenAPI to Markdown docs— Generate human-readable Markdown API documentation from an OpenAPI / Swagger spec
- Convert SQL DDL to JSON schema— Parse SQL CREATE TABLE statements and output a JSON description of each table's columns and constraints
- Convert JSON to GraphQL schema— Infer a GraphQL SDL type definition from a JSON object or array
- JSON diff— Add two JSON files and get a structured diff showing added, removed, and changed values
- Convert HTML to Minified HTML— Minify HTML by removing comments and collapsing whitespace
- Convert CSS to Minified CSS— Minify CSS with safe optimizations and output compressed styles
- Convert TypeScript to Zod— Generate Zod schemas from exported TypeScript interfaces and types
- Convert Sitemap XML to JSON— List every URL in a sitemap.xml or sitemap index as JSON, with lastmod, changefreq and priority
- Convert Sitemap XML to CSV— List every URL in a sitemap.xml or sitemap index as a CSV, with lastmod, changefreq and priority
- Convert robots.txt to JSON— Parse a robots.txt into JSON: user-agent groups with their allow and disallow rules, crawl delays and sitemaps
About this conversion
Convert a Postman collection (v2.0 / v2.1) to an OpenAPI 3.0 YAML spec with paths, parameters, bodies and examples. This converter processes your Postman collection file server-side and returns a OpenAPI YAML file instantly — no account, no software installation, and no file storage. Files are deleted from our servers immediately after conversion.
How to convert Postman collection to OpenAPI YAML
- 1. Upload — drag your Postman collection file onto the converter above, or click to browse.
- 2. Convert — press Convert. Processing happens on secure servers in seconds.
- 3. Download — your OpenAPI YAML file downloads automatically. No sign-up required.
Convert Postman collection to OpenAPI YAML from the command line
curl --fail-with-body \
-H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@input.json" \
-F "conversionId=postman-to-openapi" \
https://www.omniconvert.cloud/api/convert -o output.yamlThe API needs a token from a credit pack, and each API conversion uses one credit. Converting on this page stays free. API documentation
Frequently Asked Questions
- Which Postman collections are supported?
- Collection v2.0 and v2.1 JSON, as exported from Postman with Export → Collection v2.1. Folders become OpenAPI tags, :id and {{id}} path segments become path parameters, and {{baseUrl}} style hosts become server variables with the collection's variable values as defaults.
- Are request and response bodies included?
- Yes. JSON bodies become a schema inferred from the example plus the example itself, form bodies become form schemas, and saved example responses become responses with their status codes. Review the generated schemas: they are inferred from single examples.
- How do I convert Postman collection to OpenAPI YAML?
- Upload your Postman collection file above, click Convert, and download the OpenAPI YAML result instantly. No account or software needed.
- Is converting Postman collection to OpenAPI YAML free?
- Yes. It is free and unlimited for files up to 5 MB, with no account required. Larger files get 3 free conversions per day; beyond that, credit packs start at $3 and credits never expire.
- Are my files stored or shared?
- No. Files are processed in server memory and deleted immediately after conversion. File contents are never written to disk or retained.
- Do I need to install anything?
- No software installation needed. OmniConvert runs in the browser — just upload, convert, and download.
No account needed · Credits never expire · Share your token link across devices