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.
More generators tools
security.txt Validator (RFC 9116)
Fetch /.well-known/security.txt on any domain and validate Contact, Expires, and Encryption fields against RFC 9116.
Website Security Scanner
Run a passive check of publicly observable security configuration: HTTPS, TLS certificate health, HTTP security headers, and mixed content.
Content-Security-Policy (CSP) Header Builder
Assemble a clean Content-Security-Policy HTTP header for scripts, styles, images, fonts, frames, and upgrade-insecure-requests.
FAQPage JSON-LD Schema Generator
Turn question and answer pairs into clean, valid FAQPage JSON-LD ready to paste into any webpage.
Service JSON-LD Schema Generator
Generate Schema.org Service JSON-LD linking your service name, provider brand, cities served, and description.
Organization JSON-LD Schema Generator
Create clean Organization JSON-LD with your logo URL, phone number, and official sameAs social profiles.