Free security headers checker
Generate security.txt or check security.txt and its expiry.
Check the HTTP security headers a website sends: HSTS, Content-Security-Policy, clickjacking protection and the rest, each with a pass, warning or fail and a recommendation.
Reports are public. A site audibot has already checked shows its stored result straight away; a new one runs the full audit, the first without an account.
What the checker reads
The response headers of the site's home page over HTTPS, after following up to five redirects, and /.well-known/security.txt. They come from audibot's ordinary audit, which makes only the requests a browser would — the home page over HTTPS and plain HTTP, robots.txt, the sitemap, security.txt and /llms.txt — and public DNS lookups. Exactly what an audit sends.
The headers audibot checks
- Strict-Transport-Security — Tells the browser to use HTTPS for this host without trying plain HTTP first. Passes with a
max-ageof at least 15552000 seconds (six months); a shortermax-ageis a warning and no header is a fail. - Content-Security-Policy — Limits where the page may load scripts and other resources from, so injected markup cannot run. Passes when an enforced policy is set. A policy whose
script-srcallows'unsafe-inline'without a nonce or hash, or a report-only policy alone, is a warning; no policy is a fail. - X-Content-Type-Options — Stops browsers guessing that a response is a script or a page when the server said otherwise. Passes when set to
nosniff; otherwise a warning. - Clickjacking protection — Stops other sites loading the page in a hidden frame. Passes with any
X-Frame-Optionsvalue or a CSPframe-ancestorsdirective; otherwise a warning. - Referrer-Policy — Decides how much of the page address is sent to the sites it links to. Passes when the header is set; otherwise a warning.
- Permissions-Policy — Switches off browser features such as the camera, microphone or location for scripts on the page. Passes when the header is set; otherwise a warning.
- Software versions — Whether
Server,X-Powered-By,X-AspNet-VersionorX-Generatorname a version number. A version is a warning: it tells an attacker which known vulnerabilities to try. - Cookie flags — Only when the home page sets cookies: whether each
Set-CookiecarriesSecureandSameSite. Any cookie without them is a warning. - security.txt — Not a header, but part of this dimension: the existing security.txt response is parsed for Contact, Expires, HTTPS, text/plain and optional fields. Expired or invalid required fields fail; near-term expiry warns.
Adding the headers? Generate the config for nginx, Apache, Caddy, Netlify, Vercel or Cloudflare Pages with the free security headers generator.
What the score means
Each check scores pass (1 point), warning (½) or fail (0); notes and skipped checks do not count. The security headers score is the average, out of 100. It is one of the 7 dimension scores in a report, not the report's overall grade, which averages all of them. When no response could be read, the checks are shown as skipped and the dimension has no score rather than zero.
What it does not do
- It reads one response: the home page. Headers sent on other pages, API responses or files are not seen.
- It checks the rules above and nothing more. A policy set in a
<meta>tag is not read, and a Content-Security-Policy is checked for'unsafe-inline'scripts, not reviewed in full. - A report shows each check's finding, not a full list of the headers the site sent.
- Results are as of the checked date shown, and change only when the site is audited again.
- Requests are passive. audibot does not scan ports, guess paths, submit forms or try exploits. This is not penetration testing or a full security assessment: a site can pass every check here and still be vulnerable.
Every report is public at /r/<host> and listed under Reports. A site's owner can ask for its report to be taken down.