lintpage
~/tools/security-headers-checker

Security Headers Checker

Grade your site's HTTP security headers in seconds. Missing headers like CSP and HSTS leave you open to clickjacking, MIME sniffing, and protocol-downgrade attacks.

§ what this tool checks

Rules applied to every scan.

Security headers are the cheapest hardening you can ship — a few lines of server config that tell the browser how to protect your users. Without them, your site is exposed to clickjacking, MIME-type sniffing, and protocol-downgrade attacks. This tool reads your live HTTP response headers, grades what you have against the headers every site should send, and shows exactly which ones are missing.

Content-Security-Policy (CSP) against injection and clickjacking
Strict-Transport-Security (HSTS) to force HTTPS
X-Content-Type-Options to stop MIME sniffing
Permissions-Policy to lock down browser features
Referrer-Policy and X-Frame-Options
An overall letter grade for your header coverage
§ faq

Questions, answered.

What are HTTP security headers?
Security headers are directives your server sends in every HTTP response that tell the browser how to behave more safely — which sources may load scripts, whether the site may be framed, whether to force HTTPS, and more. They are a server-side configuration, invisible to users, and among the highest-impact, lowest-effort security improvements you can make.
Which security headers are most important?
Content-Security-Policy is the single most powerful header — it restricts where scripts, styles, and other resources can load from, mitigating cross-site scripting and clickjacking. Strict-Transport-Security (HSTS) forces browsers to use HTTPS and prevents downgrade attacks. X-Content-Type-Options: nosniff stops MIME-type confusion attacks. Together these three cover the most common web vulnerabilities.
How do I add security headers to my site?
Where you set them depends on your stack: in Next.js use the headers() function in next.config.js; on Nginx use add_header directives; on a CDN like Cloudflare or Vercel use the dashboard or a config file. Start with X-Content-Type-Options and HSTS (they are safe to enable broadly), then build a Content-Security-Policy carefully and test it in report-only mode before enforcing.
Do security headers affect SEO?
Not directly — Google does not rank you higher for sending them. But they protect against attacks (defacement, injected spam links, malware) that absolutely destroy rankings, and HSTS reinforces the HTTPS that Google does reward. Think of security headers as insurance: they prevent the catastrophic SEO losses that come from a compromised site.
§ run the full audit

Stop guessing. Scan everything in one click.

60 automated checks across meta tags, robots.txt, Open Graph, sitemaps, headings, AI visibility, and more — free, no signup.

run a full scan →