Skip to content
Local

Developer

cURL Converter

Turn a cURL command into fetch, Axios, Python requests, Go or PHP code, or fill in a form to get cURL, fetch, Axios or HTTPie.

Runs in your browser. Nothing leaves this device.

How to use cURL Converter

  1. 1Paste a cURL command, or switch to the form and fill in the request.
  2. 2Pick the language you want.
  3. 3Copy the code.

Questions

Does it run the request?

No. It only reads the command and writes the same request in another language. Nothing is sent anywhere.

Can I paste “Copy as cURL” from Chrome or Firefox?

Yes. Quotes, $'…' strings, line breaks with backslashes and --data-raw are all understood.

What happens to -u user:password?

fetch gets a Basic Authorization header, Axios and Python get their auth option, Go uses SetBasicAuth and PHP uses CURLOPT_USERPWD.

Are my tokens safe?

They stay in your browser. Still, swap real tokens for placeholders before sharing code.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc