HSTS Builder
Build and lint production-ready HSTS rules and HTTP Header records locally in your browser.
Worked Example
RFC 6797 (HSTS)max_age: 63072000
include_subdomains: true
preload: true# HTTP Header
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
# Nginx
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
# Apache (.htaccess)
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
# HSTS Preload Eligibility: ELIGIBLE (hstspreload.org)
...Technical Architecture
Zero-Upload Local Engine
Processes HSTS strictly inside browser memory so certificates, keys, and configs never leave your device.
RFC & Standard Compliant
Implements exact BigInt subnet math, ASN.1 DER parsing, and RFC-compliant HTTP Header generation.
Deterministic Ops Output
Produces clean, auditable HTTP Header ready for DNS zones, Nginx, Docker, systemd, and CI pipelines.
Instant Browser Execution
Lightweight pure-script engine with native Web Crypto hashing and instant keyboard workflows.
How to use HSTS Builder
- 1Paste your HSTS input or open a local config file in the left editor.
- 2Adjust output format, hash algorithm, or indentation options in the toolbar above.
- 3Inspect the instant HTTP Header result on the right, then copy or download it directly.
Frequently Asked Questions
Are my HSTS configs or certificates uploaded to a server?
No. Every calculation, ASN.1 decode, and validation step runs strictly inside your browser memory so private configs never leave your machine.
What standards does HSTS Builder follow?
HSTS Builder follows modern RFC and POSIX conventions for HSTS processing to generate accurate, production-ready HTTP Header output.
Can I chain the output into another NetFmt tool?
Yes. Use the Next Step button above the editor to send the current HTTP Header result straight into another NetFmt tool without re-pasting.