Security Headers
Security Headers Scanner
Paste a URL. We read its HTTP response headers and grade your defenses: Strict-Transport-Security, Content-Security-Policy, clickjacking protection, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy — with an A–F score and how to fix each gap.
What this checks
- HSTS: forces HTTPS and prevents downgrade attacks.
- Content-Security-Policy: the strongest defense against XSS and injection.
- Clickjacking:
X-Frame-Optionsor CSPframe-ancestors. - MIME sniffing:
X-Content-Type-Options: nosniff. - Referrer & Permissions policy: limit referrer leakage and powerful browser features.
Frequently asked questions
Which security headers matter most?
HSTS, Content-Security-Policy, and clickjacking protection (X-Frame-Options / frame-ancestors) give the biggest wins. The tool grades all of them A–F.
What is HSTS?
Strict-Transport-Security forces browsers to use HTTPS, preventing downgrade attacks. Use a long max-age with includeSubDomains.
Is a missing CSP a real problem?
Yes — Content-Security-Policy is the strongest defense against XSS. Add an enforcing policy without
unsafe-inline.Related free tools
- All tools — browse every free hosts.click tool.
- Cache checker — grade HTTP cache + CDN headers.
- Redirect checker — trace the full redirect chain.