cURL to Code
Turn a curl command into fetch, axios, Python requests, Go or PHP code.
Loading cURL to Code…
Results are provided as-is, without warranty. Please double-check anything important before relying on it. Terms & Disclaimer
About cURL to Code
Turn a curl command into fetch, axios, Python requests, Go or PHP code.
How to use it
- Type, paste or choose what you want to work with.
- Adjust the options if you need to. The result updates as you go.
- Copy the result or download it.
Questions
- Is cURL to Code free to use?
- Yes. cURL to Code is completely free to use, with no sign-up.
- Do I need to create an account or install anything?
- No. Open the page and use it straight away on a phone, tablet or computer.
- How do I use cURL to Code?
- Type, paste or choose what you want to work with. Adjust the options if you need to. The result updates as you go. Copy the result or download it.
Also useful for: curl convertercurl to pythoncurl to fetchcurl to javascriptcurl to gocurl to phpcurl to axioscopy as curl
More Developer tools
JSON Formatter & ValidatorCheck JSON for mistakes and lay it out neatly, with errors pointed out by line and column.Base64 Encode / DecodeEncode text or files to Base64 and decode Base64 back to text or a file.Regex TesterTry a regular expression on your text and see every match, group and replacement live.API Request TesterSend GET, POST and other HTTP requests and inspect the response.Code ScreenshotTurn code into a beautiful, shareable image with syntax colors and a window frame.Chmod CalculatorWork out Linux file permissions as numbers (755) or letters (rwxr-xr-x).