Generate a security.txt file researchers can actually find
Build a standards-compliant security.txt in your browser β contact details, PGP key, expiry, and disclosure policy β then download it straight to /.well-known/. Nothing is sent to a server.
More free tools
Explore the rest of the SEOWebChecker toolbox β testing, performance, and utilities in one place.
Build your security.txt
Fill in the fields below. Required fields are validated live, and every optional field maps directly to an RFC 9116 directive.
Your security.txt file
π‘οΈ Security recommendations
Everything RFC 9116 needs, nothing it doesn't
Purpose-built for accuracy, speed, and real-world publishing workflows.
RFC 9116 compliant
Field order, folding, and syntax follow the official specification exactly.
100% client-side
Everything runs in your browser. Your contact details never touch a server.
Live validation
Every URL, email, and date is checked as you type, with clear inline errors.
Expiry reminders
Pick an expiry date and get a plain-language reminder of when to refresh it.
Multiple contacts
Add as many contact methods as you need β email, URL, or phone.
Dark & light mode
Switch themes instantly; your preference is remembered for next time.
One-click export
Copy to clipboard or download the file ready to upload as-is.
Fully responsive
Generate your file from a phone, tablet, or desktop with no layout breakage.
How it works
Four steps from blank form to a published, discoverable security.txt file.
Fill the form
Add at least one contact method and an expiry date.
Generate
The tool assembles a valid, correctly ordered security.txt.
Download
Copy the text or download the file directly.
Publish
Upload it to /.well-known/security.txt on your domain.
What is security.txt, and why does every website need one?
Security researchers who stumble on a vulnerability often face an unexpected obstacle: finding out who to tell. Without a clear reporting channel, a well-intentioned report can bounce between a generic support inbox, an outdated contact form, or nobody at all. Security.txt solves that problem by putting a machine-readable, human-friendly file at a predictable location on every domain, so anyone who discovers a security issue knows exactly where to look and how to reach the right team.
The format is defined by RFC 9116, published by the IETF in April 2022, which standardizes where the file lives, what it contains, and how it should be structured. The convention is simple: place a plain text file at https://yourdomain.com/.well-known/security.txt. Some site owners also mirror it at the domain root as a fallback, though the well-known path is the canonical location scanners and researchers check first.
A well-known security.txt example typically includes a handful of core directives. Contact is mandatory and can appear multiple times β an email address prefixed with mailto:, a web form URL, or even a phone number. Expires is also mandatory, and tells anyone reading the file when it should be considered stale; RFC 9116 recommends refreshing it at least annually so contact information never goes silently out of date. Optional fields round out the picture: Encryption points to a PGP key for secure communication, Acknowledgments links to a page crediting researchers who have reported issues responsibly, Policy links to your formal vulnerability disclosure policy, Hiring is a nice touch for security teams recruiting talent, and Preferred-Languages tells researchers which languages your team can respond in.
So how to actually create one correctly? Manually writing the file is easy to get wrong β a missing colon, an unfolded long line, or fields listed out of the specification's preferred order can cause automated scanners to misparse it. That is exactly the gap this generator closes: fill in your contact details, expiry date, and any optional directives, and receive a properly formatted file with correct field ordering, valid URI syntax, and RFC-compliant structure, ready to copy or download.
Beyond compliance, publishing a security.txt file signals maturity. It tells researchers, auditors, and even automated security-rating services that your organization takes vulnerability disclosure seriously and has a defined process rather than an ad-hoc one. Combined with a documented disclosure policy and a monitored contact address, it is one of the simplest, lowest-cost improvements a website can make to its overall security posture β and, thanks to RFC 9116, one of the easiest to get exactly right.
Frequently asked questions
A security.txt file tells security researchers how to report vulnerabilities on your website. It lives at /.well-known/security.txt and follows the RFC 9116 standard, giving contact details, encryption keys, and disclosure policy in one predictable place.
Place the file at https://yourdomain.com/.well-known/security.txt. Many scanners also check the domain root as a fallback, so you can optionally mirror it at https://yourdomain.com/security.txt.
RFC 9116 requires an Expires field, and recommends refreshing the file at least once a year. A shorter window, such as six months, signals that the contact details are actively maintained.
Keep your website's security posture in check
Pair your security.txt with a full vulnerability scan and developer utilities from SEOWebChecker.