cURL Converter

Convert curl commands into JavaScript fetch, Python requests or PHP cURL code. Headers, data, JSON, forms, cookies and basic auth are carried over.

Free · No upload · 100% on your device

How to use cURL Converter

  1. Type or paste your code or data.
  2. Choose the settings in the side panel. The result updates as you type.
  3. Copy the result or download it as a file.

Private by design. Everything you type, open or record is processed in this browser tab and is never uploaded to KittySuite.

About cURL Converter

Paste a command from documentation or from your browser’s developer tools (Copy as cURL). Quoting, line continuations and -d, --json, -F, -u, -b and -G options are understood. Commands often contain session cookies and tokens, which is why they are converted here without being sent anywhere.

Everything runs in this browser tab: your text is never uploaded or stored, and the result updates as you type. It keeps working offline once the page has loaded.

cURL Converter: frequently asked questions

How do I convert curl to JavaScript fetch?

Paste the curl command and choose JavaScript fetch. You can also convert to Python requests or PHP cURL.

Which curl options are understood?

Headers, -d, --json, -F, -u, -b and -G, plus quoting and line continuations.

Can I paste “Copy as cURL” from my browser?

Yes. Commands copied from developer tools work.

Is the command sent anywhere?

No. Commands often contain session cookies and tokens, so they are converted in this tab and never sent or run.