HTTP Message Parser — Request, response, headers

Paste a raw HTTP/1.1 request, response, or header block and read the start-line, duplicate headers, and JSON body. Copy a request as cURL. HTTP header parser in your browser — nothing is sent or executed.

Loading…
HTTP Message Parser
Paste a raw HTTP/1.1 request, response, or header block. Read the start-line, every header row (duplicates kept), and the body. JSON pretty-print is display-only — not a JSON IDE.

Developer notes

• RFC 9112 start-line: request, response (e.g. HTTP/1.1 200), or headers-only. • LF and CRLF both accepted. Duplicate headers stay as separate rows (Set-Cookie). • curl -v chatter is ignored when the start-line is cheap to find. • Copy as cURL emits the DevTools subset from a parsed request. Sanitize on that copy (off by default) does not strip the table. • JSON bodies can be pretty-printed inline; validate/repair stays on JSON Formatter / JSON Validator. • No chunked reassembly, no HTTP/2 frames, no request execution.

Options

JSON body view
pretty (default when the body is JSON) or raw. Display only — not a JSON editor.

When this is the right tool

• Read a captured HTTP/1.1 200 and pretty-print the JSON body. • Keep both Set-Cookie lines instead of collapsing them. • Parse a header block without a start-line.

Worked examples

HTTP/1.1 200 + JSON body

Before

HTTP/1.1 200 OK\nContent-Type: application/json\n\n{"ok":true,"items":[1]}

After

Start-line HTTP/1.1 200 OK; JSON body pretty-printed when the toggle is on.

Duplicate Set-Cookie

Before

HTTP/1.1 200 OK\nSet-Cookie: a=1\nSet-Cookie: b=2

After

Two header rows, both kept — not merged into one Cookie line.

Related HTTP and JSON tools

Hub: HTTP Tools. Format the JSON body in JSON Formatter or check it with JSON Validator. Tokens: JWT Decode. Parse Set-Cookie with Cookie / Set-Cookie Parser. Specs: API & schema tools.

HTTP Message Parser FAQ

Request, response, headers — local only

Is this an HTTP header parser?

Yes — headers-only blocks work. The same engine also parses full requests and responses. There is no separate headers-only slug.

Are duplicate headers kept?

Yes. Each line is a row, including multiple Set-Cookie headers.

Does pretty-print validate JSON?

No. The toggle only changes display. Use JSON Validator to check or repair JSON.

Does this send the message?

No. FastMinify never executes the request. There is no Send control.

What does Copy as cURL do?

It builds a DevTools-subset cURL command from the parsed request (method, URL, headers, body). Optional Sanitize copy (off by default) strips Cookie, Authorization, sec-ch-*, and Referer from the clipboard only — the table still shows those rows. Responses and headers-only pastes cannot become cURL.

HTTP Tools

Paste-local cURL, HTTP messages, URLs, HAR files, and Cookie / Set-Cookie headers — format and inspect in your browser, never sent.

Explore other tool categories

Minify

Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.

Unminify

Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.

Conversion

Transform data between JSON, YAML, XML and CSV locally — no server uploads.

Encoding

Encode or decode Base64, URL components and HTML entities — client-side only.

Serialization

Serialize and deserialize PHP data structures beside JSON workflows.

JSON Tools

Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.

SVG Tools

Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.

Beautify

Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.

CSS preprocessors

Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.

Color & CSS Tools

Paste-local WCAG contrast checking with modern CSS color syntax — pair and matrix views, never uploaded.

DevOps & Infra

Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.

CI/CD

GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.

Logs & observability

Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.

Kubernetes

Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.

Networking / IP

CIDR, subnets, and IPv4/IPv6 helpers — in your browser.

Security & tokens

JWKS, X.509 certificates, and secrets scan — browser-local.

API & schemas

OpenAPI tools to format, validate, and lint your specs.

Developer utilities

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.

Text & Markdown

Count words, build Markdown TOCs, and clean line lists — all in your browser.

AI & LLM

Token counting, pricing estimates, and context-window fit — 100% browser-local.

Test Data

Synthetic field values for fixtures and DB seed — reserved-range phone numbers first.