cURL Command Builder
Fill in the request — URL, method, query parameters, headers, body and authentication — and get an equivalent curl command for Bash, PowerShell or Command Prompt, plus a plain HTTP request preview. Tokens and passwords stay hidden unless you choose to include them.
1. Request
Never sentQuery parameters
| Name | Value | Remove |
|---|
Headers
| Header name | Value | Remove |
|---|
| Field name | Value | Remove |
|---|
2. Command
Text only — not executedAbout cURL Command Builder
cURL Command Builder turns a request — URL, method, query parameters, headers, body and authentication — into a curl command for Bash, PowerShell or Windows Command Prompt, with quoting designed for each shell. It also shows a plain HTTP request preview. Secret values are replaced by placeholders unless you choose to include them.
Hand-written curl commands often break on quotes, ampersands, percent signs or line breaks, and differ between shells. Building them from fields avoids those mistakes and keeps credentials out of shared snippets.
Step by step
- Enter the URL and choose the method.
- Add query parameters and headers as needed.
- Choose a body type and fill it in.
- Choose an authentication type and enter credentials.
- Pick the shell, decide whether to include secrets, then copy or download the command.
What it offers
- Bash, PowerShell (curl.exe) and Command Prompt output
- Shell-specific quoting for quotes, %, &, | and more
- JSON, multipart form, URL-encoded and raw text bodies
- Bearer, Basic and API-key authentication
- Secrets masked by default; explicit option to include them
- Header-injection and malformed-URL checks
Tips for best results
- Share commands with secrets hidden, and add them only when you run it.
- Prefer environment variables for tokens in scripts you keep.
- Use Bash or PowerShell for multi-line bodies.
- Check the HTTP preview to confirm headers and body.
Why people use it
Correct quoting
Built for each shell.
Safer sharing
Secrets hidden by default.
Clear
See the HTTP request too.
Private
Nothing is sent or stored.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.