HSTS preload requirements
To appear on the browser HSTS preload list, a site’s Strict-Transport-Security
header must meet specific rules from hstspreload.org. This reference explains
each requirement and includes a validator that checks a header value for
max-age, includeSubDomains and the preload directive.
How it works
HSTS is sent as a single response header over HTTPS:
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
For preload, hstspreload.org requires max-age of at least one year
(31536000), the includeSubDomains directive, and the preload directive —
in addition to a valid certificate and HTTP-to-HTTPS redirects. The validator
parses the directives, confirms each rule, and reports what is missing.
Tips and notes
- Preload is a long-term commitment — removal ships slowly in browser releases.
includeSubDomainsforces every subdomain to HTTPS; verify they all work first.- The base-domain HTTP response must redirect to its own HTTPS before anything else.
- Without
preload, the same header still enables ordinary dynamic HSTS.