Interactive Builder 100% Browser-Local Zero Tracking

Interactive HSTS Header Generator & Preload Validator

Build a compliant Strict-Transport-Security header with staged rollout presets (5 minutes to 2 years) and instant hstspreload.org eligibility checks.

HSTS Configuration

Generated HSTS Header & Preload Status

Frequently Asked Questions

What are the requirements for hstspreload.org?

You must serve a valid HTTPS cert, redirect all HTTP to HTTPS on the same host, serve HSTS on the base domain with `max-age>=31536000` (1 year), `includeSubDomains`, and `preload`.

How should I roll out HSTS safely without breaking subdomains?

Start with `max-age=300` (5 minutes), verify all subdomains support HTTPS, then increase to 1 week, 1 month, and finally 2 years (`63072000`) with `preload`.

Why do browsers show 307 Internal Redirect after enabling HSTS?

Once cached, browsers upgrade any `http://` link to `https://` internally before making a network request, logging a synthetic `307 Internal Redirect`.

Related Tools & HTTP Status Guides