Security Tools

HSTS Checker — Strict-Transport-Security Parse & Grade

Parse HSTS max-age, includeSubDomains, and preload with graded policy assessment

How to Use This Tool

  1. Paste a full HTTPS URL or http:// URL — redirects are followed.
  2. Response Strict-Transport-Security header value is captured.
  3. max-age directive parses to seconds and computed day count.
  4. includeSubDomains and preload tokens detected case-insensitively.
  5. Issues generated for short max-age, preload misconfigurations, or absence.
  6. Review grade, maxAgeDays, flags, and issues before preload submission.

About This Tool

HTTP Strict Transport Security tells browsers to never use plaintext HTTP for a host — eliminating sslstrip downgrade windows after the first secure visit. Misconfigured max-age values, missing includeSubDomains, or premature preload tokens create either security gaps or preload list rejection. VSPIC HSTS checker fetches your URL, extracts the Strict-Transport-Security response header, parses max-age, includeSubDomains, and preload directives, and assigns grades with explicit issues list.

Results show present, maxAge, maxAgeDays, includeSubDomains, preload, valid, issues, grade, and summary. This tool analyzes live HSTS response headers only — it does not query the Chromium preload list. Use hsts-preload-checker when preload submission eligibility and registry status are the question.

Common use cases

  • Check if a VPN or proxy is detected on your connection
  • Validate SSL certificates before launch
  • Scan for email addresses in known breaches

Why use VSPIC for ?

  • Focused HSTS parse — not bundled with unrelated header scoring.
  • max-age in seconds and days for TTL documentation.
  • includeSubDomains and preload flags explicitly reported.
  • Issues list explains preload eligibility gaps.
  • Grade A through C and F mapped to common deployment tiers.
  • Free instant fetch for publicly reachable URLs.

What HSTS enforces in browsers

Without HSTS, browsers happily downgrade to HTTP when users type http:// or when active network attackers strip TLS. Strict-Transport-Security caches an HTTPS-only directive for max-age seconds. includeSubDomains extends protection to all subdomains — critical before preload submission. preload signals intent for inclusion in browser hardcoded preload lists shipped with Chrome, Firefox, and others.

Our checker validates that your live response header matches operational intent — not just that HSTS appears somewhere in documentation.

Parsing max-age and maxAgeDays

max-age is required for valid HSTS. Zero or missing max-age means browsers ignore the policy. Values under 86400 seconds — one day — generate issues as too short for meaningful protection. Preload programs recommend at least 31536000 seconds — one year — documented in issues when shorter.

maxAgeDays converts seconds for human-readable runbooks. Operations teams track certificate renewal against max-age to avoid expiry windows where cached HSTS outlives cert validity.

includeSubDomains requirements

includeSubDomains applies HSTS to all subdomains. Omitting it when admin.example.com still serves HTTP leaves downgrade paths for attackers targeting subdomains. preload requires includeSubDomains — our parser flags preload token without includeSubDomains as an issue.

Verify every subdomain supports HTTPS before enabling includeSubDomains — one HTTP-only legacy app breaks user access for the entire subtree.

preload token versus preload registry

The preload directive in your header expresses opt-in to browser preload programs. Actual preload requires meeting eligibility rules and successful submission to hstspreload.org. This HSTS checker confirms header syntax preconditions — not registry membership.

Use hsts-preload-checker to query preload list status and eligibility checklist. Submit only after grade A configuration stable for weeks.

Grade A B C and F mapping

Grade A: valid max-age at least one year with includeSubDomains and preload tokens — ready for preload consideration. Grade B: valid max-age at least one year with includeSubDomains without preload. Grade C: valid max-age at least one day meeting minimal HSTS. Grade F: absent, zero max-age, or invalid configuration.

Grades align with common deployment tiers — adjust internal policies to require B minimum on production customer-facing hosts.

Relationship to security headers checker

Security headers checker awards twenty-five points for any Strict-Transport-Security presence without parsing max-age minimums. HSTS checker evaluates duration, subdomain coverage, and preload readiness in depth.

Executive dashboards can use composite scores. Engineering remediation uses this dedicated parse output.

HTTP to HTTPS redirect behavior

We follow redirects from http:// submissions to final HTTPS responses. HSTS must appear on the HTTPS response users ultimately receive. Some sites emit HSTS only after redirect — ensure the final hop includes the header.

Test both apex and www variants — HSTS is hostname-specific unless includeSubDomains and matching cert SANs cover all names.

Common misconfiguration patterns

preload without includeSubDomains causes preload submission rejection. max-age under one year fails preload eligibility while still providing short-term HSTS for returning visitors. Duplicate or malformed headers may confuse parsers — issues array surfaces zero max-age cases.

Staging environments accidentally copying preload token without staging HTTPS on all subdomains cause outage risk — use separate hostnames for staging without preload.

Certificate and HSTS interaction

Browsers cache HSTS independently of certificate renewals. Expired certificates on HSTS hosts trap users in error loops until max-age expires or users manually clear HSTS state — painful on long max-age production configs.

Pair with ssl-tls-grade-checker for certificate expiry monitoring alongside HSTS policy review.

Privacy and responsible use

Fetches public URLs you authorize. Results reflect one response path at query time. Do not use repeated automated probing against third-party sites without permission.

HSTS headers are public information visible to any client connecting to your site.

Important notes & limitations

  • Does not query Chromium HSTS preload registry — use hsts-preload-checker.
  • First visit bootstrap problem remains — HSTS requires prior HTTPS visit.
  • Subresource responses may differ from document HSTS — we check final URL response.
  • localhost and internal hostnames are not reachable.
  • Header on HTTP-only responses without redirect may not reflect production policy.

Frequently Asked Questions

Yes. VSPIC offers this HSTS checker at no cost with no account required. Results load in real time.

We do not permanently store your queries on our servers. Some tools run entirely in your browser; others fetch public data for the request only.

Yes. Open the page in any modern phone or tablet browser. Results work on Wi‑Fi and mobile data.

No. We parse the live Strict-Transport-Security header only. Use hsts-preload-checker for registry status.

Production sites typically use at least 31536000 seconds (one year). Preload requires that minimum.

Grade A indicates header preconditions. Verify all subdomains support HTTPS, then submit via hstspreload.org.

HSTS requires the Strict-Transport-Security response header. TLS alone without the header yields grade F.

Security headers checker scores presence across five headers. HSTS checker parses max-age, subdomains, and preload depth.

No. It covers subdomains of the current host only — not unrelated domains in your portfolio.

Next step for your check

Continue with security headers checker on VSPIC.

Security Headers Checker

Trusted by Users Who Value Privacy

Always Free

No premium plan ever

100% Private

Files processed in browser

Instant Results

Convert in seconds

Works Everywhere

Any device, any OS