Insights · Article

How do I stop spam from my website contact form?

Plain envelopes on a doormat below the brass mail slot of a shop door.

Short answer. Add a bot check that real visitors rarely see, keep every submission saved on your site, and send a real test inquiry after any change. No filter stops all spam, and a stricter one can block a real person, so the test matters as much as the filter.

Why spam gets through

Bots fill in any form they can find. A plain form with no check accepts them the same way it accepts a customer. Filters work by telling the two apart, and that is where the trade-off sits: the stricter the filter, the more likely it turns away a real person too. Most advice on this lists plugins and skips that cost. A blocked inquiry looks exactly like no inquiry.

The options, in plain words

Two of the common checks, from their own documentation, read 27 November 2026:

  • Turnstile (Cloudflare). Cloudflare describes it as a CAPTCHA alternative that works without showing visitors a puzzle. It runs checks in the background and asks for a simple checkbox only when it needs more. It checks the visitor, not what the visitor typed.
  • reCAPTCHA v3 (Google). Google says it never interrupts the user and returns a score for each request, from 1.0 (very likely a person) to 0.0 (very likely a bot). Your site decides what to do with the score.

We have not tested a hidden “honeypot” field, and Akismet is installed on our site but switched off, so we say nothing about how either performs.

Side by side

Two quiet bot checks

TurnstilereCAPTCHA v3
Who makes itCloudflareGoogle
What the visitor seesNothing, or a simple checkbox when neededNothing; it never interrupts
How it decidesBackground checks on the visitorA score from 0.0 to 1.0 per request
What we have usedYes, on our own formNo

Cloudflare Docs and Google for Developers, read 2026-11-27. Our own setup.

What we use

Our inquiry form uses Cloudflare Turnstile through Contact Form 7. The widget is set to stay hidden for visitors. Every inquiry is also saved inside the website, so if an email fails the entry is still there.

After any change, test

Spam protection changes how your form treats visitors, so test it like a visitor would. Send a real inquiry from your phone on mobile data, not from the office network. Check that it arrives, and that it is saved. If it does not, our article on why a contact form stops sending email shows the order to check.

A few common questions

Why am I getting spam through my contact form?

Bots find forms automatically and submit them in bulk. A form with no check will accept them as readily as a customer.

Will a spam filter block real inquiries?

It can. That is why we keep entries saved and test after each change. We cannot promise that any filter never blocks a real person.

Is Turnstile better than reCAPTCHA?

We can only say what the vendors say and what we use. Cloudflare says Turnstile works without a puzzle, and Google says reCAPTCHA v3 never interrupts users. We chose Turnstile and have not compared them side by side.

How do I check my form still works after adding spam protection?

Send a real test inquiry from a phone, then look in your inbox, your spam folder and the stored entries.

Sources

Pages read 27 November 2026. They change, so check them before you act.

Start here

Read something familiar?Tell us what’s in the way.

A defined project, an ongoing backlog, or a problem you can’t name yet: one short form covers all three. Every inquiry is read by a person. Or write to idea@longsquarestudio.ca.

What feels stuck?

Nothing is sent yet. You’ll finish a short form on the next page.