cURL Request Builder & Code Generator
Compose an HTTP request visually — method, URL, query params, headers, auth and body — and copy ready-to-run cURL, JavaScript fetch, or Python requests code. Everything runs in your browser.
Enabled rows are URL-encoded and appended to the URL. Uncheck a row to keep it without sending it.
Request headers, sent in order. Content-Type is added automatically for a body unless you define it here.
Sent as Authorization: Bearer <token>.
Encoded as base64 in Authorization: Basic …. Nothing is transmitted from this page.
No authentication header will be added.
Generated code
Updates on every keystroke. Pick a language and copy the snippet.
HTTP status code reference
Click a card to copy the status line (e.g. 404 Not Found).
Does this tool send the request for me?
No. The builder only assembles text — no network call is made and nothing leaves your browser. Copy the snippet into your terminal, a Node script, or a Python file and run it there, which also means you never hit CORS limits or expose credentials to a third-party proxy.
How are headers, Content-Type and auth handled?
Enabled header rows are emitted in the order shown, then the auth header (Bearer, Basic or API key). A Content-Type is added automatically for JSON, form and raw bodies — unless you already define one, so you can always override it. Query parameter keys and values are URL-encoded and appended after any existing query string.