Tool guide
About this tool.
HTTP/1.x requests are plain text: a request line such as POST /items HTTP/1.1, header lines, a blank line and an optional body. You see them in proxies such as Burp Suite or mitmproxy, in server logs, in .http files and in specifications.
The inspector parses that text, resolves the target against the Host header or a base URL, keeps repeated headers in order, and turns the request into cURL, fetch, raw HTTP or Python code.
- Replay a request captured in a proxy or a log from the command line.
- Turn an example from API documentation into code.
- Check the method, URL and headers a client actually sent.
Paste the raw request: the request line, headers, a blank line and the body.
If the target is a path, the Host header supplies the host. Set Default scheme, or a Base URL to override the host.
Choose an export format. The result updates as you type.
Copy or save the snippet; nothing is sent.
- GET /items?page=2 HTTP/1.1 with Host: api.example.com → https://api.example.com/items?page=2.
- Default scheme HTTP → http://… for internal hosts without TLS.
- Base URL https://staging.example.com → used instead of the Host header for relative targets.
- Two X-Trace headers → both kept, in order.
- CRLF or LF line endings → both accepted.
- GET https://example.com/ HTTP/1.1, the absolute form proxies use → the URL is used as written.
- Parsing is local. Requests often carry cookies and tokens, so the input is not saved in drafts.
- Only HTTP/1.0 and HTTP/1.1 text is supported; HTTP/2 frames and HAR files are not.
- Chunked and multipart bodies are copied as text, not decoded. Body bytes stay as pasted, including CRLF line ends and a trailing newline; a body of only blank lines counts as no body.
- Obsolete header folding, where a header continues on an indented line, is rejected.
- fetch output drops Host, Connection and Content-Length, because browsers set them.
- cURL output uses single-quoted POSIX shell arguments and --globoff, so brackets and braces in a URL stay literal. HEAD requests use --head.
- Python requests takes one value per header name, so repeated headers are combined, Cookie with "; " and others with ", ". Repeated Set-Cookie lines cannot be combined; only the last is sent, and a comment says so.