Free security.txt generator
Build your vulnerability reporting contact file. Everything you type stays in your browser.
Your file
Save this UTF-8 plain text as /.well-known/security.txt in the site's public web root and serve it over HTTPS.
Serving configuration
Keep HTTPS enabled. These snippets set the content type; place the file in the public directory deployed by your host.
nginx
location = /.well-known/security.txt {
default_type text/plain;
try_files $uri =404;
}Apache (.htaccess)
<Files "security.txt">
ForceType text/plain
</Files>Caddy
header /.well-known/security.txt Content-Type "text/plain; charset=utf-8"
file_serverNetlify (_headers)
/.well-known/security.txt
Content-Type: text/plain; charset=utf-8Vercel (vercel.json)
{"headers":[{"source":"/.well-known/security.txt","headers":[{"key":"Content-Type","value":"text/plain; charset=utf-8"}]}]}Cloudflare Pages (_headers)
/.well-known/security.txt
Content-Type: text/plain; charset=utf-8Verify the deployed file
The checker reads a stored audit or offers a full passive audit that publishes a public report.
What is security.txt?
A standard file that tells security researchers where to report vulnerabilities. Read the security.txt guide.
What is required?
RFC 9116 requires Contact and Expires. Optional fields describe disclosure policy, acknowledgments, languages, the canonical file URL, encryption keys and security jobs. PGP signing is optional.
Why does Expires matter?
It tells researchers when the details become stale. Use a timestamp less than a year away and renew before it expires. The checker warns within 30 days and before the next January.
Where does the file go?
Publish at https://your-host/.well-known/security.txt, as text/plain. For browser protections, use the security headers generator.