HTTP Request Builder
Build an HTTP request from method, URL, headers, query parameters, and body, then export it as a raw request, cURL command, or fetch() snippet.
Link to this tool
Copy this HTML to cite this tool from your own site or article.
About HTTP Request Builder
HTTP Request Builder composes an HTTP request from a method, URL, headers, and body, then exports it as a raw HTTP request, a cURL command, or a fetch() snippet, locally in your browser.
How to use HTTP Request Builder
- Choose a method and enter the request URL.
- Enter headers one per line as Name: Value.
- Enter a request body if needed (e.g. JSON).
- Click Build request and copy whichever output format you need.
Examples
Method: POST, URL: https://api.example.com/users, Headers: Content-Type: application/json, Body: {"name":"Ada"} Result: a matching raw request, cURL command, and fetch() snippet.
FAQ
Does this actually send the request?
No. It only builds the request text/code for you to use elsewhere — no network request is made from this page.
Can I add query parameters separately from the URL?
No, include query parameters directly in the URL field (e.g. ?active=true) — there's no separate query parameter builder.
You might also want ...
HTTP & API
cURL Code Converter
Convert cURL commands to Fetch, Axios, Python, PHP, or Go code entirely in your browser.
HTTP & API
HTTP Headers Parser
Paste raw HTTP request or response headers to see them as a table with plain-language explanations.
HTTP & API
HTTP Status Code Lookup
Look up what any HTTP status code means, with a searchable reference table.