HTTP Headers Tool
Paste raw HTTP request or response headers, normalize their casing, and spot duplicate and secret-shaped values. A duplicate report + parse diagnostics, a Cookie / Set-Cookie analysis, and a Cache-Control explainer sit in the extended view. Runs in your browser; nothing is uploaded.
Auto-parses as you type. Ctrl+Enter to re-run.
How to use the HTTP Headers Parser
Paste raw HTTP request or response headers — copied from Chrome DevTools, curl -v, an API client, a proxy log, or a Postman request — and get a clean, normalized header block. Spot duplicates, see cookie attributes, understand cache directives, and normalize casing. For a full CORS check use the CORS Simulator, and for a graded security-header audit the Security Headers Analyzer. Runs locally; headers are never uploaded.
What it does
- Parses raw header text (any line endings, any casing).
- Normalizes header-name casing (Header-Case, lowercase for HTTP/2, or preserve).
- Flags duplicates and recommends how to resolve each group.
- Analyzes cookies — request
Cookiepairs andSet-Cookieattributes withSecure/HttpOnly/SameSitewarnings. - Explains Cache-Control — cacheability, freshness, and validators in plain language.
- Flags secret-shaped values (auth headers, tokens) and masks them before copy / share; decode a Bearer JWT in the JWT Decoder.
When to use it
- Compare request headers sent by two clients to find a discrepancy.
- Normalize DevTools-copied headers into a clean, consistent block.
- Spot a duplicate
Content-TypeorAuthorizationadded by middleware. - Audit a
Set-Cookieresponse forSecure,HttpOnly,SameSite. - Understand whether a response is cacheable and for how long.
- For a CORS preflight failure, hand off to the CORS Simulator.
How to use it
- Copy headers from Chrome DevTools (Network → Headers → "view source") or from
curl -v. - Paste into the parser — the normalized output renders with a duplicate/diagnostics verdict.
- Pick a casing style; open the extended tabs for Duplicates, Cookies, and Cache.
- Use Mask secrets before copying or sharing headers that contain auth/token values.
- For a full security audit, send to the HTTP Security Headers Analyzer; for code, use the cURL Converter.
Tips & pitfalls
- HTTP header names are case-insensitive (RFC 7230), but some servers, proxies, and SDKs still treat them as case-sensitive — normalize when in doubt.
- Duplicate
Content-TypeorAuthorizationfrom middleware is a common source of mysterious failures. - A
Set-CookiewithoutSecureandHttpOnlyis a security smell. Cache-Control: no-storeis stricter thanno-cache— make sure your intent matches.- For security scoring of a complete response, use the Security Headers Analyzer.
FAQ
- How do I parse HTTP headers online? Paste the raw header text — the parser produces a normalized header block with a duplicate/diagnostics verdict.
- How do I normalize header casing? Pick the Header case option — Header-Case, lowercase (HTTP/2), or preserve as pasted.
- What is a CORS preflight? An
OPTIONSrequest the browser sends before a "non-simple" cross-origin request, to verify the server allows it — check it in the CORS Simulator. - Why is my
Authorizationheader missing? Often: lost during a CORS preflight (server didn't include it inAccess-Control-Allow-Headers) or stripped by a proxy. - Are my headers uploaded? No. Parsing runs in your browser; nothing is sent to a server.
- How do I check security headers? Use the HTTP Security Headers Analyzer for a graded audit with CSP, HSTS, cookies, and platform-specific fix snippets.
Runs locally in your browser. No uploads. For a security audit, hand off to the HTTP Security Headers Analyzer.
Inspecting a full request? The API Debugging Studio shows parsed headers alongside the body, JWT decode, and an issue review on a single screen.