HSTS Analyzer
Strict-Transport-Security Analyzer
Analyze whether the HSTS max-age, includeSubDomains, and preload combination meets browser and preload list requirements.
Parse Summary
Builder
max-age=31536000; includeSubDomains; preloadJSON Preview
{
"directives": [
{
"key": "max-age",
"value": "31536000"
},
{
"key": "includesubdomains",
"value": null
},
{
"key": "preload",
"value": null
}
],
"maxAgeSeconds": 31536000,
"includeSubDomains": true,
"preload": true,
"warnings": []
}Check HSTS online, assess HTTPS enforcement policy stability first.
Related
Use Cases
- Before enforcing HTTPS site-wide, first confirm if HSTS duration and subdomain policy suit your environment
- Configure reasonable max-age values and enable includeSubDomains via the generator during security remediation
- Self-check configuration includes preload directive to meet browser requirements before applying for HSTS preload
- Confirm HSTS response header is correctly returned and parse each directive when troubleshooting HTTPS downgrade access issues
How to Use
- Paste HSTS response header content into parser, or use generator to fill max-age seconds and check options
- In parse mode, view max-age (readable duration), includeSubDomains, preload, and warnings
- In generate mode, configure max-age seconds, check includeSubDomains and preload options
- Copy generated HSTS content for server configuration or overwrite input area content to continue debugging
Features
- Key directives clearly separated: Duration, subdomain coverage, and preload conditions no longer mixed together
- Self-check before enforcing HTTPS: Avoid amplifying misconfiguration across the entire site
- Preload self-assessment: Help determine if HSTS header is close to preload requirements in advance
- Quick configuration understanding: Intuitive result display for dev, ops, and security team collaboration
FAQ
What is HSTS used for?
HSTS tells browsers to only access this site via HTTPS, reducing downgrade attacks and man-in-the-middle risks. However, it's not suitable to blindly max out settings before the strategy is clear.
What do max-age, includeSubDomains, and preload mean?
max-age indicates HSTS effective duration, includeSubDomains means it also applies to subdomains, and preload relates to browser preload lists. This tool helps you break down each item.
Is it suitable for checking if a website meets HSTS preload requirements?
Yes. It helps you view if core fields are complete, facilitating pre-assessment of whether basic conditions for entering the preload list are met.
Why check HSTS before launch?
Improper configuration may lead to HTTPS policies being too loose or too strict. Parsing before launch helps discover missing fields, unreasonable values, or incomplete subdomain coverage earlier.
- Authentication Header Generator
- Cache-Control Parser
- Content-Disposition Parser
- CORS Header Generator
- CORS Inspector
- CSP Generator
- cURL to Code Generator
- DNS Propagation Checker
- DNS Lookup
- Forwarded Header Parser
- Hreflang Tag Generator
- HSTS Analyzer
- HTTP Cookie Parser
- HTTP Headers Checker
- HTTP Request Tester
- HTTP Status Codes Lookup
- IP Lookup
- IPv4 Converter
- IPv4 Range Expander
- IPv6 Toolbox
- Link Header Parser
- MX Lookup
- Port Checker
- URL Parameter Builder
- Rate Limit Header Parser
- Redirect Chain Checker
- Robots.txt Generator
- Robots.txt Checker
- Security Headers Checker
- Security.txt Generator
- Set-Cookie Parser
- Site Network Audit
- Sitemap Generator
- Sitemap Inspector
- SSL Certificate Checker
- Subnet Calculator
- URL Parser
- User-Agent Parser
- UTM Link Generator
- WebSocket Tester
- What Is My IP?
- WHOIS Lookup