HSTS Header Generator
Generate strict HTTP Strict Transport Security (HSTS) headers with max-age, includeSubDomains, and preload flags.
How to Use HSTS Header Generator
Select max-age duration (recommended 1 or 2 years).
Toggle includeSubDomains and preload flags.
Copy header configuration for Nginx, Apache, or Caddy.
HSTS Header Generator runs 100% client-side in your web browser. Your data, passwords, keys, and files are processed using the Web Crypto API and never transmitted to any server. Zero telemetry, zero storage, zero cloud processing.
Frequently Asked Questions
What does the HSTS preload flag do?
It allows your domain to be hardcoded into Chrome and Firefox source code so browsers never attempt an insecure HTTP connection.
Related Security Tools
SSL Certificate & Expiry Checker
Inspect SSL/TLS certificate validity, expiration date, issuer CA, SAN domains, and days remaining.
TLS Configuration Checker
Evaluate supported TLS versions (TLS 1.2, TLS 1.3), cipher suites, and obsolete protocol risks.
HTTPS & Redirect Chain Checker
Trace HTTP to HTTPS redirects, detect insecure mixed-content hops, and verify 301 permanent rules.
Security Headers Inspector
Scan web servers for critical headers: CSP, HSTS, X-Frame-Options, X-Content-Type-Options, and Referrer-Policy.
HTTP Header Analyzer
Inspect raw response headers, caching directives, server signatures, and potential information leaks.
CSP (Content Security Policy) Generator
Visual rule builder to create robust Content-Security-Policy headers restricting script, style, and media sources.