security.txt Policy File Generator

Build a valid RFC 9116 /.well-known/security.txt file with contact email, canonical URL, language, and expiration date.

Inputs

Generate a standards-compliant /.well-known/security.txt disclosure policy.

Generated security.txt

Ready to copy or download. Runs 100% in your browser.

Contact: mailto:security@example.ca
Expires: 2027-11-30T00:00:00.000Z
Preferred-Languages: en, fr
Canonical: https://example.ca/.well-known/security.txt
  • Save to public/.well-known/security.txt and renew the Expires date annually.

Common questions

How far ahead should Expires be set?

RFC 9116 recommends setting Expires less than one year in the future and renewing it annually.

Can I use a web form URL in Contact?

Yes. Both mailto: addresses and https:// vulnerability reporting URLs are valid in Contact.