Eskillsfy

Home / Tools / Developer

cURL to Code Converter

Convert cURL commands to fetch, axios, Python or PHP.

Runs in your browserFree, no sign-up
Loading tool…

How to use it

  1. Paste the cURL command.
  2. Pick the language.
  3. Copy the code.

About this tool

Paste a cURL command copied from browser dev tools or API docs and get the same request in JavaScript fetch, Node axios, Python requests or PHP. Headers, methods, JSON bodies, form data and basic auth are supported.

Your input is processed on your device. Nothing is sent to a server or stored.

How it works, and how to build your own →

Questions

Where do I get a cURL command?
In Chrome DevTools, right-click a request in the Network tab and choose Copy as cURL.
Developer

More tools like this

All developer