Security.txt Generator
Build a security.txt file that tells security researchers how to report vulnerabilities on your website, following RFC 9116. Add one or more contacts, an expiry date, and optional links, and copy the result.
1 Paste your text and pick the options
2 Your answer
Your answer shows here as you type.
How to use the Security.txt Generator
- Enter one or more contact addresses or URLs, one per line.
- Pick the date the file should expire. RFC 9116 suggests renewing it at least once a year.
- Add optional links for encryption keys, acknowledgments, your security policy, or hiring.
- Copy the text and save it as security.txt at /.well-known/security.txt on your site.
Frequently asked questions
Where should the security.txt file be placed?
The file should be served at /.well-known/security.txt on your domain, for example https://example.com/.well-known/security.txt. RFC 9116 also allows a copy at /security.txt, but the .well-known path is the preferred location.
Which fields are required in security.txt?
Contact and Expires are required. Contact gives at least one way to report a vulnerability, such as a mailto: address or an https: URL. Expires gives the date and time after which the information should no longer be trusted, written in ISO 8601 format.
What contact formats are allowed?
RFC 9116 allows URIs such as mailto:, https:, and tel:. You can list several Contact lines so researchers have a backup if one channel is unavailable.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.