cURL → code
Turns a curl command — "Copy as cURL" from DevTools or an API doc — into JavaScript fetch, axios or Python requests: method, headers, JSON or form body, auth and cookies.
- In
- CURL
- Out
- FETCH · AXIOS · PYTHON
Waiting for input
Runs in this tab. The text is not sent anywhere.
Related
Questions
Which curl options are understood?
-X, -H, -d and its variants, --data-urlencode, --json, -F, -u, -A, -e, -b, -G, -I and -k. Options that only change how curl prints (-s, -v, -o) are skipped.
Is the request sent?
No. The command is only read and rewritten; your token stays in this tab.