Skip to main content
Direct WebTools

Security Headers Scanner

Scan any website for HTTP security headers like CSP, HSTS, X-Frame-Options and Permissions-Policy, and get a security grade from A to F in seconds.

Grade
Headers Present:
HTTP Status:
Header Status

Examples

Click an example to fill in the URL. The scan runs when you click Scan.

URL Result (illustrative format)
https://example.com Grade B · 5/7 headers present · Strict-Transport-Security missing
https://www.example.com Grade C · 4/7 headers present · Content-Security-Policy missing
https://example.org Grade D · 3/7 headers present · Referrer-Policy missing
https://example.net Grade B · 6/7 headers present · Permissions-Policy missing

Frequently asked questions

What does Content-Security-Policy protect against?

CSP restricts where the page may load scripts, styles and other resources from, making XSS exploitation and third-party content injection harder. It is one of the most effective controls against cross-site scripting.

What does HSTS (Strict-Transport-Security) do?

HSTS tells the browser to use HTTPS only on that domain for the max-age period, even when links are typed as http://. This prevents downgrade to HTTP and redirection attacks such as sslstrip.

Why is a missing header not automatically a vulnerability?

Each header is a layer of defense in depth, not an absolute requirement. The grade is a hardening indicator: a site without Content-Security-Policy may be secure in other ways; the absence merely reduces resilience against specific attack classes.