From Postman’s cURL to code you can ship
Postman users paste cURL constantly — to share a request, to reproduce a bug, to start an integration. This converter understands real-world commands (multi-line, quoted, combined flags) and produces idiomatic code with JSON bodies as objects, not escaped strings.
How to use cURL Converter
- In Postman use Code → cURL, or in DevTools right-click a request → Copy as cURL.
- Paste it on the left.
- Choose a language tab and copy the code.
Private by design
cURL Converter runs entirely in your browser. Your data is parsed and converted on your device with JavaScript — it is never sent to a server, logged or used for analytics. Recent inputs are kept in your browser’s own storage so you can come back to them, and they disappear when you clear cookies and site data (or press Clear history). You can verify this in your browser’s network tab.
Frequently asked questions
Can I paste "Copy as cURL" from Postman or Chrome DevTools?
Yes. Both Postman and the browser DevTools produce cURL commands, including multi-line commands with backslashes and quoted bodies. They convert directly.
Which languages are supported?
JavaScript fetch, Axios, Python requests, PHP cURL and Go net/http, plus a structured JSON view of the request. JSON bodies are turned into real objects rather than escaped strings.
Which cURL options are understood?
Method (-X), headers (-H), data flags (-d, --data-raw, --data-binary, --data-urlencode, --json), forms (-F), basic auth (-u), cookies (-b), -G, -I, -L, -k, --compressed and combined short flags like -sSL.
Are my tokens uploaded?
No. Commands are parsed in your browser. API keys and tokens in your command never leave your device — but remember they are saved in your local history until you clear it.