Turn requests from a Postman, Insomnia or Bruno export into cURL, fetch, Axios, Python, Go, Java, C# and more, with inherited auth resolved.
Waiting for a collection
Export from Postman, Insomnia or Bruno and paste it here. Nothing is uploaded.
Collections carry live tokens. With masking on, a credential-shaped value is replaced in the generated code — so paste the code somewhere and it will not run until you supply the real value. Turn masking off only when you are generating code you will keep somewhere safe.
Every format is normalised to the same request shape first, so the code produced here is identical to what the cURL converter and request builder on this site would generate from the same request. Inherited folder authentication is resolved before conversion; disabled headers are left out, because they are not sent.
Paste a collection to convert its requests into cURL or any of fifteen other languages.
The generated code is a faithful rendering of what the file declares, not a recording of what the app sends. A pre-request script can rewrite the URL, body, headers and authentication at send time, and no script is executed here. Variable references are left as literal text rather than guessed, because code that looks runnable and is not costs more than code that obviously needs a value. Nothing is requested over the network at any point.
API Collection Converter runs entirely on your device — your collection is converted in your browser and no request is sent anywhere.
You’re on the Free plan. Compare plans
Every format is normalised to one request shape first, so the code produced here is identical to what the cURL converter and request builder on this site would generate from the same request. Inherited folder authentication is resolved before conversion and disabled headers are left out, because they are not sent.
A pre-request script can rewrite the URL, body, headers and authentication at send time, and no script is executed here. So a request that depends on one converts to code that does less than the collection does, and the page says which requests those are rather than producing something that silently differs.
Variable references are left as literal text rather than substituted with a guess. Code that looks runnable and is not costs more than code that obviously needs a value filled in, and a collection's variables usually live in an environment file that is not part of the export you pasted.
Because a pre-request script can build the URL, sign the request or set the body, and nothing here runs scripts. The code is a faithful rendering of what the file declares, which is not always what the app sends.
Because their values usually live in an environment file that is not in the export, and a guess would produce code that looks runnable and fails. Left as {{name}}, it is obvious what has to be supplied.
Not identical, and it is consistent with the rest of this site: the same generators power the cURL converter and the request builder, so a request converted here matches what those produce.
They are omitted, because they are not sent. The collection inspectors list them so you can see they exist in the file.
No. Conversion is text in, text out, entirely in your browser. No request from the collection is ever executed.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab