HTTP Request Parser
HTTP Request Parser
Parse raw HTTP requests into structured JSON.
Request Input
Parsed Request
About The HTTP Request Parser
The HTTP Request Parser converts a raw request line, headers, and optional body into structured JSON for debugging API clients, proxies, webhooks, and captured traffic.
The parser runs locally in your browser and preserves the request body as text. Sanitize authorization headers, cookies, tokens, and customer payloads before pasting production data.
How to Parse an HTTP Request Online
- Paste the raw request into the Raw HTTP request box, starting with the method line.
- Keep the blank line between headers and body when a body is present.
- Click Parse Request to build the JSON summary.
- Copy the parsed method, target, version, headers, and body for debugging or documentation.
Choosing Options Correctly
Request line:
- Use the original line, such as POST /api/login HTTP/1.1.
- If parsing fails, check that method, target, and HTTP version are all present.
Headers and body:
- Keep one header per line with a colon after the header name.
- Leave one empty line before the body so the parser can split the sections cleanly.
Common Use Cases
- Inspecting copied cURL or proxy request captures.
- Documenting request payloads while debugging API integrations.
- Checking whether required headers are present before replaying a request.
- Teaching HTTP message structure with a visible JSON result.
Quick FAQ
Does it send the request?
No. It parses raw HTTP request text and does not connect to the target server.
Can it parse a body?
Yes for simple raw bodies, but it will not fully interpret every multipart, compressed, or binary body.
Why did I get an invalid request line error?
The first line should look like METHOD path HTTP/version. Missing method, path, or version can fail parsing.
Should I paste real Authorization headers?
Avoid live tokens, cookies, or API keys. Redact sensitive headers before parsing.
Related Tools
URL Parser
Parse URL components including query parameters in one view.
HTTP Status Lookup
Find HTTP status codes quickly with meaning and category details.
MIME Type Lookup
Look up MIME types by extension or find common extensions from MIME values.
User Agent Parser
Parse user agent strings into browser, OS, device, and engine details.