Security.txt Generator
Enter how researchers can reach you and when the file expires to get a ready security.txt file in the format of RFC 9116.
Use the tool
Loading the tool…
About Security.txt Generator
A security.txt file tells security researchers how to report a vulnerability to your site. Enter your contact details, an expiry date and optional links for your security policy, encryption key, acknowledgments and jobs, and the tool builds the file.
Worked example
Enter `security@example.com`, set the expiry date, and add a link to your security policy. Copy the output and save it as security.txt in the .well-known folder of your site.
Limits
The file must be served from the address you choose, usually /.well-known/security.txt. Keep the expiry date up to date, because an expired file can be ignored. Only share contact details you are willing to publish.
How to use Security.txt Generator
- Enter your contacts.
- Choose an expiry date after today.
- Add optional links and copy the file.
Good to know
- The expiry date is required and must be after today.
- Links must use https://.
- Serve the file at /.well-known/security.txt over HTTPS.
- Set a reminder to renew the file before it expires.
Frequently asked questions
Where do I put the file?
At https://yourdomain/.well-known/security.txt. A copy at /security.txt is also allowed.
How long should it be valid?
RFC 9116 asks for less than a year, so that the details stay current.