cURL Generator
About this tool
You often need the curl form of a request from the browser. Set method and URL, add headers and an optional body, and copy a line-continued command from this online cURL generator.
Features
- Builds curl from method, URL, headers, body
- Paste into a terminal
- Not a full API client
How to use
- Choose a method and enter the URL.
- Add headers such as Content-Type:application/json, plus a body when needed.
- Copy the curl command, or import it in the API debugger to send it.
When to use it
- Docs need a reproducible curl
- Turn a browser request into a script
- Share a command instead of a screenshot
Examples
- POST with JSON adds Content-Type and -d.
- Custom headers become -H flags.
FAQ
Is the command uploaded?
No. Generation stays in the browser.
Is this the API debugger?
This page only builds curl text. Use the API debugger to send the request.
Back to DevOps Tools Hub