cURL Command Converter
Convert curl commands to fetch, axios, Python requests, or Go. Shell tokenizing and parsing run locally in your browser.
This tool runs entirely in your browser. Your input is never uploaded.
GET https://api.github.com/repos/vuejs/core · 0 headers
From one curl to eleven outputs
Paste a curl command and convert it to JavaScript fetch, JavaScript axios, Python requests, PHP cURL, Ruby net/http, Go net/http, Java 11 HttpClient, C# HttpClient, HTTPie, Wget, or a normalized curl. The shell command is tokenized with proper quoting rules — single quotes, double quotes, backslash escapes, $'...' ANSI-C quoting, and backslash line continuations all work — then mapped to the target language with idiomatic syntax.
What gets recognized
Methods and headers (-X, -H), bodies (-d, --data-raw, --data-binary, --data-urlencode, -F), basic auth (-u, converted per language), cookies (-b), user agent (-A), referer (-e), HEAD mode (-I), query reattachment (-G), redirects (-L), insecure TLS (-k, mapped to each language's skip-verification idiom), and --compressed. Method is inferred when omitted: -d means POST, -I means HEAD. When curl bodies are aggregated, JSON-looking payloads get the right Content-Type automatically.
Flags the converter does not support (proxies, config files, certificates) are never silently dropped — they are listed in a warning line above the output.
Output
The header strip shows a parsed summary (POST https://api… · 2 headers · json) so you can confirm the read. Output is live, editable history is kept in the tab via Use as input, and Copy/Download follow the usual result actions.
Parsing happens entirely in your browser; nothing is sent anywhere.
Related tools
Basic Auth Generator
Create HTTP Basic Authorization headers and curl commands from a username and password.
Open ToolQuery String Converter
Convert URL query parameters and flat JSON objects in either direction while preserving repeated values.
Open ToolURL Parser
Break any URL into protocol, host, path, hash, and a decoded query parameter table.
Open Tool