VI · Developer & Web
VI · Developer & WebAV-W09

AV-W09

cURL Converter

Convert a curl command into fetch, axios, Python requests, Go net/http or PHP code.

● Runs on your device; nothing is uploaded

How to use it

  1. Paste a curl command into the box, for example from your browser's Copy as cURL.
  2. Check the Request summary: method, URL, headers, body and options.
  3. Pick an output language: fetch, axios, Python requests, Go or PHP cURL.
  4. Read any warnings about ignored options, then copy the code.

Limits

Command length
256 KB
Features
  • Handles '…', "…" and …' quoting and line continuations
  • Supports -d, --data-urlencode, --json, -F form parts and -G
  • Reads basic auth, cookies, user agent, referer and timeout options
  • Maps -u, -k and -m to each target's own options, or notes a gap
  • Pretty-prints JSON bodies in the generated code

For AI agents: avtools_curl_converter

AV-W09 · cURL Converter

Loading the tool…