SECURITY · FREE TOOL

HTTP security headers & security.txt builder

Draft CSP, HSTS, Permissions-Policy, Referrer-Policy and security.txt with explicit deployment notes.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →
Tool inputs

Draft generation only: no website scan, configuration change, deployment or certification. CSP permits self plus up to 10 HTTPS origins per listed resource type; no paths, queries, credentials, wildcard, inline/eval or nonce support. HSTS has no automatic preload entry. Permissions cover six named features with deny/self choices. security.txt supports 1–10 HTTPS/simple mailto contacts and an expiry within 365 days of this device’s clock.

How this tool works

The CSP baseline denies unspecified resource types, permits same-origin script/style/image/connect/font resources, blocks object embedding and framing, and restricts forms/base URLs. Additional origins are explicit per resource type. It is a starting policy rather than a complete scan-derived allowlist, and can break an application; report-only leaves CSP unenforced while reporting violations in browser tools. No report collector is configured. HSTS requires a working HTTPS deployment and can stay cached; includeSubDomains affects all subdomains, and max-age=0 removes a directly received policy but does not undo an ancestor’s policy or a preload list. Referrer-Policy changes how much navigation URL information is shared. Permissions-Policy controls named capabilities where the browser supports them. Generated lines are not nginx, Apache or Cloudflare configuration syntax. The security.txt draft includes Contact and Expires, with optional Canonical and Policy URLs; serve it as UTF-8 text/plain over HTTPS at /.well-known/security.txt. The draft is unsigned and does not validate contact delivery, ownership, legal safe harbor or a vulnerability program. Review and test before applying any output.

Format references: W3C CSP3 · HSTS behavior · Referrer-Policy · Permissions-Policy · RFC 9116 · security.txt. Reviewed October 23, 2026.

Working inputs are held in this page and its temporary local worker. Downloads and clipboard copies persist separately; hosting request logs have their own retention. This tool does not certify data safety or compatibility with every application.