HSTS checker
Check whether a site enforces HTTPS with the HTTP Strict Transport Security header.
Last submissions
What HSTS does
HTTP Strict Transport Security is a response header that tells browsers to always connect to a site over HTTPS, even if the user types or follows an http:// link. Once a browser receives a valid HSTS header, it remembers the instruction for the specified duration and refuses insecure connections to that host.
This protects users against downgrade attacks and accidental insecure requests, which is why HSTS is considered a foundational security header.
How the header works
The header has a maximum-age directive that sets how long the browser should remember the policy, expressed in seconds. An includeSubDomains directive extends the policy to subdomains. The preload directive is used when the site owner wants the domain added to browser preload lists, which enforce HSTS before the first visit.
What valid means here
A valid HSTS header must be served over HTTPS and contain a maximum-age value. The checker reports whether the header is present and whether it appears well-formed. An invalid or missing header does not break the site, but it leaves users exposed to the risks HSTS is designed to prevent.
Deployment considerations
- Start with a short maximum-age to confirm that HTTPS works reliably across the site.
- Ensure all subdomains support HTTPS before adding includeSubDomains.
- Only use preload if you are prepared for the long-term commitment it requires.
- Remember that browsers cache the policy; mistakes can make a site unreachable until the maximum-age expires.
Interpreting the result
If the header is valid, the site is signaling HTTPS enforcement to browsers. If it is missing or invalid, review the server configuration. Test on multiple paths and subdomains, because a header served on the homepage is not always served elsewhere. Treat HSTS as part of a broader HTTPS strategy that also includes valid certificates, correct redirects and secure cookie settings.
Similar tools
Inspect an SSL/TLS certificate: issuer, validity dates, common name and signature type.
Inspect the HTTP response headers returned by a URL for a standard GET request.
Check whether a website serves content over HTTP/2 and see if the protocol is enabled.
Check whether a website serves compressed responses with the Brotli algorithm.
Popular tools
Check which images on a page are missing alt attributes for accessibility and SEO.
Check which images on a page use lazy loading and which load immediately.
Measure the total size of a webpage, including all of its resources.
Check whether a page is blocked from search indexing by meta tags, headers or robots.txt.