HTTP headers parser8 headers

Request / status line

GET /api/users HTTP/1.1

Parsed headers

NameValue
Hostexample.com
User-AgentMozilla/5.0
Acceptapplication/json
Accept-Encodinggzip, deflate, br
AuthorizationBearer eyJhbGciOiJIUzI1NiJ9
Cache-Controlno-cache
Set-Cookiesession=abc123; Path=/; HttpOnly
Set-Cookietheme=dark; Path=/

Each line is split at the first colon into a name and a trimmed value. A leading request or status line is detected and shown separately, and duplicate header names like Set-Cookie are kept. Everything runs in your browser.