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


Curl from Google Chrome

  • 1) Open the Network tab in the DevTools
  • 2) Ctrl-click a request.
  • 3) Click "Copy" > "Copy as cURL".
  • 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


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