# HTTP header checker

> Free HTTP header checker: any URL's response headers explained in plain English, plus security headers (HSTS, CSP), caching, CDN and cookies.

Source: https://checkifsitedown.com/tools/http-header-checker

See the response headers a website sends, with a plain-English note for each one, a check of its security headers and its cookies' settings.

Before a server sends a page, it sends a few lines about it: the **HTTP response headers**. They decide whether the page is cached, which cookies are stored, which security rules the browser applies and whether search engines may index it. They also reveal which server or CDN answered. This checker fetches any public address the way a browser does, lists every header it gets back, explains each one in plain English, and checks the security headers and cookie settings.

## What the checker shows

- **Every response header**, in the order the server sent it, with a short explanation of the common ones.
- **Security headers:** HSTS, Content-Security-Policy, X-Content-Type-Options, framing protection, Referrer-Policy and Permissions-Policy, each marked as set, weak or missing, with what to do.
- **Cookies:** each cookie's name and settings (Secure, HttpOnly, SameSite, session or persistent). The values stay hidden.
- **Connection:** the status code, HTTP version (1.1, 2 or 3), response time and the CDN in front of the site, if any.
- **Redirects:** with "Follow redirects" ticked you see the final page's headers; untick it to see the headers of the redirect itself. The [redirect checker](https://checkifsitedown.com/tools/redirect-checker) shows every step.

## A worked example

Here are some of the headers `https://github.com/` sent our checker on 27 November 2026, and what they mean:

| Header | Value | What it means |
| --- | --- | --- |
| `strict-transport-security` | `max-age=31536000; includeSubdomains; preload` | Browsers use HTTPS only, for a year, on every subdomain too. `preload` asks to be on the browsers' built-in HTTPS-only list. |
| `content-security-policy` | `default-src 'none'; …` | Nothing may load unless the policy allows it. A strict policy, and it includes `frame-ancestors`. |
| `x-frame-options` | `deny` | No site, not even GitHub itself, may show the page in a frame. |
| `cache-control` | `max-age=0, private, must-revalidate` | The page is personal, so CDNs mustn't store it and browsers must check for a new version every time. |
| `set-cookie` | `_gh_sess=(hidden); path=/; HttpOnly; secure; SameSite=Lax` | A session cookie that page scripts can't read, sent only over HTTPS, and not sent with most requests from other sites. |

The checker scored GitHub 5 of 6 on security headers. The one it doesn't send is `Permissions-Policy`, which is optional. For comparison, Wikipedia's main page sent HSTS but none of the other five that day. A missing header is a prompt to look closer, not proof that a site is unsafe.

## Adding the missing security headers

Most of them are a single line in your server or CDN settings. A safe starting set for a typical website:

| Header | Value |
| --- | --- |
| `Strict-Transport-Security` | `max-age=31536000` |
| `X-Content-Type-Options` | `nosniff` |
| `X-Frame-Options` | `SAMEORIGIN` |
| `Referrer-Policy` | `strict-origin-when-cross-origin` |
| `Permissions-Policy` | `geolocation=(), camera=(), microphone=()` |

- **Apache or LiteSpeed** (most shared hosting): add them to `.htaccess` with `Header always set …`.
- **Nginx:** use `add_header … always;` in the server block.
- **Cloudflare:** add a response header Transform Rule (under Rules), and turn on HSTS under SSL/TLS → Edge Certificates.

Only add HSTS once every part of the site works over HTTPS: browsers will refuse plain HTTP for as long as max-age says. Leave `Content-Security-Policy` for last and test it in report-only mode first, because a policy that's too strict blocks your own scripts and styles.

## Headers that help when something's wrong

| Header | What it tells you |
| --- | --- |
| `Retry-After` | How long to wait after a [429 Too Many Requests](https://checkifsitedown.com/guides/error-429-too-many-requests) or a 503. |
| `X-RateLimit-Remaining` | How many requests you have left before an API starts refusing them. |
| `cf-ray`, `cf-cache-status` | The site is behind Cloudflare; the ray ID is what Cloudflare support asks for when you report a [522](https://checkifsitedown.com/guides/error-522-connection-timed-out) or other Cloudflare error. |
| `cf-mitigated: challenge` | Cloudflare showed a "verify you're human" check instead of the page. This is why automated checkers sometimes [wrongly report a site as down](https://checkifsitedown.com/guides/why-site-checkers-get-false-down-results). |
| `X-Robots-Tag: noindex` | The page asks search engines to leave it out of results, a common reason a page never shows up in Google. |
| `Cache-Control`, `Age` | Whether you're seeing a cached copy, and how old it is. Useful when a change "isn't showing". |

## What this checker can and can't see

We request the address from our server as a first-time visitor with a normal browser identity, using a plain GET request with no cookies of yours. Pages that depend on a login, your location or your cookies can send you different headers. Bot protection may answer us with a challenge page; we say so when we can tell. We only check public websites, never show the page's content or cookie values, and don't store the results. To see whether a site is up at all, use the [website down checker](https://checkifsitedown.com/); for certificate details, the [SSL checker](https://checkifsitedown.com/tools/ssl-checker).

## Frequently asked questions

**What are HTTP headers?**

Every time your browser loads a page, the server sends a few lines of information before the page itself: the **response headers**. They say what kind of content it is, how long it may be cached, which cookies to store, which security rules apply, and which server or CDN answered. Visitors never see them, but they decide a lot about speed, security and search engines.

**Which security headers should a website have?**

The usual set is `Strict-Transport-Security` (HTTPS only), `X-Content-Type-Options: nosniff`, framing protection (`X-Frame-Options` or CSP `frame-ancestors`), `Referrer-Policy` and, where possible, a `Content-Security-Policy`. `Permissions-Policy` is a useful extra. Most are a single line in the server or CDN settings; a Content Security Policy takes more care because it can block parts of your own site if it's too strict.

**Why do I see different headers from my browser's developer tools?**

Servers can answer differently depending on who asks: your cookies, whether you're logged in, your country, or a cached copy. We request the page from our server as a first-time visitor with a normal browser identity. Bot protection (Cloudflare and others) may also answer us with a challenge page, whose headers differ from the real page's; we tell you when that happens.

**What does Retry-After mean?**

It tells the visitor (or app) how long to wait before trying again, in seconds or as a date. Servers send it with **429 Too Many Requests** and **503 Service Unavailable**. See our guide to [error 429](https://checkifsitedown.com/guides/error-429-too-many-requests).

**Why are cookie values hidden?**

A cookie's value is usually a random ID that means nothing outside the site, and it can be a session token. We show each cookie's name and settings (Secure, HttpOnly, SameSite, expiry), which is what matters for checking it, and never display or store the value.

## More free tools

- [Website down checker](https://checkifsitedown.com/): Is a site down for everyone or just you?
- [What is my IP](https://checkifsitedown.com/tools/what-is-my-ip): Your public IPv4 and IPv6 address, location and provider, plus a lookup for any IP.
- [VPN leak test](https://checkifsitedown.com/tools/vpn-leak-test): Check that your VPN hides your real IP: tests for IP, DNS, WebRTC and IPv6 leaks.
- [What is my DNS server](https://checkifsitedown.com/tools/what-is-my-dns-server): The DNS servers your browser really uses, and who runs them.
- [DNS lookup](https://checkifsitedown.com/tools/dns-lookup): All DNS records for any domain (A, MX, TXT, NS and more), or reverse DNS for an IP.
- [DNS propagation](https://checkifsitedown.com/tools/dns-propagation): See whether a DNS change has reached Google, Cloudflare, Quad9 and 9 other resolvers.
- [SSL checker](https://checkifsitedown.com/tools/ssl-checker): Expiry date, issuer, names covered, chain and trust for any site's HTTPS certificate.
- [Redirect checker](https://checkifsitedown.com/tools/redirect-checker): Every redirect a URL goes through, with status codes, timings and loop detection.
- [Password generator](https://checkifsitedown.com/tools/password-generator): Random passwords or memorable passphrases, generated privately in your browser.
