Free security headers checker
Grades the HTTP headers that protect your visitors, and shows the fix for your host.
What it checks
- Strict-Transport-Security (HSTS), so browsers always use HTTPS
- Content-Security-Policy, the strongest defence against injected scripts
- Clickjacking protection (X-Frame-Options or frame-ancestors)
- X-Content-Type-Options, Referrer-Policy and Permissions-Policy
- Cookie flags (Secure, HttpOnly, SameSite) and version banners that give attackers a head start
It makes a few ordinary requests to the domain you enter, the same ones a browser or mail server would, and stores nothing about you or the result. Only public sites can be checked.
Questions
- What are security headers?
- Short instructions your server sends with every page that tell the browser to switch on built-in protections: always use HTTPS, never run scripts from unexpected places, never let another site frame yours. They cost nothing and stop whole classes of attack.
- Which one matters most?
- Strict-Transport-Security and Content-Security-Policy. HSTS is a one-line change. A good Content-Security-Policy takes more care, so start with a report-only policy and tighten it.
- Does this scan my whole site?
- No. It requests your home page once, the way a browser would, and reads the response headers. Nothing is stored.
How to fix what it finds
- How to add the HSTS header (Strict-Transport-Security)
- How to add a Content-Security-Policy header
- How to prevent clickjacking with X-Frame-Options
- How to add X-Content-Type-Options: nosniff
- How to add a Referrer-Policy header
- How to add a Permissions-Policy header
- How to hide your web server and framework version