Canonical: https://toolipedia.app/raw-http-message-parser

# Raw HTTP Message Parser

Paste a raw HTTP request or response and see the method, path, query, headers, cookies and body split into readable fields, with checks for common mistakes.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > Raw HTTP Message Parser

## About Raw HTTP Message Parser

Paste the text of an HTTP request or response, as copied from a proxy, a log, curl verbose output or a network capture, and the page splits it into its parts. A request shows the method, path, version, host, decoded query parameters, cookies and body; a response shows the status code and reason, Set-Cookie name, value and attributes, and body. JSON bodies are formatted and form bodies split into fields. It warns about a Content-Length that differs from the body, a missing Host header on HTTP/1.1 and repeated headers.

## How to use Raw HTTP Message Parser
1. Paste the raw message starting with the request line or the status line, then the headers, a blank line and the body.
2. Look at the summary, the headers table and any query, cookie or form tables.
3. Fix anything the warnings point out, such as a wrong Content-Length, and copy the formatted body.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- raw http message parser
- parse http request
- http response parser
- split http headers and body
- http request analyzer

## Frequently asked questions

### Does the page send the request anywhere?

No. The text is only parsed. No URL is requested, so it is safe for messages with tokens or cookies, as long as you do not share the result.

### Why does Content-Length not match my pasted body?

Line breaks you paste count as one byte, while on the wire they are normally two (CRLF), and a trailing newline may have been added. The warning is a hint to check, not proof of an error.

### What about HTTP/2 or chunked bodies?

HTTP/2 is binary, so only text copied in the HTTP/1.1 style can be read. A chunked body is shown as pasted, including the chunk size lines, with a note.

### Is Raw HTTP Message Parser free?

Yes. Raw HTTP Message Parser on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Raw HTTP Message Parser:
- [HTTP Headers and Methods Reference](https://toolipedia.app/http-headers-and-methods-reference)
- [Query string parser](https://toolipedia.app/query-string-parser)
- [Email Header Analyzer](https://toolipedia.app/email-header-analyzer)
- [Web Server Access Log Parser and Summary](https://toolipedia.app/web-server-access-log-parser-and-summary)
- [Protobuf Wire Format Decoder](https://toolipedia.app/protobuf-wire-format-decoder)
