HTTP Header Parser

Paste raw HTTP headers and get each one parsed, validated and explained in plain English.

Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.

Parsed headers

Paste request or response headers — each one is parsed and explained.

About this tool

Response headers decide caching, security, CORS and content handling — but raw header blocks are dense reading. This parser splits a pasted request or response into a clean table and explains what ~40 common headers actually do, from Cache-Control to Strict-Transport-Security.

Status lines are decoded too, with the status code classified at a glance.

How to use it

  1. Copy headers from DevTools (Network tab → Raw), curl -i output, or logs.
  2. Paste them into the input.
  3. Read the parsed table — name, value, and meaning for each header.
  4. Malformed lines are flagged separately so you can spot typos.

Useful ways to apply it

  • Debugging caching behavior via Cache-Control, ETag and Vary.
  • Auditing security headers before a deployment.
  • Understanding CORS responses during cross-origin debugging.
  • Teaching juniors what each header in a response does.

Worked example

Example input

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store

Expected output

Status 200; Content-Type application/json; Cache-Control no-store

Edge cases to check

  • Header names are case-insensitive.
  • Repeated headers may be combined differently depending on the field.
  • Set-Cookie must not be blindly comma-joined like ordinary list headers.

Known limitations

Parsing text is not the same as validating whether a live server or browser actually applies a header.

How this tool was reviewed

Reviewed with status lines, repeated headers, whitespace, mixed casing and malformed lines.

Last reviewed: September 3, 2026 · Maintainer: William

Standards and technical references

Frequently asked questions

Does it accept request and response headers?
Both. A leading status line (HTTP/1.1 200 OK) or request line (GET /path HTTP/1.1) is detected and decoded; plain header lists work too.
What counts as malformed?
Any non-empty line without a colon-separated name. These are listed under the table so you can fix them.
Are custom headers supported?
Yes — unknown and X- headers are parsed normally and labeled as custom.

Privacy

Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.