---
title: "security.txt Generator and Checker · camada"
description: "Make a valid security.txt file with a short form, or paste one to check it. Covers Contact, Expires and PGP. Runs in your tab and nothing is uploaded."
url: https://www.camada.app/tools/security-txt-generator
last_updated: 2026-11-18
---

# Generate and check a security.txt file

A security.txt tells honest researchers how to reach you when they find a bug. It keeps no one out. Fill in the form, or paste a file to check it. Everything runs in this tab. Nothing is uploaded.

[The fields](https://www.camada.app/tools/security-txt-generator#fields) [What it cannot do](https://www.camada.app/tools/security-txt-generator#limits)

## The eight fields

RFC 9116 defines these. Two are required. Web addresses must use https. Lines that start with # are comments.

| Field | Need | What it is for | Example |
| --- | --- | --- | --- |
| Contact | Required | How to reach you. Use mailto:, tel: or an https address. Add more than one if you like. | `mailto:security@example.com` |
| Expires | Required | When the file stops being valid. Set it less than a year ahead and renew it before then. | `2027-11-12T00:00:00.000Z` |
| Encryption | Optional | Where to find your public PGP key, so reports can be encrypted. | `https://example.com/pgp-key.txt` |
| Acknowledgments | Optional | A page that thanks people who reported issues. | `https://example.com/thanks` |
| Preferred-Languages | Optional | Languages you can read reports in, as language tags. | `en, fr` |
| Canonical | Optional | The address where this file lives. It tells readers the copy is the real one. | `https://example.com/.well-known/security.txt` |
| Policy | Optional | Your disclosure policy: what is in scope and how you respond. | `https://example.com/security` |
| Hiring | Optional | A page about security jobs. | `https://example.com/jobs` |

## What it cannot do

The file is a front door sign. It does not lock anything. camada does not read it, and it is not part of how camada works. To see what the file looks like on a live site, run the [website security check](https://www.camada.app/tools/website-security-check).

**It does not secure anything**

security.txt is a note with your contact details. It fixes no bug and stops no attack. Its job is to help an honest researcher reach the right person fast.

**It does not keep anyone out**

The file is public on purpose. Anyone can read it, including people with bad intent. Do not put anything secret in it.

**It is only as good as your inbox**

A contact nobody reads is worse than none. Use a shared address, answer reports, and renew the Expires date before it passes.

**The signature is not checked here**

RFC 9116 recommends signing the file with PGP. This page does not sign it and cannot verify a signature. Sign the finished file with gpg --clearsign, then host the signed copy.

## Questions about security.txt

More free tools: [all developer tools](https://www.camada.app/tools).

**What is a security.txt file?**

It is a small text file, defined in RFC 9116, that tells security researchers how to report a problem with your site. It lists a contact, an expiry date and a few optional links.

**Where do I put the file?**

Serve it as text/plain at /.well-known/security.txt on your main domain, over https. The older /security.txt location also works as a fallback, but the .well-known path is the one to use.

**Does my input leave my computer?**

No. The form and the checker run in this tab. The page makes no request that carries what you type or paste. You can watch the Network panel in DevTools to confirm it.

**Which fields are required?**

Contact and Expires. Contact must appear at least once. Expires must appear once, as a date and time such as 2027-11-12T00:00:00.000Z. Everything else is optional.

**Why does it say a bare email address is wrong?**

RFC 9116 wants a URI in Contact. An email must be written as mailto:you@example.com. A plain address without mailto: is not a valid value.

**How long should Expires be?**

Less than a year ahead. The RFC advises this so stale files drop out. The default here is 364 days. Set a reminder to renew it, because researchers are told to ignore an expired file.

**Should I sign the file with PGP?**

It is optional but recommended. A signature lets a reader see that the file was not changed on the way. Run gpg --clearsign on the finished file and host the result. If you edit a signed file, sign it again, because the old signature no longer matches. Paste a signed file in the checker and it reads the text inside, but it does not verify the signature.

**Can I check a file I already have?**

Yes. Use the Check a file tab, paste the text, and it lists what is missing, expired or wrong. To check a live site instead, use the website security check, which reads the file for you.

## Use it from an AI agent

This page is also Markdown at [/tools/security-txt-generator.md](https://www.camada.app/tools/security-txt-generator.md). Agents can also run the check itself, without the form.

- `check_security_txt` on the MCP server at https://www.camada.app/mcp, and in this tab through WebMCP

  Takes `text`. Check the text of a security.txt file against RFC 9116: Contact and Expires present, Expires in the future and under a year out, valid URIs, Canonical, Preferred-Languages and PGP signing. Returns each problem with a fix. Same check as https://www.camada.app/tools/security-txt-generator.
- `make_security_txt` on the MCP server at https://www.camada.app/mcp, and in this tab through WebMCP

  Takes `contact, expires?, encryption?, acknowledgments?, preferred_languages?, canonical?, policy?, hiring?`. Write a valid security.txt file (RFC 9116) from its fields. Contact is required; Expires defaults to 364 days from today. Returns the file to serve at /.well-known/security.txt, and any problems with the fields. Same as https://www.camada.app/tools/security-txt-generator.

The MCP server needs no key. Every agent tool on this site is listed in the [server card](https://www.camada.app/.well-known/mcp/server-card.json) and on [the tools page](https://www.camada.app/tools#agents).

## Related tools

- [Website security check](https://www.camada.app/tools/website-security-check)

  Enter a URL to trace HTTPS redirects, check CSP and OWASP headers, and audit cookie flags. Also checks robots.txt, llms.txt, and security.txt.
- [DNS & DMARC lookup](https://www.camada.app/tools/dns-lookup)

  Query A, AAAA, MX, NS, CAA, SPF, DKIM, DMARC, and DNSSEC records. Count nested SPF lookups against the 10-query limit.
- [CSP & security headers](https://www.camada.app/tools/security-headers)

  Fetch live response headers or paste curl output. Flag unsafe-inline CSP rules, check HSTS and nosniff, and hash inline scripts.

[All free tools](https://www.camada.app/tools)

## Let researchers in. Keep bad actors out.

security.txt handles the honest reports. For the traffic that is not honest, install the SDK on the Free plan to score 100,000 events a month with no card.

[Get started free](https://my.camada.app/) [Website security check](https://www.camada.app/tools/website-security-check) [See pricing](https://www.camada.app/pricing)

Free needs no card. A 14-day trial of Starter or Growth needs a card. Nothing is charged today. Cancel before the trial ends (the date is shown in the app) and you pay nothing. Otherwise the plan's monthly price starts on day 15.

## Sitemap

[Every page on this site](https://www.camada.app/sitemap.md)
