NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 187 · S07 · SSL / TLS · Updated Nov 2026

HSTS Checker

Check max-age, includeSubDomains and preload readiness for Strict-Transport-Security.

Server Free No sign-up
API & MCP
100www.dev/tools/hsts-checker?u=https%3A%2F%2Fexample.com
Result

Run the check to see the report.

The page is fetched by our probe service with a fixed user agent and a short timeout. No page content is stored.

What it does

HSTS tells browsers to use HTTPS for a host for a period of time, and optionally for all subdomains. It closes the gap where a first request over HTTP can be intercepted before the redirect to HTTPS. This checker reads the header and evaluates the settings that matter.

How it works

The header is Strict-Transport-Security: max-age=31536000; includeSubDomains; preload. max-age is in seconds and applies per host. A value of 0 removes the policy, which is how sites roll back.

Without includeSubDomains, the policy covers only the exact host that sent it. A subdomain can still be reached over HTTP. With it, every subdomain is forced to HTTPS — including internal names that may not have certificates, which is a common outage.

HSTS is only honoured over a secure connection. A header sent over plain HTTP is ignored by browsers, so the redirect must happen before the header is delivered. The first visit is still vulnerable unless the site is on the preload list.

Preload submission requires a long max-age, includeSubDomains, a working HTTPS site for every subdomain and a successful review. Once accepted, the policy is built into browsers and removal takes months. Treat it as a one-way door.

Choose max-age deliberately. A year is typical for production; start shorter while validating, then raise it. If you are not prepared to support HTTPS on every subdomain forever, leave includeSubDomains off.

When to use it

  • Audit HSTS before a security review.
  • Decide whether a site is ready for preload.
  • Explain a subdomain outage caused by includeSubDomains.
  • Verify that a rollback header is actually served.

Glossary

HSTS
Strict-Transport-Security: a header that forces HTTPS for future requests.
max-age
How long, in seconds, the browser remembers the policy.
includeSubDomains
Extends the policy to every subdomain of the host.
Preload
A browser-shipped list of hosts that are HTTPS-only from the first request.
Rollback
Sending max-age=0 to clear the policy in browsers that have seen it.

Frequently asked questions

Does HSTS replace an HTTP-to-HTTPS redirect?+

No. The redirect still handles first-time visitors. HSTS prevents future attempts from going over HTTP at all, closing the interception window after the first visit.

Why did a subdomain break after enabling HSTS?+

includeSubDomains applied the policy to names without valid certificates or HTTPS. Either fix those hosts or remove the directive and wait for max-age to expire.

How do I undo HSTS?+

Serve max-age=0 over HTTPS until clients have seen it. There is no immediate reset; preloaded hosts must be removed from the list, which takes months.

Is preload worth it?+

Only for sites that will never need plain HTTP on any subdomain. It protects first visits but is difficult to reverse.

Why is the header ignored?+

It must arrive over HTTPS. A header on an HTTP response is discarded, and some proxies strip unknown headers.

API & MCP

The same result envelope is available over REST and MCP. Replace the sample value with your own target.

GET
curl "https://100www.dev/api/v1/tools/hsts-checker?u=github.com"
REST API referenceAuth, quotas, error codes and the full envelope.
MCP serverAvailable over REST, but not exposed through MCP.

Shareable result

https://100www.dev/tools/hsts-checker?u=github.com

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.