# Spam Protection: Spam Stays Out, You See Why

Forms attract bots. FormKeep puts layers in front of yours and tells you the
reason whenever it blocks something, so a real lead never disappears quietly.
Spam never counts toward your limit.

## Layers

Turnstile, hCaptcha, reCAPTCHA, honeypots and your own rules, working together.

- **Captcha**: Cloudflare Turnstile, hCaptcha or Google reCAPTCHA (v2 or v3), chosen per form. Add the widget to your page and the secret key to the form's settings.
- **Honeypot**: a hidden field a person never sees. Bots fill it in and the submission is marked as spam.
- **Rules** (Pro and up): mark a submission as spam when a field is blank or matches a value or IP address you choose.
- **Validation** (Pro and up): Server-side validation of required and unique fields. A field that never changed means a script never ran.

Captcha and honeypots are on every plan, Free included. A form posted from its
hosted page is protected by reCAPTCHA v3 automatically.

## Every Blocked Submission Says Why

Every blocked submission says why: each one in the spam list carries a "Spam because" line. If a real
person got caught, mark it not spam in one click and it goes back to your
submissions. Spam sends no notification email and fires no webhook.

Reasons you can see:

- Honey Field filled in
- Cloudflare Turnstile, Google reCAPTCHA or hCaptcha failed
- Field Rule
- Field validation settings
- Manually Marked as Spam

## Set It Up

Copy the honeypot field name from the form's Spam settings and add a blank
field with that name. Turnstile sends its result in `cf-turnstile-response`,
hCaptcha in `h-captcha-response`, reCAPTCHA in `g-recaptcha-response`; FormKeep
checks it. Never put a secret key in your HTML.

```html
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<form action="https://formkeep.com/f/your-token" method="POST">
  <input name="email" type="email">
  <input type="text" name="your-honey-field-name" value="" tabindex="-1" autocomplete="off" style="display:none">
  <div class="cf-turnstile" data-sitekey="your_site_key"></div>
  <button>Send</button>
</form>
```

## Spam Never Counts

Your monthly submission limit counts real submissions only. Blocked spam is
free. A real submission you release from the spam list counts then.

More than half of what reached FormKeep customers' forms in the last 30 days was spam. They never saw it.

## Questions

- **Which captcha should I use?** Whichever you already run. FormKeep checks Turnstile, hCaptcha and reCAPTCHA.
- **Will it block real people?** No filter is perfect, so every blocked submission shows its reason and can be marked not spam in one click.
- **Does spam count toward my limit?** No. Only real submissions count.
- **Do I get an email for spam?** No. You see it in the spam list, with the reason.
- **Can I filter spam in the API?** Yes. Every submission has a `spam` flag, and the read API can filter spam in or out. See the [API documentation](https://formkeep.com/docs/api).

## Links

- [Form backend](https://formkeep.com/features/form-endpoint-api)
- [Hosted forms](https://formkeep.com/features/form-builder)
- [Webhooks and integrations](https://formkeep.com/features/webhooks)
- [Teams and agencies](https://formkeep.com/features/teams)
- [Pricing](https://formkeep.com/pricing)
- [Create an account](https://formkeep.com/sign_up)

## About This Document

This is the agent-friendly Markdown version of the FormKeep spam protection page.
The canonical page is https://formkeep.com/features/spam-protection.
