Tested tool guide
Tested browser tools
Checked August 16, 2026
What HSTS Header Builder does, with a checked example
The HSTS Header Builder turns a retention choice and scope flags into a Strict-Transport-Security response field, then evaluates that selection against preload-oriented requirements and max-age guidance. Choose how many seconds browsers should remember the policy, whether it covers subdomains, and whether the field carries the preload token. The generated line shows the header name and value that an HTTPS response should reproduce. The point most often missed is that preload is only a declaration of intent. It neither submits the domain nor proves that the live site's HTTPS and redirect behavior qualifies for a browser preload list.
Worked example
A concrete input and expected output from the current implementation.
Input
max-age = 31536000 seconds; includeSubDomains = enabled; preload = enabled
->
Expected output
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
The numeric value is preserved as seconds, and each enabled option becomes a valueless directive. The duration is exactly 365 days because 365 x 24 x 60 x 60 = 31,536,000.