Strict-Transport-Security (HSTS) Header Builder
NetworkBuild a Strict-Transport-Security response header from a max-age plus includeSubDomains/preload flags, flagging combinations that won't qualify for browser HSTS preload lists, or parse an existing header
Enter a max-age in seconds and choose whether to add includeSubDomains and preload, and get back the assembled Strict-Transport-Security header value plus a plain-English read on whether it qualifies for a browser's built-in HSTS preload list. Preload lists require all three at once: max-age of at least one year, includeSubDomains, and the preload token itself, so this tool checks that combination and warns when one piece is missing. It also parses an existing header value back into its parts, useful for checking what a live response is actually sending. It is pure string assembly and lookup, it never checks whether a domain is actually on the real hstspreload.org submission list.
How to use Strict-Transport-Security (HSTS) Header Builder
- 1.Pick a preset or set a custom max-age in seconds, then toggle includeSubDomains and preload as needed.
- 2.Copy the generated header and add it to your server or CDN's HTTPS response config.
- 3.Or paste an existing Strict-Transport-Security header into the parse box to see its max-age, flags, and preload-list eligibility explained.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/hsts-header-builder \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"maxAge":31536000,"includeSubDomains":true,"preload":true,"header":"max-age=31536000; includeSubDomains; preload"}'Get an API key from your dashboard · Full API docs →