Paste or upload a Postman Collection v2.0/v2.1 export and get ready-to-run cURL commands — instantly, entirely in your browser.
Paste or upload a Postman Collection v2.0 or v2.1 JSON export and this tool walks every request — including ones nested inside folders — and turns each one into an equivalent curl command. Method, URL, query parameters, headers, request body (raw JSON/text, urlencoded, or multipart form-data), and common auth types (Bearer token, Basic auth, API key) are all translated so the resulting commands can be run directly from a terminal.
| Supported | Behavior |
|---|---|
| Nested folders | Requests inside folders (and sub-folders) are found and converted, with their folder path shown next to each request |
| Body modes | raw (JSON/text), urlencoded, and multipart/form-data (including file fields) are each mapped to the matching curl flags |
| Auth | Bearer tokens become an Authorization header, Basic auth becomes -u user:pass, and API keys are placed in a header or query string as configured in Postman |
| Variables | Postman variables are preserved as-is in the output so you can substitute your own values or environment file |
The Postman Collection to cURL Converter is a free online developer tool that converts exported Postman Collection v2.0 and v2.1 JSON files into executable cURL commands. Whether you're documenting APIs, testing endpoints, automating workflows, or sharing requests with teammates, this tool instantly generates clean and ready-to-use cURL commands directly in your browser.
Simply paste your Postman collection JSON or upload the exported collection file. The converter automatically parses every request, including HTTP methods, URLs, query parameters, request headers, authentication, and request bodies. You can then copy individual cURL commands or download the entire collection as a shell script or text file.
The converter supports all commonly used HTTP request methods, including:
Authentication settings from your Postman collection are automatically converted into cURL commands whenever possible.
The converter supports multiple request body formats used in REST APIs.
cURL is one of the most widely used command-line tools for making HTTP requests. Developers frequently use cURL to test REST APIs, automate deployments, troubleshoot endpoints, integrate CI/CD pipelines, and reproduce API requests outside graphical applications.
By converting your Postman collection into cURL commands, you can easily integrate requests into shell scripts, documentation, automation workflows, Docker containers, CI/CD pipelines, or Linux terminal commands.
Your API collections are processed entirely inside your browser. No Postman collections, authentication tokens, request bodies, or API endpoints are uploaded to external servers. This ensures complete privacy when working with internal APIs, development environments, or confidential endpoints.
After conversion, you can choose from multiple export options:
baseUrl or token are left untouched in the generated commands. Replace them with real values, or export/paste your environment separately before running the commands.