Convert curl commands to Python, JavaScript and more

curl command

Language:

Loading the parser…

curl from Chrome / Edge

  1. Open the Network panel in DevTools.
  2. Right-click a request.
  3. Click Copy → Copy as cURL (bash). On Windows, do not choose cmd.
  4. Paste it into the box above.

Privacy

The command and generated code stay in this browser. They are not uploaded or recorded.

Conversion runs locally. Cookies, tokens, and passwords in the command stay on this device.

The command is kept only for this tab and is cleared when the tab closes.

Notes

  • Only HTTP requests are converted. Quoting, variables, heredocs, and common options are recognized.
  • Unsupported options are shown as warnings and are not dropped silently.
  • A language runtime may not match curl, such as whether redirects are followed.
  • Each language has a shareable path, such as /python/, /javascript/, and /go/.