HSTS Checker
- Non-Intrusive Scan
- HSTS preload eligibility
What is an HSTS check?
HTTP Strict Transport Security (HSTS, RFC 6797) is a response header that tells browsers to use only HTTPS for a host for max-age seconds, and for its subdomains too when it includes includeSubDomains. An HSTS check fetches the site over HTTPS, reads the header and confirms it follows the RFC 6797 grammar, because browsers ignore a malformed header entirely.
The checker runs the same scan as the Security Headers Checker, so each check is also saved as a full security headers report with a shareable link.
What the HSTS checker reports
max-age
How long, in seconds, browsers keep using HTTPS for the host. One year (31536000) is the minimum for the preload list. max-age=0 tells browsers to forget the policy.
includeSubDomains
Applies the policy to every subdomain. Check that every subdomain serves HTTPS before you add it.
preload
Asks to be added to the browser preload list. hstspreload.org recommends HSTS but not preloading, because browsers such as Chrome and Safari already upgrade HTTP navigations to HTTPS, and removal from the list is slow.
Syntax
max-age is required and each directive may appear only once. Browsers ignore a header that breaks these rules, and when a response sends several HSTS headers they use only the first.
HSTS preload requirements
How the A+ to F grade works
- A+
- 95-100
- A
- 85-94
- B
- 70-84
- C
- 55-69
- D
- 40-54
- F
- 0-39
Related checks and next steps
- HTTP Security Headers Checker
Grade HSTS with CSP, X-Frame-Options and seven more response headers.
- CSP Evaluator
Check the Content-Security-Policy the same site sends.
- Cloudflare Checker
See whether the site's traffic goes through Cloudflare.
- Website Security Check
A broader scan of a site you own, with email verification.
Managed Cloudflare
Keep Cloudflare configured, monitored and improving. Vigilbase handles agreed changes and incident response, with Core, Priority and Critical coverage options.
Explore Managed CloudflareManaged SOC
Managed SOC on the security tools you already pay for. The Vigil agent investigates, our analysts handle exceptions, and coverage follows your SLA tier.
Explore Managed SOC