# HTTP Header Parser

Turn a pasted header block into a clean table, including cookies and repeated fields.

## URL

https://ilham.dev/tools/http-header-parser/

## What It Does

Paste a raw header block from curl, a proxy log or the browser network panel and the page turns it into a clean table. A status line is optional, folded continuation lines are rejoined, and repeated fields such as Set-Cookie are kept and marked so nothing is silently dropped.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Why are some headers marked as repeated?
- How are folded lines handled?
- What is the status line?
- Is anything sent over the network?




## Questions

### Why are some headers marked as repeated?

Because the same field name appears more than once. Some headers, like Set-Cookie, are supposed to repeat and must not be merged; others are combined by the recipient. The label shows you which is which before you act on the values.

### How are folded lines handled?

Older systems wrapped long header values onto the next line with leading whitespace. The parser treats a line that starts with a space or tab as a continuation of the previous header and joins it back with a single space, which is what the HTTP rules say to do.

### What is the status line?

The HTTP/1.1 200 OK line that opens a response. It is optional here, so you can paste just the headers, but when it is present it is reported separately and not mistaken for a header.

### Is anything sent over the network?

No. The text you paste is parsed in the page. That is deliberate: header blocks often carry cookies, tokens and internal hostnames that should not leave your machine.

