HTTP Headers Checker

Try: gov.uk · github.com · bbc.co.uk

What are HTTP headers?

Every time a browser asks for a web page, the server replies with a status code and a set of headers before the page itself. Headers carry instructions and information you never see on screen: what type of content is coming, how long it can be cached, whether it's compressed, where to go instead (a redirect), and which security rules the browser should enforce.

Status codes

200
OK – the page was found and sent.
301 / 308
Moved permanently – the page now lives at a new address. Search engines move their listing across.
302 / 307
Moved temporarily – go here for now, but keep the old address.
403
Forbidden – the server refused the request.
404
Not found – nothing exists at that address.
500 / 502 / 503
Server errors – something went wrong on the website's side, or it's overloaded.

Why redirects matter

A site should send anyone who types http:// straight to the secure https:// version, ideally with a single permanent (301) redirect. Long chains – http to https to www to a language folder – each add a round trip and slow the first visit down. They can also lose search ranking if temporary redirects are used where permanent ones should be.

Security headers explained

These headers tell the browser to switch on extra protection. They cost nothing and are usually a few lines in the web server configuration or .htaccess file.

How is the grade worked out?

Each security header is worth points (HSTS and CSP 25 each, X-Frame-Options and X-Content-Type-Options 15 each, Referrer-Policy and Permissions-Policy 10 each), giving a score out of 100 and a grade from A+ to F. Sites not using HTTPS are capped at a low grade. It's a quick guide to how well a site uses the protection browsers offer – not a full security audit.

More free tools