cURL Converter
Back to app
Input
Output
cURL → Code
Build cURL
Reset
cURL command
curl -X POST 'https://api.example.com/v1/users' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer sk-abc123' \ --data-raw '{"name":"Avery","email":"avery@example.com"}'
Output format
JS fetch
Axios
Python
HTTPie
wget
Output
Parsed
JS fetch
Axios
Python
HTTPie
wget
Copy
.txt
Paste a cURL command to see the converted code.