cURL to Python / JavaScript Converter
Turn a cURL command into Python requests, JavaScript fetch or Node axios code.
How to use
- In Chrome DevTools → Network, right-click a request → Copy → Copy as cURL (bash), then paste it here.
- Pick a language and copy the code.
FAQ
Which flags are supported?
-X, -H, -d / --data / --data-raw, --json, -u, -A and -b. Other flags are ignored.