What are HTTP headers?
Every time your browser loads a page, the server sends back more than the page itself. Before the content comes a short list of headers: labelled lines that tell the browser what kind of file it is, how long it can be cached, whether to redirect, which security rules to follow and more. You never see them in a normal visit. This tool shows them, with a note on what each one means.
Headers worth knowing
| Header | What it does |
|---|---|
| Cache-Control | How long browsers and CDNs may keep a copy. Too short slows the site down; too long means visitors see old content after an update. |
| Content-Type | What the file is, such as text/html, and its text encoding. |
| Location | Where a redirect is sending you. Only appears with a 3xx status code. |
| Server | The web server or host that answered, such as nginx or cloudflare. |
| Set-Cookie | Asks the browser to store a cookie. |
Security headers
A handful of headers make a site harder to attack. They cost nothing to add, and security scanners check for them. We flag any of these that are missing:
- Strict-Transport-Security (HSTS): makes browsers always use https:// for the site, so a connection can't be quietly downgraded.
- Content-Security-Policy: lists where the page may load scripts and other files from. It's the strongest defence against cross-site scripting, but it takes care to set up without breaking the site.
- X-Content-Type-Options: nosniff: stops browsers treating a file as something it isn't.
- X-Frame-Options or CSP
frame-ancestors: stops other sites showing yours inside a hidden frame to trick people into clicking things (clickjacking). - Referrer-Policy: controls how much of your page address is shared when visitors click away to another site.
- Permissions-Policy: switches off browser features like the camera or location for pages that don't need them.
Missing headers don't mean a site is unsafe, and plenty of big sites skip some of them. They're best seen as extra layers of protection.
Why the headers might differ from what you see
Servers can answer differently depending on who's asking. Our check comes from a Cloudflare data centre, without your cookies or login, so you may see different caching headers, a different language, or a page that blocks automated visitors with a 403. If an address redirects, we show the headers of the first answer only, with a link to check the next address. The redirect checker shows the whole chain.