cURL code conversion tool
Parses cURL commands and converts them into HTTP request codes in 8 languages entirely in your browser.
cURL input and code conversion
Bash, PowerShell, command prompt format pasting and text files are supported.
Input cURL
Direct inputConverted code
0 charactersAnalysis/conversion results
You can check the request structure read from cURL and notes on conversion.
- HTTP method
- -
- URL
- -
- header
- 0
- Body format
- None
- warning
- 0
- Confidential information candidate
- 0
Things to check
- There are no warnings.
About this tool
You can convert cURL obtained from API documentation or developer tools into HTTP client implementations for each language.
Features
- JavaScript, TypeScript, Python, Java, C#, PHP, Go, Ruby
- Method, header, JSON/form body, Basic authentication, Cookie
- Backslash in Bash, backtick in PowerShell, caret newline in cmd
- Mask sensitive values such as authentication headers, cookies, and tokens
How to use
- Paste the cURL command or open the file.
- Select the input shell and target language.
- Press "Convert to code" and check the warning and conversion result.
- Copy or save the code as needed.
Safety and limitations
- It doesn't run cURL or the generated code. Please check the URL, authentication, and body before using the conversion result.
--insecure, file reference, multipart, and unsupported options are displayed in the confirmation items.- Shell-specific variable expansion, command substitution, and environment variables are not executed and are treated as strings.
- In the initial state, confidential information candidates are replaced with placeholders.
Privacy: The command you enter and converted code are processed in your browser and are not sent to or stored on Develop Tools servers or external APIs.