security.txt Generator (RFC 9116)

Fill in a few fields to generate a standards-compliant /.well-known/security.txt that tells researchers how to report security issues to you.

Runs in your browser
Emails become mailto: automatically.
Generated file

    Your data never leaves your computer. All processing happens 100% locally in your browser.

    How to use the security.txt Generator

    1. Enter at least one Contact — an email, a URL to a reporting form, or a phone number.
    2. Set an Expires date (less than a year ahead is recommended) and add optional fields such as your disclosure policy and PGP key.
    3. Download the file and upload it so it’s served at https://yourdomain.com/.well-known/security.txt.
    4. Put a reminder in your calendar to update it before it expires.

    What is security.txt?

    security.txt is a small plain-text file, standardised as RFC 9116 in 2022, that tells security researchers how to contact you when they find a vulnerability on your site. Without one, well-meaning people often give up or end up emailing a generic support address where reports get lost. It’s the security equivalent of robots.txt — and it’s required or recommended by a growing number of government and enterprise security guidelines.

    Fields explained

    FieldRequired?Purpose
    ContactYes (one or more)Where to send reports: mailto:, https: or tel:.
    ExpiresYes (exactly one)When the information should be considered stale — ISO 8601 date-time.
    PolicyNoLink to your vulnerability disclosure policy.
    EncryptionNoLink to a PGP key for encrypted reports.
    AcknowledgmentsNoPage thanking researchers (hall of fame).
    Preferred-LanguagesNoLanguages your team reads, e.g. en, de.
    CanonicalNoThe file’s own URL(s), useful when it’s signed.
    Hiring / CSAFNoSecurity job listings / machine-readable advisories.

    Where to put the file

    Serve it over HTTPS at /.well-known/security.txt with the text/plain content type. Hosting platforms differ: on most servers you simply upload the file; on hosted site builders you may need a redirect or a reverse proxy because custom files in /.well-known/ aren’t always supported. Optionally, sign the file with PGP (cleartext signature) so readers can verify it hasn’t been tampered with.

    Tools that pair well with the security.txt Generator

    • llms.txt Generator — Write an llms.txt file that gives AI assistants a curated, Markdown map of your site — project name, summary, key pages and optional extras — following the llmstxt.org proposal.
    • humans.txt Generator — Create a humans.txt that credits the team, contributors and technology behind your website.
    • Security Headers Checker — Grade a site’s HTTP security headers from A+ to F, see which are missing and why they matter, and copy ready-made config snippets for Nginx, Apache, Netlify, Vercel or Cloudflare.
    • ads.txt Generator — Build an IAB-compliant ads.txt that lists who is allowed to sell your ad inventory — with presets for common ad networks.

    Frequently asked questions

    Is security.txt an official standard?
    Yes — it was published as RFC 9116 by the IETF in April 2022.
    Where should security.txt be located?
    At https://yourdomain.com/.well-known/security.txt. A copy at /security.txt is allowed for legacy compatibility but the .well-known path is the standard location.
    Why does it need an Expires date?
    So researchers don’t rely on outdated contacts. RFC 9116 recommends setting it less than a year in the future and updating the file regularly.
    Does security.txt help SEO?
    No, it has no ranking effect. It improves trust and makes vulnerability reports reach the right people.

    Related tools