https://curlconverter.com/ Convert curl commands to Python, JavaScript, PHP, R, Go, Rust, Elixir, Java, MATLAB, Ansible URI, Strest, Dart or JSON Convert curl to Python, JavaScript and more curl command [ ] [ ] [ ] [ ] [ ] [ ] [ ] Examples: GET - POST - Basic Auth Language: [Python ] Copy to clipboard If your syntax is correct, create a new issue or prefilled with the current input Curl from Google Chrome 1. Open the Network tab in the DevTools 2. Right click (or Ctrl-click) a request 3. Click "Copy" > "Copy as cURL" or "Copy as cURL (bash)" if you're using Windows 4. Paste it in the curl command box above This also works in Safari and Firefox. screenshot of the Chrome DevTools Support Us GitHub is matching all contributions to this project on Github Sponsors. This is a surprisingly good deal and I'm not sure how long it's going to last. Contribute Now Related Tools * curl-to-Go * curl-to-PHP * HAR-to-curl * http-translator (Python, JS and JSON) * uncurl (to Python) * hrbrmstr/curlconverter (to R) * curl-to-postman * Insomnia * Paw-cURLImporter Privacy We do not transmit or record the curl commands you enter or what they're converted to. This is a static website (hosted on GitHub Pages) that runs entirely in your browser. Found a problem? Please report bugs on GitHub. Fork me on GitHub