Convert Collection JSON v2.1 requests into cURL one-liners. Part of the DevTools Surf developer suite. Browse more tools in the Developer Utilities collection.
Use Cases
Convert Postman collections to portable shell scripts
Generate cURL commands for CI/CD pipeline API calls
Share API requests with teams that do not use Postman
Create reproducible API test scripts from collection exports
Tips
Paste a Collection JSON payload to get cURL one-liners
Each request in the collection becomes a separate cURL command
Copy generated commands directly into terminal or scripts
Fun Facts
cURL supports over 25 protocols including HTTP, FTP, SMTP, and MQTT, making it one of the most versatile network transfer tools ever created.
The cURL project has received contributions from over 2,400 developers since its inception in 1998.
Collection JSON v2.1 can encode authentication, headers, body, and pre-request scripts — but cURL conversion typically extracts only the HTTP essentials.
FAQ
Which Collection JSON versions?
Postman Collection v2.1 and v2.0. Older v1 format isn't supported — convert to v2.1 first using Postman's built-in converter.
Are all requests in the collection included?
Yes — a curl command per request. Folders and nested groups are preserved in the output as comments.
Are environment variables resolved?
Optional — paste your environment file and vars get substituted. Or leave as template `{{varname}}` for later shell substitution.
Does it handle file uploads?
Multipart/form-data requests are converted with curl's -F flags. The tool references file paths; you'll need to adjust to local paths when running.