cURL Command Builder
Build a curl command from a method, URL, headers, auth, and body — no more guessing at quoting.
Query params
Headers
Auth
Body
Options
Command
Frequently Asked Questions
Which shells are supported?
Bash/zsh (macOS, Linux, WSL), Windows Command Prompt (cmd.exe), and PowerShell — each has different quoting and line-continuation rules, so pick the one matching where you'll paste the command.
How does Basic auth work?
It uses curl's native -u user:pass flag rather than manually building a Basic auth header — curl handles the base64 encoding itself when the request runs.
What does the multipart body type produce?
One -F 'key=value' flag per field — curl builds the multipart/form-data body and boundary itself. Prefix a value with @ (e.g. @/path/to/file) to attach a file, exactly as curl's own -F flag supports.
Is my API key or token sent anywhere?
No. The command is assembled entirely in your browser with JavaScript string building. Nothing you type is sent to a server.
Why does it always include -X?
curl can infer GET or POST in some cases, but relying on that is a common source of confusing bugs. Always specifying -X makes the generated command unambiguous no matter how you've set up the request.
Related tools
More free, private, browser-based utilities — no upload, no sign-up.

Davemi Tools