Security Headers Checker

Enter a URL to review the security-related HTTP response headers it sends. Each header is classified as present, missing, or weak, with an explanation. The score is a transparent configuration assessment — not a certification.

Input

A bare domain is checked over HTTPS. Internal and private addresses are blocked.

Results

Overview

The Security Headers Checker fetches the HTTP response headers for a URL and reviews nine browser-enforced security headers: Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, and the three Cross-Origin policies. Each is marked present, missing, or weak, with a plain-language explanation of what it does and why it might matter.

It is useful for reviewing a site before launch, verifying that a CDN or proxy change did not drop a header, and learning what each header is for. The result is a configuration assessment, not a security certification.

How It Works

The tool uses this site's HTTP Headers function to retrieve the final response headers (after following redirects safely), then evaluates them locally in your browser using fixed rules. For example, a Content-Security-Policy that includes 'unsafe-inline' is classified weak rather than present; an HSTS max-age shorter than six months is weak; X-Frame-Options: ALLOW-FROM is weak because it is deprecated; and X-Frame-Options counts as present if the CSP has a frame-ancestors directive that does the same job.

The score is deliberately simple and fully shown. Each of the nine headers is worth an equal share of 100 points (about 11.1 each); a present header earns its full share, a weak one half, and a missing one nothing. The breakdown table lists every contribution, so you can see exactly where points came from. Server, Via, Cache-Control and Set-Cookie are reported as additional information and are not scored.

How to Use the Security Headers Checker

  1. Enter a URL such as https://example.com. A bare domain is checked over HTTPS.
  2. Press Analyze.
  3. Read the score and breakdown, then the explanation beside each header.
  4. Decide which findings apply to your application; copy the results if you need to share them.

Worked Example

Reviewing a site that sets five headers

This runs the tool's real rules on a hypothetical set of headers: HSTS with a one-year max-age, nosniff, a CSP that allows inline scripts, X-Frame-Options: SAMEORIGIN, and a Referrer-Policy.

Input

strict-transport-security: max-age=31536000
x-content-type-options: nosniff
content-security-policy: default-src 'self'; script-src 'self' 'unsafe-inline'
x-frame-options: SAMEORIGIN
referrer-policy: strict-origin-when-cross-origin

Output

Score: 50 / 100  (Configuration assessment (not a certification))

Content-Security-Policy        Weak
Strict-Transport-Security      Present
X-Content-Type-Options         Present
X-Frame-Options                Present
Referrer-Policy                Present
Permissions-Policy             Missing
Cross-Origin-Opener-Policy     Missing
Cross-Origin-Resource-Policy   Missing
Cross-Origin-Embedder-Policy   Missing

Four headers are present and score fully; the CSP counts as weak because of 'unsafe-inline', so it earns half; and Permissions-Policy and the three Cross-Origin headers are missing and earn nothing. That gives 50 out of 100.

A low-looking score is not a verdict. A static brochure site may not need the Cross-Origin isolation headers, which mainly matter for sites that use features such as SharedArrayBuffer. The explanations help you decide which gaps are relevant.

Interpreting Results

Present
The header is set to a reasonable value.
Weak
Set, but in a way that reduces its protection, such as a CSP allowing 'unsafe-inline' or 'unsafe-eval', a short HSTS lifetime, or a deprecated value.
Missing
Not sent. This is a finding to consider, not automatically a vulnerability.
Potentially problematic
Used for other headers where a setting merits review, for example a cookie without Secure, HttpOnly or SameSite.
Informational
Facts such as the Server header's contents, which may disclose software details some organizations prefer not to expose.

Troubleshooting

A header I set is reported missing.
It may be set only on some routes (for example HTML pages but not redirects), or a CDN may strip or override it. Test the exact URL users load, and compare with curl -I.
Only one cookie is assessed.
The underlying header fetch exposes a single Set-Cookie value. Inspect others in your browser's developer tools.
The results differ between pages.
Headers are often configured per path. Run the checker on each important URL.
"Only http:// and https:// URLs are supported" or "cannot be checked".
Use a public web address. Internal and private hosts are refused.

Limitations and Accuracy

  • It evaluates headers only. It does not test your application, scan for vulnerabilities, or review code.
  • Rules are generalized guidance. Some headers, such as the Cross-Origin family, are context-dependent.
  • The result reflects one request from this site's servers; other clients may receive different headers.
  • For CSP the tool checks for common weakening patterns, not whether the policy is correct for your application.

Data Handling

Uses server-side requests. The URL you enter is sent to this site's server function, which requests it from the target server. The analysis then runs in your browser.
Sent to: The web server you named. That server sees a request from this site's infrastructure.

Inputs travel as URL query parameters, so avoid entering confidential internal hostnames or personal data. See the Privacy Policy for how requests are handled.

Frequently Asked Questions

Is a score of 100 "secure"?

No. It means these nine headers are set to acceptable values. Security also depends on application code, dependencies, authentication, and configuration the headers cannot reveal.

Which header matters most?

It depends on the site. A site handling logins benefits strongly from HSTS and a restrictive CSP; a static page matters less. Read the explanations and apply judgment.

Where can I read the specifications?

See the W3C Content Security Policy specification, RFC 6797 for HSTS, and the OWASP Secure Headers Project.