Free tools / DNS and network

security.txt Checker

Fetches a site's security.txt and checks it against RFC 9116.

Answers in about a second. No sign-up, and no email address.

What this tool does

security.txt is the file a security researcher looks for when they have found a problem on your site: a short plain-text file at /.well-known/security.txt that says who to contact and until when the file can be trusted. Without one, the finding goes to a general inbox, a social media post, or nowhere.

Enter a domain to fetch its file over HTTPS and check every field against RFC 9116: the required Contact and Expires, the Canonical address, the policy link and any signature. If there is no file, you get one to start from.

Reading the result

Contact
Required. A mailto:, https:// or tel: address where reports go. More than one is allowed.
Expires
Required, exactly once. The date after which the file should not be trusted; keep it under a year away.
Canonical
The address or addresses the file is meant to be served from, so a copy elsewhere can be spotted.
Not published
The address returned an error or a web page. A home page served for every path is not a security.txt.

The fields RFC 9116 defines

RFC 9116, published in 2022, standardized a file that had circulated as a draft for years. It is deliberately small: a list of Field: value lines, with comments starting with #. Two fields are required and the rest are there to save a researcher a second search.

Field Rule Why it is there
Contact Required, one or more; mailto:, https:// or tel: The whole point of the file: where a report goes. List the preferred one first.
Expires Required, exactly once; an RFC 3339 date with a time zone Stops an abandoned file from being trusted. Keep it under a year ahead.
Policy Optional; an https:// link Your disclosure policy: what is in scope and how you will respond.
Canonical Optional; the URLs the file is meant to live at Lets a reader spot a copy served from somewhere it should not be.
Encryption Optional; a link to your public key So a sensitive report can be sent encrypted.
Preferred-Languages Optional, at most once The languages your team reads, such as en, hi.
Acknowledgments, Hiring Optional links A thanks page for past reporters, and security job openings.

Publishing it correctly

  1. Write the file with at least Contact and Expires. A shared mailbox such as security@ outlasts any one person.
  2. Serve it at /.well-known/security.txt over HTTPS with a valid certificate, as text/plain; charset=utf-8.
  3. Make sure the path returns the file itself, not your home page: a catch-all route that answers every URL with a web page hides it.
  4. Add Canonical with the exact URL you serve it from, and a Policy link if you have a disclosure policy.
  5. Put a reminder in the calendar a month before Expires, and update the date each time you check the contact still works.
Note. Each host that serves a website can have its own file. A subdomain run by a different team may need a different contact.

What the file does not do

security.txt is a signpost, not a program. It does not create a bug bounty, promise payment, or grant permission to test. If you want to say that good-faith research will not lead to legal action, say it in the page the Policy field links to. Publishing a contact also means someone must read that mailbox: a report that goes unanswered for weeks is often published anyway, now with a note that you were told and did nothing.

Expect some reports to be low quality, such as automated scanner output about missing headers sent in the hope of a reward. A short policy that states what is out of scope saves time answering them.

Use it with

Standards and references

Questions people ask

Where does security.txt go?

At https://yourdomain/.well-known/security.txt, served as plain text over valid HTTPS. The old location, /security.txt at the root, is a legacy fallback that RFC 9116 keeps for compatibility; this check looks there too and tells you if that is the only copy.

Which fields are required?

Only two: Contact, at least once, and Expires, exactly once. Policy, Encryption, Acknowledgments, Preferred-Languages, Canonical and Hiring are optional, but Policy and Canonical are worth adding.

Why does my file count as expired?

The Expires date has passed. RFC 9116 makes the date mandatory so that an abandoned file stops being trusted; set it less than a year ahead and renew it when you review the contact details.

Do I need to sign it?

No. A PGP signature is optional. It lets a reader confirm the file was not altered, but only if they get your public key from somewhere other than the file. This check detects a signature but does not verify it.

Is anything about my site stored?

The check makes two HTTPS requests to the domain you enter, reads the response and discards it. Nothing about the file is saved.

Related tools

Where this fits

This check reads what is public. These are the engagements that go further, and what each one covers.

Want a person to look at it? These checks read what is public. A review with us covers what they cannot see. See the posture review →