HTTP headers checker
The security headers we look for
| Header | What it does |
|---|---|
Strict-Transport-Security | Tells browsers to use HTTPS only for your site from now on (HSTS). |
Content-Security-Policy | Limits where scripts, styles and images may load from; the strongest defence against injected scripts. |
X-Frame-Options | Stops other sites showing yours in a frame (clickjacking). |
X-Content-Type-Options | nosniff stops browsers guessing file types. |
Referrer-Policy | Controls how much of your URL is sent to other sites in links. |
Permissions-Policy | Turns off browser features you don't use, like the camera or location. |
With Caddy or nginx on your server you add these in a few lines (Caddy guide, nginx guide).
Questions
Does it download the page?
No. It reads the status line and headers and closes the connection.
Which addresses can it check?
Public sites on ports 80, 443, 8080 and 8443, found through public DNS. Private networks are never contacted.
Why does it say a header is missing when my browser shows it?
Some sites send different headers to different clients, or only on some pages. Check the exact URL, and remember the result is for the final page after redirects.
More free tools: SSL certificate checker, DNS lookup, open port checker, all tools.