Home › Developer Tools › HTTP Header Parser

HTTP Header Parser

Paste the raw headers of an HTTP request or response, from browser DevTools or curl, and get a readable table that explains every header and decodes values like cache times and sizes. Response headers also get a security grade with specific fixes.

Last updated:

Paste output from browser DevTools, curl -I or curl -v. Parsing happens as you type.
Advertisement
Advertisement

How to use the HTTP Header Parser

  1. Copy the headers: in DevTools open the Network tab, select a request and copy the raw response or request headers, or run curl -I https://example.com.
  2. Paste them into the box. The table updates as you type, or click Parse headers.
  3. Read the explanations for each header and the decoded values below them.
  4. Check the security grade for a response and follow the advice on each card.
  5. Export the result as CSV or JSON, or copy a text report to share.

The security headers every site should send

HeaderRecommended valueProtects against
Strict-Transport-Securitymax-age=31536000; includeSubDomainsHTTPS downgrade and cookie theft on public Wi-Fi
Content-Security-PolicySite-specific, e.g. default-src 'self'; frame-ancestors 'self'Cross-site scripting, injected third-party code
X-Frame-OptionsSAMEORIGIN or DENYClickjacking in old browsers (CSP frame-ancestors for new ones)
X-Content-Type-OptionsnosniffMIME sniffing attacks
Referrer-Policystrict-origin-when-cross-originLeaking private URLs to other sites
Permissions-Policycamera=(), microphone=(), geolocation=()Abuse of powerful browser features by embedded content
Cross-Origin-Opener-Policysame-originCross-window attacks and Spectre-style leaks

Build a full set for Apache, Nginx, Netlify or Cloudflare with the Security Headers Generator, and write a policy with the Content Security Policy Generator.

Reading caching headers

  • Cache-Control: max-age=600 lets the browser reuse the response for 10 minutes without asking the server. s-maxage sets a separate lifetime for CDNs and proxies.
  • no-cache does not mean "do not cache": it means the cache must check with the server (using ETag or Last-Modified) before each use. no-store is the one that forbids storing.
  • ETag and Last-Modified allow conditional requests; when nothing changed, the server answers 304 Not Modified with no body. See all codes in HTTP Status Codes.
  • Vary: Accept-Encoding tells caches to keep separate copies for compressed and uncompressed versions.
  • Age, X-Cache and CF-Cache-Status show whether a CDN served a cached copy (HIT) or fetched it from the origin (MISS).

Frequently asked questions

How do I see the HTTP headers of a website?

In Chrome, Edge or Firefox press F12, open the Network tab, reload the page and click the first request; the Headers panel shows request and response headers, and the raw view can be copied. From a terminal, curl -I https://example.com prints the response headers, and curl -v shows both request and response.

How is the security grade calculated?

Points are given for Strict-Transport-Security (25), Content-Security-Policy (25), clickjacking protection via X-Frame-Options or CSP frame-ancestors (15), X-Content-Type-Options (10), Referrer-Policy (10), Permissions-Policy (10) and Cross-Origin-Opener-Policy (5). Points are deducted for version leaks such as Server: nginx/1.24.0 or X-Powered-By, and for cookies missing Secure or HttpOnly. A+ needs every check to pass.

Should I still send X-XSS-Protection?

No. The XSS auditor it controlled was removed from Chrome, Edge and Safari, and in older browsers the 1; mode=block setting could itself be abused to leak information. Current guidance is to omit the header or send X-XSS-Protection: 0 and rely on a Content-Security-Policy.

What do Secure, HttpOnly and SameSite mean on a cookie?

Secure means the cookie is only sent over HTTPS. HttpOnly hides it from JavaScript, which protects session cookies from theft through cross-site scripting. SameSite (Lax, Strict or None) controls whether the cookie is sent with requests from other sites; Lax is the browser default and blocks most cross-site request forgery.

Why do some headers start with a colon?

Headers like :status, :method, :path and :authority are HTTP/2 and HTTP/3 pseudo-headers. They carry what HTTP/1.1 puts in the first line of the message, such as the status code or the request method and path. The parser recognizes them and uses them to detect the message type.

Is it safe to paste headers that contain cookies or tokens?

Yes, the parsing happens entirely in your browser and nothing is sent anywhere. Still, treat Cookie, Set-Cookie and Authorization values as passwords: remove them before sharing the output with other people.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Security Headers GeneratorPick HSTS, CSP, frame, referrer and permissions options and get Apache, Nginx, Netlify or Cloudflare config.Content Security Policy GeneratorBuild a CSP header or meta tag with nonces, hashes, presets and report-only mode.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.
See all 52 Network, DNS & Email Tools →