Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Developer Utilities

HTTP Request Builder

Assemble a raw HTTP/1.1 request line by line: pick a method, an absolute or relative URL, optional headers and a body. The tool derives the path and query, sets a Host header from the URL (or accepts your own), computes Content-Length when you send a body, and renders a complete request you can paste into a socket client, netcat, or a debugging proxy.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

The wire request, not a client

Choose a method from the seven supported verbs, type an absolute or relative URL, add optional headers one per line and a body, and the tool returns the raw HTTP/1.1 message — request line, headers, blank line and body — as text to copy. It renders a request; it does not fire anything over the network.

When hand-rolling a request makes sense

Use it to reproduce a request for a socket client, netcat, a debugging proxy or a raw TCP repl, or to capture exactly what your server will see on the wire. For building a fetch or curl command you would reach for curl-to-fetch or curl-to-code instead, since those produce code, not bytes.

How Host and Content-Length get filled

A Host header is derived from the URL origin when the option is on and you have not supplied one; switching it off drops the header entirely. Content-Length is computed from the encoded body bytes when a body is present, the method is not GET or HEAD, and you have not defined it — both can be overridden with your own header lines.

Edge cases worth knowing

URLs are capped at two hundred thousand characters, and only GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS are accepted. A relative path keeps your own Host header when you supply one. Line endings in the body are normalised to CRLF so the emitted message is byte-accurate for most servers.

Requests are built, not sent

Everything happens on this device — no request is transmitted, nothing is logged and the composed text is yours to copy.

Questions

What exactly do I get?

A raw HTTP/1.1 message: the request line (METHOD path?query HTTP/1.1), headers, an empty line, and the body. Suitable for debugging proxies, socket tools and netcat.

How are Host and Content-Length handled?

Host is taken from the URL origin unless you already define it; Content-Length is set from the body bytes when present (both can be overridden or disabled with the options).

Is this the same as a code generator?

No — this emits the raw wire-format request text. Tools like curl-to-fetch or curl-to-code generate programming-language snippets instead.

See category