HTTP Headers Checker

View all HTTP response headers for any URL. Instantly check status codes, security headers, caching, redirects and more — free, no sign-up needed.

Enter any domain or full URL — HEAD fetches headers only (faster), GET includes the response body.

What is the HTTP Headers Checker?

Every time a browser or application requests a web page, the server responds with two parts: the content (HTML, images, data) and a set of HTTP response headers — invisible key-value pairs that control how the content is handled. This tool lets you inspect every header returned by any publicly reachable URL in real time, with zero installation required.

Headers reveal critical information about a server: its software stack, caching strategy, compression method, redirect destination, and — most importantly — its security posture. Missing security headers are one of the most common and easily fixed web vulnerabilities. Our tool grades seven key security headers and explains what each one does and how to add it. Combine this with our SSL Certificate Checker and DNS Lookup for a complete domain health review.

🔒
Security Auditing
Check HSTS, CSP, X-Frame-Options and other critical security headers. See your grade at a glance and know exactly what to fix.
Performance Testing
Verify caching headers, compression encoding, ETag and Cache-Control values to optimise load times and reduce server load.
Redirect Analysis
Trace 301 and 302 redirect chains, see the Location header and follow each hop to diagnose slow or broken redirect paths.
📡
API Debugging
Inspect response headers from REST APIs, check CORS headers, content types and rate-limit headers without writing any code.
🌐
CDN Verification
Confirm whether Cloudflare, Fastly or another CDN is serving a domain by checking CF-Ray, Via and X-Cache headers.
🔍
SEO Checks
Verify canonical URLs, check for redirect chains that dilute link equity, and confirm correct content types for crawlers.
🔒 Requests made server-side
·
⚡ Results not cached or stored
·
✓ No sign-up needed
·
🔹 Unlimited free checks

What Are HTTP Response Headers and Why Do They Matter?

Every HTTP response consists of two parts: the body (the HTML, JSON, image or file the browser requested) and the headers (a set of key-value metadata pairs sent before the body). Headers are invisible to visitors but govern virtually everything about how a page is delivered, cached, secured and displayed. Understanding them is essential for web developers, system administrators, security professionals and anyone conducting a technical site audit.

For example, a Cache-Control: max-age=86400 header tells any browser or CDN to store the response for 24 hours, reducing server load. A Strict-Transport-Security header tells browsers to refuse HTTP connections entirely for that domain. A Location header tells the browser where to redirect. Without inspecting headers directly, you cannot fully understand how a server is behaving. Use this tool alongside our SSL Certificate Checker to verify your full HTTPS configuration in one workflow.

How to Read the Security Header Score

Our tool checks seven security-critical response headers and assigns a grade from A (80% or more present) down to F (fewer than 20% present). Here is what each header does and why its absence is a problem:

Strict-Transport-Security (HSTS) — Forces browsers to use HTTPS even when a user types http://. Without it, users are vulnerable to protocol downgrade attacks on their first visit. Verify your SSL certificate is valid before enabling HSTS using our SSL Checker.

Content-Security-Policy (CSP) — Restricts which scripts, styles and resources can load on a page. A strong CSP is the most effective browser-level defence against cross-site scripting (XSS) attacks.

X-Frame-Options — Prevents your page from being embedded in an iframe on another domain, blocking clickjacking attacks where a visible page is layered over an invisible malicious page.

X-Content-Type-Options: nosniff — Stops browsers from guessing the content type of a response when it differs from the declared Content-Type, preventing MIME confusion attacks.

Referrer-Policy — Controls how much URL information is sent as the Referer header when a user follows a link from your page to another site, preventing sensitive path data from leaking to third parties.

Permissions-Policy — Restricts access to browser APIs like the camera, microphone, geolocation and payment handlers, even for third-party scripts embedded in your page.

X-XSS-Protection — A legacy header that activates the built-in XSS filter in older versions of Internet Explorer and Chrome. Largely superseded by CSP, but still worth setting for older browser coverage.

Common HTTP Status Codes Explained

The first thing any header checker reports is the HTTP status code. 2xx codes mean success — 200 OK is the standard response for a successful page load. 3xx codes are redirects — 301 is a permanent redirect that passes SEO value, while 302 is temporary and does not. 4xx codes are client errors — 404 means not found, 403 means access is forbidden. 5xx codes are server errors — 500 is a generic internal error, 503 means temporarily unavailable. When a redirect is returned, our tool shows the redirect target so you can immediately check the destination with one click. Combine this with our WHOIS Lookup to verify domain ownership of the redirect target.

How to Add Security Headers to Your Website

The method for setting HTTP response headers depends on your server software. In Apache, add them to your .htaccess file using Header always set directives. In Nginx, use add_header directives inside your server or location blocks. On Cloudflare, use Transform Rules to inject headers at the edge without modifying your origin server. After any change, re-run this checker to confirm the headers are being served correctly, then verify your full SSL configuration with our SSL Checker and confirm your domain resolves correctly using our DNS Lookup.

Understanding Caching Headers

Caching headers are among the most impactful HTTP headers for web performance. Cache-Control is the primary directive: values like max-age=3600 allow caching for one hour, no-cache requires revalidation before use, and no-store prevents caching entirely. ETag provides a fingerprint of the resource version; browsers send it back with If-None-Match and receive a lightweight 304 Not Modified if nothing changed. Last-Modified serves the same purpose using timestamps. To understand which CDN or network is serving a domain, combine this tool with our ASN Lookup to identify the network operator.

Frequently Asked Questions About HTTP Headers
Everything you need to know about inspecting, understanding and fixing HTTP response headers.
What is the difference between HEAD and GET requests? +
A HEAD request asks the server for headers only — no response body is returned. It is faster and uses less bandwidth, making it ideal for checking headers without downloading a full page. A GET request retrieves the complete response including the body. For header inspection purposes, HEAD is almost always sufficient. Switch to GET only if a server returns an unexpected result with HEAD or you need to inspect content-negotiation headers that vary based on the body. To test whether a port is open before sending header requests, use our Port Checker.
Why does my site score an F on security headers? +
An F grade means fewer than 20% of the seven key security headers are present. This is common for sites running on shared hosting or default server configurations. Start with X-Content-Type-Options: nosniff and X-Frame-Options: DENY as they are the simplest to implement. Add HSTS last, after confirming your SSL certificate is valid using our SSL Checker, because an HSTS-enabled site with a broken certificate will lock visitors out entirely.
What does the X-Powered-By header reveal and should I remove it? +
X-Powered-By discloses your server-side technology stack — for example, PHP/8.2.10 or ASP.NET. While not a vulnerability itself, advertising your exact software version gives attackers a head start. Best practice is to suppress it in production: in PHP, set expose_php = Off in php.ini; in Express/Node.js, call app.disable('x-powered-by'). You can investigate the hosting provider behind any domain using our ASN Lookup tool.
What is HSTS and how do I enable it safely? +
HTTP Strict Transport Security (HSTS) tells browsers to always connect over HTTPS. To enable it safely: first confirm your SSL certificate is valid using our SSL Checker, then set a short max-age (e.g. 3600) to test, then increase to 31536000 once you are confident. Add includeSubDomains only after confirming all subdomains have valid certificates — verify this with a DNS Lookup to see all your subdomains.
Can I check headers on subdomains, API endpoints and non-standard ports? +
Yes. Enter any fully qualified URL including subdomains, paths, query strings, and non-standard ports (e.g. example.com:8443/health). If a connection fails, use our Port Checker to confirm the port is open, our Ping Test to verify basic reachability, and our DNS Lookup to confirm the domain resolves to the correct IP address.
Why would a 301 redirect hurt my SEO and how do I diagnose it? +
A 301 redirect itself does not hurt SEO — it correctly passes link equity to the destination. The problem arises with redirect chains: A → B → C. Each hop introduces latency and can dilute link equity. This tool shows the Location header and lets you click through to check each hop. For deeper domain analysis, combine with a WHOIS Lookup to verify domain ownership and a DNS Lookup to confirm the destination resolves correctly.
Why does the tool show “CDN: Cloudflare” for a domain? +
When a domain is proxied through Cloudflare, the server adds a CF-Ray header to every response. Our tool detects this and displays “Cloudflare” in the CDN field. Other CDNs identify themselves via the Via header. Knowing that a CDN is present helps explain caching behaviour. For deeper network routing analysis, use our ASN Lookup to identify the hosting network, or our Reverse DNS tool to look up the PTR record for any IP address.
Is this HTTP headers checker completely free? +
Yes — completely free with no limits, no account required, and no data stored. Pair this tool with our other free network tools: SSL Checker for certificate validation, DNS Lookup for record inspection, WHOIS Lookup for domain ownership, Port Checker for service availability, and Ping Test for latency measurement.