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
Direct inputConvert
0 charactersAnalysis/conversion results
You can check the request structure read from cURL and notes on conversion.
- HTTP method
- -
- URL
- -
- header
- 0
- Additional information for this feature.
- 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
- Additional information: Cookie
How to use
- Paste the cURL command or open the file.
- Select
- Press "Convert to code" and check the warning and conversion result.
- Copy
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: Save
About this tool
You can convert cURL obtained from API documentation or browser developer tools into HTTP client code in the language used for implementation.
Features
- JavaScript, TypeScript, Python, Java, C#, PHP, Go, Ruby
- HTTP method, header, JSON/form body, Basic authentication, Cookie
- Multiline format and sensitive value masking in Bash, PowerShell, and Command Prompt
How to use
- Paste cURL commands or select and drop text files.
- Convert
- Review the parsing warnings and potential sensitive information, then copy or save the code.
Limitations
- It does not execute cURL and generated code and does not perform any external communication.
- File references, shell variables, command substitutions, and unsupported options require manual adjustment after generation.
- In the initial state, authentication information, cookies, tokens, etc. are replaced with placeholders.
Privacy: Selected files and conversion or analysis results are processed in your browser and are neither sent to nor stored on the Develop Tools server.