cURL to Python
Convert cURL commands to Python requests.
Loading tool…
How it works
- Paste a cURL command.
- Click Convert to Python.
- Copy the requests code.
Features
- requests library output
- Headers and JSON body
- Insecure flag support
- Local conversion
FAQ
Which library is targeted?
Generated code uses the Python requests package.
Is my cURL uploaded?
No. Conversion stays in your browser.