Postman Collection to curl
Convert every request in a Postman collection to a curl command, with collection variables and your environment values filled in and inherited auth applied.
Free · No sign-up · Your inputs stay in your browser
Input
Convert a Postman collection to curl
Output
curl commands
3 requests
Folders are walked in order, and auth is inherited from the folder or collection as Postman does. Raw, URL-encoded, form-data and GraphQL bodies are converted; pre-request scripts and tests are JavaScript that runs inside Postman and are not.
Runs in this browser. Nothing you paste is sent to a server.
About this tool
Method, assumptions, practical next steps, and limits.
Why convert
curl commands go into scripts, CI jobs, runbooks and bug reports, need no Postman account to run and show exactly what is sent. Postman's own "Code" view does one request at a time; this converts the whole collection. The collection format is documented in the Postman collection schema.
What does not convert
Pre-request scripts and tests are JavaScript executed inside Postman, for example to fetch a token before each call. Their effect has to be reproduced in the shell, typically by running the login request first and exporting the token.