security.txt Generator
Generate a valid RFC 9116 security.txt file with Contact, Expires, Encryption, Policy, and CSAF fields. Free, offline, copy-paste ready.
Loading tool...
What is security.txt Generator?
A security.txt generator that builds RFC 9116 compliant vulnerability disclosure files. Fill in your contact details, expiry date, and optional fields like encryption keys and policy links, and get a ready-to-deploy security.txt file β all processed locally in your browser.
Key Benefits
- Standards-compliant output that security scanners and researchers recognize
- Guided form with required-field validation instead of hand-editing syntax
- Automatic ISO 8601 expiry formatting with a one-click +1 year helper
- Copy or download instantly with zero server processing
- Bilingual English and Thai interface that works offline
Common Use Cases
- β’Publishing a vulnerability disclosure channel for a company website
- β’Adding security.txt to open-source project documentation sites
- β’Preparing bug bounty program infrastructure
- β’Passing compliance checklists that look for /.well-known/security.txt
Create a security.txt File
- Add at least one contact: Enter a report email (emitted as Contact: mailto:...), a contact URL, or both β this is the channel researchers will use to reach you.
- Set the expiry date: Pick a date or press the one-year button; the file writes Expires with a full UTC timestamp as RFC 9116 requires, and the form warns until contact and expiry are both present.
- Fill optional fields: Add Encryption for your PGP key, Preferred-Languages (e.g. en, th), Policy, Acknowledgments, Hiring, CSAF, and Canonical; tick Signature only if you will host a .sig file.
- Copy and deploy: Copy the preview or download security.txt, then serve it at https://yourdomain/.well-known/security.txt over HTTPS β the file is built entirely in your browser.
Key Features
- Full RFC 9116 field coverage including CSAF and Signature
- Required-field validation with clear, actionable messages
- One-click +1 year expiry with ISO 8601 formatting
- Live preview that updates as you type
- Copy and download the file without any server round-trip
- Bilingual English and Thai interface, fully offline