Fill in method, URL, headers, and body to generate a ready-to-paste cURL command no need to remember flag syntax.
Did this tool save you some time? A quick testimonial helps a lot.
Fill in method, URL, headers, and body to generate a ready-to-paste cURL command no need to remember flag syntax.
Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.
cURL Command Builder runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.
A few worked examples so you know what to expect before you paste in your own input.
Input
Method: POST
URL: https://api.example.com/users
Header: Content-Type: application/json
Body: {"name":"Ada"}Output
curl -X POST https://api.example.com/users \
-H "Content-Type: application/json" \
-d '{"name":"Ada"}'Input
Method: GET URL: https://api.example.com/me Header: Authorization: Bearer abc123
Output
curl https://api.example.com/me \ -H "Authorization: Bearer abc123"
Input
Method: DELETE URL: https://api.example.com/users/42
Output
curl -X DELETE https://api.example.com/users/42
Related Tools