All tools / Converters

cURL to Code

Convert cURL commands to fetch, Python or Axios.

Runs in your browser · your data never leaves your device
Ad space

How it works

Paste a cURL command copied from your browser dev tools or API docs. It reads the URL, method, headers, body (-d) and basic auth (-u), then writes the matching code.

Frequently asked questions

Which options are supported?

-X, -H, -d, --data-raw, --data-binary and -u. Flags such as --compressed are ignored.

Related tools