Convert cURL syntax to Python, Node.js, PHP

cURL command

Python requests

Get a cURL command from Chrome

  • 1) Open the network tab in Chrome DevTools (Cmd + Opt + I)
  • 2) Control-click a request and click "Copy as cURL".
  • 3) Paste it in the cURL command box.
screenshot of chrome devtools

Find a problem?

Please report bugs on GitHub. Contributing is really easy. I will walk you through the code!