Webtility
Back to Tools

Free Online Tool

Security Headers Scanner

Free online HTTP security headers scanner for CSP, HSTS, X-Frame-Options, X-Content-Type-Options, and Referrer-Policy.

Security Headers Scanner

Quick fetch

Score

0/100

Critical

2

Warnings

4

Passes

0

Content-Security-Policy

critical

Missing CSP leaves pages exposed to script injection vectors.

Fix: Start with `default-src 'self'` and tighten directives by resource type.

Strict-Transport-Security

critical

HTTPS site without HSTS can be downgraded by first-visit attacks.

Fix: Add HSTS with at least `max-age=31536000; includeSubDomains`.

X-Frame-Options

warning

Missing clickjacking protection can allow hostile iframe embedding.

Fix: Set `DENY` or `SAMEORIGIN` unless framing is intentionally required.

X-Content-Type-Options

warning

`nosniff` is missing, increasing MIME confusion risk.

Fix: Set `X-Content-Type-Options: nosniff`.

Referrer-Policy

warning

No policy means browser defaults may leak more referrer data than intended.

Fix: Use `strict-origin-when-cross-origin` or a stricter policy.

Permissions-Policy

warning

Browser features are not explicitly restricted.

Fix: Set least-privilege feature directives (camera=(), microphone=(), etc.).

What problem does this tool solve?

Security headers are often missing or inconsistent across environments, leaving avoidable browser-level attack surface.

How to use Security Headers Scanner

  1. Fetch response headers from a URL or paste raw header output from curl/devtools.
  2. Review critical and warning findings for missing or weak directives.
  3. Use recommended header values to patch your reverse proxy, CDN, or app server config.

FAQ: Security Headers Scanner

Why are security headers important even on static sites?

Browser-enforced policies reduce clickjacking, MIME confusion, and some injection attack paths.

Can I scan headers without deploying a full scanner stack?

Yes. A quick header pass catches common misconfigurations before launch.

Does passing header checks mean my app is fully secure?

No. Header checks are one layer and should complement broader security reviews.