cURL Converter
Convert cURL commands to code in multiple languages and generate cURL from HTTP requests
Paste a cURL command to get started
Or select an example from the presets above
Supported Flags
-X, --requestSet HTTP method-H, --headerAdd request header-d, --dataSend request body--jsontools.curlConverter.flagDescJson-u, --userBasic authentication-b, --cookieSend cookies-F, --formMultipart form data-k, --insecureSkip SSL verification-L, --locationFollow redirects--compressedRequest compressed response-A, --user-agentSet User-Agent header-I, --headtools.curlConverter.flagDescHead-e, --referertools.curlConverter.flagDescReferer--data-rawSend data without processing--data-binarySend binary data--data-urlencodetools.curlConverter.flagDescDataUrlencode--urltools.curlConverter.flagDescUrlAbout cURL Converter
The cURL Converter transforms cURL commands into code snippets for multiple programming languages including JavaScript, Python, PHP, Go, and more. Also generates cURL from HTTP request parameters.
How to Use
Paste a cURL command to convert it to code in your preferred language, or use the Generate tab to build a cURL command from scratch by specifying method, URL, headers, and body.
Use Cases
- Convert browser network tab cURL exports to usable code
- Generate cURL commands for API documentation
- Translate cURL commands between programming languages