The Website Previewer

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.

Free · no signup

What this checks

  • HSTS: forces HTTPS and prevents downgrade attacks.
  • Content-Security-Policy: the strongest defense against XSS and injection.
  • Clickjacking: X-Frame-Options or CSP frame-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

Toggle navigation