Take a curl command — including one copied straight from your browser's network tab — and turn it into equivalent code, with headers, method and body carried across.
Converts to fetch, Python requests and Node.js
Preserves headers, method, body and authentication
Works with "Copy as cURL" output from browser devtools
Frequently asked questions
Where do I get a curl command to convert?
In any browser's devtools, right-click a request in the Network tab and choose "Copy as cURL". Paste it here to get code.
Are my headers sent anywhere?
No. The conversion is pure text processing in your browser, so authorization headers stay local.