Zero Signup ToolsFree browser tools

Developer Tools

HTTP Message Parser

Paste a raw HTTP request or response to parse the start line, headers, query string, and body. Rebuilds the URL and decodes JSON, form, and chunked bodies.

HTTP message parser

291 chars
Samples

Paste the message you copied from browser DevTools, Burp, the Postman console, or a .http file. The body must be separated from the headers by one blank line, exactly as in a real HTTP message.

Start line

Type

Request

Method

POST

HTTP version

HTTP/1.1

Request URL

Absolute URL

https://api.example.com/api/v2/orders?notify=true&source=web

Authority (host)

api.example.com

Path

/api/v2/orders

Fragment

none

URL reconstructed from the Host header. Scheme assumed https (no scheme is present in a raw request).

Query parameters (2)

NameDecoded value
notifytrue
sourceweb

Headers (6)

NameValue
Hostapi.example.com
User-Agentcurl/8.4.0
Acceptapplication/json
AuthorizationBearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0In0.abc
Content-Typeapplication/json
Content-Length58

Body

{
  "item": "SKU-19",
  "quantity": 2,
  "coupon": "WELCOME10"
}

Pretty-printed application/json.

How to use

  1. Copy a raw HTTP request or response from DevTools, Burp, the Postman console, or a .http file.
  2. Paste it into the input box. Keep the blank line that separates the headers from the body so the body is detected.
  3. Read the start line panel for the method and version (requests) or the status code and its meaning (responses).
  4. For a request, check the reconstructed URL and the decoded query parameter table below it.
  5. Review the header table, then read the body, which is pretty-printed as JSON, expanded as form fields, or shown as text based on its Content-Type.
  6. Use the copy buttons to grab the URL, the headers, or the decoded body, or load a sample to see the format.

About this tool

HTTP Message Parser takes the raw text of an HTTP/1.x message and breaks it into the parts you actually want to read. It is built for the block you copy out of browser DevTools, Burp Suite, the Postman console, a saved .http or .rest file, or an RFC example: the start line, a list of header fields, a blank line, and an optional body. The tool first decides whether the message is a request or a response by looking at the first line. For a request it reads the method, the request target, and the HTTP version, then reconstructs an absolute URL by combining the target with the Host header, splits off the path and fragment, and decodes the query string into a name and value table so percent-encoded parameters are readable at a glance. Because a raw request carries no scheme, the URL is rebuilt as https by default and falls back to http when the Host names port 80, and the assumption is stated plainly rather than hidden. For a response it reads the HTTP version, the status code, and the reason phrase, classifies the code as informational, success, redirection, client error, or server error, and adds the standard meaning for common codes such as 301, 404, and 429. The header block is parsed into a name and value table that is aware of obsolete line folding, where a continuation line beginning with whitespace is joined to the header above it, and it flags fields that appear more than once so you can spot a header that was accidentally duplicated. The body is decoded according to its Content-Type: JSON and any plus-json media type are pretty-printed and validated, application/x-www-form-urlencoded is expanded into decoded field pairs, and multipart/form-data is split on its boundary into a per-part summary showing each part's headers and a short preview. When the response uses Transfer-Encoding: chunked, the chunk framing is removed first so the real payload is shown instead of the hex sizes. An unlabeled body that looks like JSON is still pretty-printed, and anything else is shown as plain text. Copy buttons let you lift the reconstructed URL, the header block, or the decoded body on their own. This tool is the structural companion to the HTTP Headers Parser, which classifies headers and audits security headers, and to the cURL Command Parser, which reads shell curl syntax. Everything runs locally in your browser with the native URL, URLSearchParams, and text decoding APIs, so the request or response you paste, including any tokens or credentials in it, is never uploaded, logged, or stored.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsDeveloper Tools