Paste your request
Copy a cURL command from documentation, a terminal, or your browser’s network tools.
Developer Tools
Convert a cURL command into editable JavaScript, Python, Go, or PHP code in seconds. Your request stays in your browser.
Paste a command, select an output language, then copy the code.
Processed in your browser. The converter never sends a request to the URL or runs the generated code.Methods, headers, inline data, cookies, basic authentication, and GET query data are supported.
How it works
Turn a copied API request into code you can review and adapt for your project.
Copy a cURL command from documentation, a terminal, or your browser’s network tools.
Generate fetch, Axios, Python requests, httpx, Go, or PHP code.
Check the URL, headers, and body, then copy the snippet into your project.
The converter reads the HTTP method, URL, headers, cookies, basic authentication, and inline request data. It also handles cURL’s --get query data.
Generated snippets are starting points. Review secrets before sharing them. Local files and multipart form uploads cannot be converted here.
FAQ
Paste the command above and choose Python requests or Python httpx from the output language menu. The code updates automatically.
Yes. Select JavaScript fetch, Node.js fetch, or Axios. The generated snippet includes supported methods, headers, and inline data.
No. Parsing and code generation run in your browser. The converter does not contact the request URL or execute the generated snippet.
No. Local file bodies and multipart form uploads are not converted. Paste request data inline with --data for supported body conversion.