RFC 9116 security.txt Generator — Your Site's Vulnerability Contact
Create an RFC 9116 security.txt with contacts, an Expires date under a year, encryption key, policy and languages, and check an existing file.
Serve it at https://example.com/.well-known/security.txt as text/plain. You may sign it with OpenPGP (cleartext) after downloading; renew Expires before it passes.
Check an existing security.txt
When to use the RFC 9116 /.well-known/security.txt Generator
A clear place to report
Security researchers who find a flaw on your site know whom to contact: an email address, an https:// form or a phone number, in languages your team reads.
Follows RFC 9116
Contact and Expires are required, the date is written in RFC 3339, web addresses must be https and Preferred-Languages uses BCP 47 tags. Plain e-mail addresses get mailto: automatically.
A sensible expiry
The default expiry is just under a year ahead, as the RFC recommends, so the contact details are reviewed regularly.
Check an old file
Paste a security.txt that is already live, including OpenPGP-signed ones, to find an Expires that has passed, http addresses or misspelt fields.
Frequently asked questions
Where does security.txt go?
At https://example.com/.well-known/security.txt. For older setups, /security.txt may redirect there.
Must it be signed with PGP?
No. An OpenPGP signature proves the content was not altered, and it can be added after downloading with gpg --clearsign.
Does security.txt replace a bug bounty?
No. It only tells researchers how to reach you. Link your disclosure policy in the Policy field so they know the scope and the rules.
Can I list several contacts?
Yes. Write one Contact per line, most preferred first; researchers usually try the first one first. A web form contact must use https://, not http://.
Similar tools
- Browser Fingerprint & Entropy Privacy TestAudit exposed Canvas, WebGL, timezone, screen & hardware traits in your browser.
- Live localStorage & sessionStorage InspectorInspect keys and byte footprint stored locally on this origin in your browser.
- X.509 SSL/TLS Certificate (PEM) DecoderDecode X.509 certificates (PEM or DER): subject, issuer, SANs, validity and expiry, key type and size, extensions, SHA-256 fingerprint and the chain signature.
- Certificate Signing Request (CSR) DecoderDecode a PKCS#10 CSR: subject, requested SANs, key type and size, signature algorithm, and verify its signature before sending it to a CA.