Ir al contenido principal
Develop Tools

Conversor de comandos cURL a código

Convierte comandos cURL en solicitudes HTTP para JavaScript, TypeScript, Python, Java, C#, PHP, Go y Ruby directamente en el navegador.

cURL input and code conversion

Bash, PowerShell, command prompt format pasting and text files are supported.

Input

Entrada directa
0 caracteres

Convert

0 caracteres

Enter the cURL command.

Acerca de esta herramienta

You can convert cURL obtained from API documentation or developer tools into HTTP client implementations for each language.

Funciones

  • 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

Cómo utilizarla

  1. Paste the cURL command or open the file.
  2. Select
  3. Press "Convert to code" and check the warning and conversion result.
  4. Copy

Safety and limitations

Privacy: Save

Acerca de esta herramienta

You can convert cURL obtained from API documentation or browser developer tools into HTTP client code in the language used for implementation.

Funciones

  • 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

Cómo utilizarla

  1. Paste cURL commands or select and drop text files.
  2. Convert
  3. Review the parsing warnings and potential sensitive information, then copy or save the code.

Limitaciones

  • 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.

Privacidad: Los archivos seleccionados y los resultados de la conversión o el análisis se procesan en el navegador. No se envían ni se guardan en los servidores de Develop Tools.