API & Network Tools · free · no sign-up
Code to Curl Converter
Turn a request description into a cURL command.
Code to Curl Converter
Generate a cURL command from a JSON Request configuration.
About the Code to Curl Converter
Turn a request description into a cURL command.
How to use the Code to Curl Converter
- Paste your code into the input box, or click Sample to load an example.
- Enter the request as JSON, including the URL, method, headers and body.
- Press Process Now.
- Use Copy (or Download where shown) to keep the result. Clear empties the box.
Tips
- Use the command in a terminal to test an API.
- Remove real API keys before you share a command.
Frequently asked questions
What is cURL?
A command-line tool for sending HTTP requests.