HSTS Preload Requirements Reference

Strict-Transport-Security header requirements for preload list inclusion.

Reference and validator for the HSTS Strict-Transport-Security header — max-age, includeSubDomains and preload directives — checked against hstspreload.org submission requirements.

What is the HSTS preload list?

It is a list of domains hard-coded into browsers that are always loaded over HTTPS, even on the very first visit. Being on the list closes the gap before the first HSTS header is received, preventing an initial plaintext request that could be hijacked.

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.
  • includeSubDomains forces 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.