How to use
In “Build”, enter Contact and Expires. “Fill in one year from now” sets Expires for you.
Add Encryption, Policy, Acknowledgments, Preferred-Languages, Canonical or Hiring if needed. Empty fields are left out of the output.
Check the output and the findings, then copy it or use “Save security.txt”.
Serve the file at https://your-domain/.well-known/security.txt.
To check a file you already have, switch to “Check” and paste it or open the file.
What it does
Written in RFC 9116 form
Contact and Expires (required), plus Encryption, Acknowledgments, Preferred-Languages, Canonical, Policy and Hiring, in the RFC order. Empty fields are not written.
Line-numbered checks
Flags missing required fields, an Expires that is past, malformed or repeated, non-https URIs, repeated language tags and unregistered field names.
Expiry and location
Warns when Expires is more than a year ahead. With a location, checks https, the /.well-known/security.txt path and whether Canonical matches.
PGP signature detection
A signed file is checked on its signed text. The tool says plainly that it does not verify the signature.
Use cases
- Publish a security.txt for the first time so researchers can report issues
- Check before renewing the Expires date that the file has not expired
- See whether an existing file meets the required fields of RFC 9116
- Check the format of a PGP-signed security.txt
Supported formats
Input
Output
Capability matrix
| Feature | Support | Notes |
|---|---|---|
| Write a security.txt with all RFC 9116 fields | Supported | — |
| Check required fields, dates and URIs with line numbers | Supported | — |
| Detect a PGP-signed file | Supported | The signature is not verified |
| Fetch the file from its published URL and check it | Not supported | Paste the contents or open the file |
| Check the location format, https and Canonical match | Partial | The URL is not visited |
| Verify the PGP signature or the TLS certificate | Not supported | — |
Limits & notes
- The tool does not visit your site. It cannot confirm that the file is served, the TLS certificate or the signature.
- Text to check is limited to 256 KB.
- The one-year guide is 365 days. RFC 9116 recommends (SHOULD) no more than a year ahead.
- Unregistered field names are reported as warnings; other extensions are not checked.
Privacy & safety
Your input is processed only in your browser. Nothing is sent to or stored on a server.
FAQ
Where should security.txt be placed?
When should Expires be set?
What can Contact contain?
Must the file be PGP-signed?
How is this different from robots.txt?
Related tools
robots.txt Tester
Paste a robots.txt to see instantly whether a URL is allowed or blocked for Googlebot or AI crawlers, and which line decided it. Misspellings and directives Google ignores are flagged too.
CSP Studio
Paste a Content-Security-Policy header or meta tag to see unsafe-inline, unsafe-eval, wildcards and missing object-src or base-uri, ranked high, medium or low, with a suggested policy. Generation and hash calculation are included.
XML Sitemap Generator & Validator
Paste a list of URLs to create a correctly written sitemap.xml, or paste an existing sitemap to find the errors that stop Google from reading it — with line numbers.
SRI Hash Generator
Drop a JavaScript or CSS file to get the integrity value (sha384-…) and a ready-to-use script or link tag. Paste an existing integrity value to check whether it matches the file.
HTML Inspector
Paste a page’s HTML to review SEO and accessibility basics at a glance: heading structure, meta tags, Open Graph, image alt text, links and structured data — with a preview of how it may look in search and on social media.
Structured Data / JSON-LD Studio
Build JSON-LD for 13 common types with forms that separate required from recommended fields, then copy it. Paste JSON-LD or HTML to extract every script, @graph and array and see problems from the exact line of a syntax error to missing Google rich result requirements. It is not Google’s official tool.
Last updated: