Skip to content

API

HTTP Header Parser

Inspect raw HTTP request or response headers, preserving repeated fields and original values.

How to use this tool
  1. Paste a request or response header block.
  2. Parse the headers.
  3. Inspect repeated values and export the structured result.

Loading tool…

Find this tool in

About this tool

What is HTTP Header Parser?

Inspect copied request or response headers while preserving repeated fields. Paste a raw header block, optionally including its HTTP start line, rather than a browser screenshot. The parser separates names and values so you can inspect redirects, content types, caching or cookies without issuing the original request again.

A worked example

Keep two Set-Cookie fields separate

Example input

HTTP/1.1 200 OK
Set-Cookie: theme=dark
Set-Cookie: locale=es

Expected result

set-cookie: [theme=dark, locale=es]

The summary represents two preserved values under one case-insensitive header name. Do not collapse them into a comma-joined cookie value when reproducing a response. For a real investigation, compare the full values, including Path, SameSite and other attributes. Header names are case-insensitive, while the interpretation of values depends on the individual header specification.

Common mistakes and limits

  • Headers can contain authorization credentials, session cookies and internal hostnames. Remove sensitive values before sharing an exported report.
  • Parsing a header does not verify that a server currently sends it or that a browser will accept it. Reproduce the response in the actual environment when behavior matters.

Features

What you can do

  • Request and response start lines
  • Repeated header fields preserved
  • Case-insensitive field grouping
  • JSON export without making a request

Frequently asked questions

Questions about HTTP Header Parser

Are headers like Set-Cookie combined with commas?

No. Repeated fields are retained as separate values. This avoids corrupting fields such as Set-Cookie, where commas can be part of an attribute.

Related tools