Free tool

Security headers checker

Enter a website address and get a grade for the HTTP security headers its page sends: HTTPS and HSTS, Content-Security-Policy, framing protection, cookie flags and more. Each result says what it means and how to fix it. We read the headers once and store nothing.

Start the check

Our server reads the page's headers once, without the page body. The address and the result are not stored.

What the checker looks at

Security headers are instructions a site sends with each page, telling the browser how strict to be. They are cheap to add and they blunt whole classes of attack, such as cross-site scripting and clickjacking. The checker reads the headers of the page you enter, after following up to four redirects, and checks ten things.

CheckWhat it protects against
HTTPS and Strict-Transport-SecurityTraffic being read or changed on the way, and downgrades to plain HTTP
Content-Security-PolicyInjected scripts running in your visitors' browsers
frame-ancestors or X-Frame-OptionsClickjacking: your page loaded invisibly inside someone else's
X-Content-Type-OptionsBrowsers treating an uploaded file as a script
Referrer-PolicyPrivate paths and tokens leaking to other sites
Permissions-Policy and Cross-Origin-Opener-PolicyMisuse of browser features and cross-window attacks
Version disclosure and cookie flagsTelling attackers what to try, and cookies stolen or sent cross-site

How the grade is worked out

Each check has a weight, with HTTPS, HSTS and the Content-Security-Policy weighing most. A pass counts in full, an improvement counts half and a missing header counts nothing. The score becomes a grade from A to F. A policy that exists but allows inline scripts gets half marks, because it looks like protection without giving much.

Headers are one layer. A grade A site can still have broken access control or an injectable form. Headers make attacks harder; they do not replace a penetration test or secure code.

Fixing what it finds

Most headers are set in one place: the web server, the CDN, or the framework's configuration. Add the simple ones first (nosniff, Referrer-Policy, framing, HSTS once HTTPS works everywhere), then build the Content-Security-Policy in report-only mode, read the reports and enforce it. Our secure by default web checklist puts headers in context with the other basics, and the security test picker helps you decide what to check next.

What the checker does not do

It reads one page's response headers and nothing else: no crawling, no attack traffic, no page content. It does not check private or local addresses, odd ports or sites that need a sign-in. Only check sites you own or are allowed to assess, and treat the grade as a quick reading, not an audit.

A small first step

Not sure which security check you need?

Tell us what you are shipping, what it handles and who has to sign it off. On a short call we recommend a scan, a penetration test or a code review, the scope that makes sense, and what the report should contain.

Message us on WhatsApp

Questions we get asked

  • Start with HTTPS and Strict-Transport-Security, then a Content-Security-Policy that restricts scripts, then framing protection and X-Content-Type-Options. Those four close the most common browser-side attacks. Referrer-Policy, Permissions-Policy and cookie flags are quick additions once the basics are in place.

  • Allowing inline scripts lets any script that an attacker manages to inject run as if it were yours, which is what a Content-Security-Policy exists to stop. Use nonces or hashes for the inline scripts you need. Some frameworks that prerender pages make this hard, so the warning can be a known trade-off.

  • No. Our server makes one request to read the page's headers, grades them and sends the result back to your browser. The address and the result are not saved or logged. Checks are limited to ten a minute per visitor to prevent misuse.

  • The checker makes one ordinary request, the same as a browser opening the page, and reads only the response headers. That is how every visitor sees a site. Even so, use it on sites you own or are responsible for, and ask first before any deeper testing.

Keep exploring

Ready to build something secure?

Tell us about your product. We will reply with a clear plan.

Start a project

We would like to use Microsoft Clarity to see how visitors use the site, so we can improve it. It sets cookies and is off unless you accept. Cookie policy