Paste a command · get code
🐚 cURL ⇄ Code
Paste any curl command (from Chrome DevTools, API docs, a teammate…) and get ready-to-run fetch, axios and Go net/http code — headers, JSON body, form data, basic auth all carried over. Or build the request by hand and export a clean multi-line curl.
Understands the common curl flags: -X, -H, -d/--data-raw/--data-urlencode (multiple -d are joined with &), --json, -F multipart forms, -u basic auth, -b cookies, -A/-e, -G, -I, -L, -k, --compressed — both bash (\ line breaks) and cmd (^) styles. Unknown flags are skipped and listed, never guessed.