Tools / Security headers
Security headers scanner & checker
Scan any page and evaluate its HTTP response security headers: the checker fetches the page once and grades the headers from A+ to F, showing which are present, which are missing, and which are set but weak.
More free checks
Run a full security scan or speed test on your site, or try a related tool.
Related free tools
What it checks
Content-Security-Policy— an important browser-side XSS mitigation (weighted highest); also flags'unsafe-inline'/'unsafe-eval'and wildcarddefault-src.Strict-Transport-Security— plus whether it hasincludeSubDomains,preloadand a long enoughmax-age.X-Content-Type-Options,X-Frame-Options(or CSPframe-ancestors),Referrer-Policy,Permissions-Policy.Cross-Origin-Opener-Policy,Cross-Origin-Resource-Policy,Cross-Origin-Embedder-Policyfor cross-origin isolation.- Version disclosure in
Server/X-Powered-By, and a deprecated non-zeroX-XSS-Protection.
Notes
- Passive
GETonly — no crawling, no authentication, no payloads. - Headers are read from the final response after redirects.
- For the full picture (TLS, DNS, cookies, mixed content, reputation) run the free web scan.
Why security headers matter
Security headers are instructions your server sends with every page. They tell the browser to refuse injected scripts, to always use HTTPS, not to let other sites frame your pages, and how much of the URL to share when visitors follow a link. They cost nothing to add, but without them clickjacking, protocol downgrades and cross-site scripting become much easier to exploit. Security questionnaires and penetration test reports usually check them first.
Frequently asked questions
What is a good security headers grade?
Aim for A or A+: a Content-Security-Policy without 'unsafe-inline', HSTS with a long
max-age, and the framing, content-type and referrer headers in place.
Where do I add security headers?
In your web server or CDN: add_header in Nginx, Header set in Apache, or a
response-header rule in Cloudflare. Most web frameworks can also set them in middleware.
Will a strict Content-Security-Policy break my site?
It can, if the site relies on inline scripts or third-party scripts the policy does not list. Start with
Content-Security-Policy-Report-Only, review the violation reports, then enforce the policy.
Our CSP evaluator helps you review it.
Is X-XSS-Protection still needed?
No. Modern browsers removed the XSS auditor, and a non-zero value can cause problems in older ones.
Set it to 0 or leave it out, and rely on a Content-Security-Policy instead.
Can I show my security headers grade on my website?
Yes. Check your home page (for example https://example.com/). If it grades B or better, the
result offers a live badge with HTML and Markdown to copy into your site footer, README or security
page. The badge re-checks your site once a day, so it always shows the current grade, and it links to
this checker so visitors can confirm it.