cURL Generator
Build a cURL command from a URL, method, API token, headers, query parameters, and an optional body. Generation stays in your browser — nothing is uploaded.
Query parameters
Headers
Generated cURL
About cURL Generator
Generate a cURL command online from a URL, HTTP method, API token, headers, query parameters, and an optional body. This free cURL generator is for turning a REST call into a paste-ready shell command without writing flags by hand.
Choose GET, POST, PUT, PATCH, DELETE, HEAD, or OPTIONS. Add a Bearer token, Basic auth username and password, or an API key header such as X-Api-Key. Extra headers and query parameters become -H and URL search values. A JSON or form body is written as --data-raw.
Use it when docs list an endpoint and a token, when you want a command to share with a teammate, or when you will convert the result with cURL to Python or cURL to Java on this site. Follow redirects, skip TLS verify, and compressed flags are optional.
Generation stays in your browser. Tokens you type are not uploaded. Use this free cURL command builder whenever you need a private, accurate cURL line from request parts.