CURL COMMAND GENERATOR
Fill in a method, URL, headers, auth, and body — get a copy-pasteable curl command back, no syntax to remember.
Headers
Authentication
Request body
Options
Generated command
Enter a URL above to generate a command
How to build a curl command
- 1
Enter the request URL and pick an HTTP method.
- 2
Add any headers, authentication (Basic or Bearer), and a request body if needed.
- 3
Toggle common options like follow redirects, verbose output, or skip TLS verification.
- 4
Copy the generated command — single-line or multi-line with backslash continuations.
Questions
- Does this send the request for me?
- No. It only builds the command text — nothing is sent anywhere. Copy the generated command into your own terminal to actually run it.
- Why are values wrapped in single quotes?
- Single quotes are the safest way to pass a value through most shells without special characters (spaces, $, quotes, backticks) being reinterpreted. If a value itself contains a single quote, the generator escapes it automatically so the command still runs correctly.
- Can I generate a file upload?
- Yes. Switch the body type to "Multipart form", add a field, and check "File" — the value becomes the file path and the generator uses curl's -F name=@path syntax.
- Is anything I type here saved or uploaded?
- No. Every field, including auth credentials and tokens, stays in your browser tab and is only used to build the command text shown on the page.