security.txt generator
A security.txt file tells security researchers how to report a vulnerability in your website, so reports reach the right people instead of a general inbox or social media. Enter one or more contact addresses and an expiry date, add optional links to your encryption key, disclosure policy, acknowledgments page and security jobs, and the generator writes the file in the RFC 9116 format. Emails and phone numbers become mailto: and tel: URIs, and the file is checked for the required fields, https links and an expiry under a year away.
An email, a phone number with country code, or an https reporting page. Emails and phone numbers are turned into mailto: and tel: links.
Less than a year away. Update the file before this date.
Language codes separated by commas, such as en, fr.
- ErrorAdd at least one contact. It is required.
- ErrorSet an expiry date. It is required.
Serve the file as plain text at https://yourdomain/.well-known/security.txt.
How to use the security.txt Generator
- 1
Add contacts
Enter an email address, a phone number or a reporting page, one per line.
- 2
Set the expiry
Pick a date less than a year away and set a reminder to update the file before it.
- 3
Add optional links
Add your PGP key, disclosure policy, acknowledgments, canonical URL and preferred languages.
- 4
Publish
Download the file and serve it at /.well-known/security.txt over HTTPS.
When to use it
- Give security researchers a clear way to report vulnerabilities.
- Meet a security questionnaire or bug bounty requirement for a security.txt file.
- Renew an expired security.txt file.
Limits
- The generator does not sign the file. You can sign it with OpenPGP cleartext signatures, as RFC 9116 allows.
- It does not publish or host the file; upload it to your web server.
- Contacts and links are checked for format, not whether they work.
Privacy
The file is built in your browser. Nothing you enter is sent anywhere.
Frequently asked questions
Where does security.txt go?
At /.well-known/security.txt on every domain it covers, served over HTTPS as plain text. A copy at /security.txt is optional for older tools.
Which fields are required?
Contact and Expires. Every other field is optional.
Why must it expire?
So stale contact details do not linger. RFC 9116 recommends an expiry less than a year ahead; update the file before that date.
What is the Canonical field for?
It lists the URLs where the file is meant to be found, so a copy found elsewhere can be recognised as out of place.
Should I sign the file?
Signing with OpenPGP lets researchers check the file was not tampered with. It is optional; if you sign it, the Canonical field should be included.
Related tools
- CSP GeneratorBuilds a CSP header directive by directive and checks it for unsafe sources as you type.
- CSP ValidatorChecks a pasted CSP header for syntax errors and common weaknesses, ranked by severity.
- DNS LookupA, AAAA, MX, TXT, NS, CNAME, SOA, CAA and more for any domain, with TTLs and DNSSEC status.
People also use
- Phishing URL CheckerCheck a suspicious link for phishing tricks such as look-alike brand names and punycode, without opening it.
- SSH Key GeneratorMake an Ed25519 or RSA SSH key pair in OpenSSH format, with its fingerprint, without installing anything.
- 2FA / TOTP Code GeneratorGet 6-digit 2FA codes from a secret or QR code, create test secrets and check codes, all in your browser.
- Bcrypt & Argon2 Hash GeneratorCreate and check bcrypt and Argon2 password hashes, with parameters compared to OWASP guidance.
Last updated November 22, 2026 · How we build and test our tools