Skip to content
Websites · Down or broken

How to stop spam through your website contact form

Getting junk through your contact form? Add a hidden honeypot field, a spam check like Cloudflare Turnstile and a keyword filter, and keep the form on.

By Miro, Wave Digital. Updated .

Most contact form spam comes from bots that fill in every form they find. A hidden honeypot field and a spam check such as Cloudflare Turnstile stop nearly all of it, without making real customers do anything extra.

Start with a honeypot

A honeypot is an extra field hidden from people but visible to bots. Bots fill in every field, so any entry with that one completed gets thrown away.

Most WordPress form plugins have one built in. Gravity Forms has an anti-spam honeypot option in each form's settings, and Contact Form 7 needs a free honeypot add-on. Wix and Squarespace forms have their own spam protection.

Add a spam check

If a honeypot isn't enough, add a check that tells people and bots apart.

Option What visitors see Notes
Cloudflare Turnstile Usually nothing, sometimes a single tick box Free, and you don't need to use Cloudflare for anything else
Google reCAPTCHA v3 Nothing Scores each visit in the background. Shows a reCAPTCHA badge on your pages
Google reCAPTCHA v2 An "I'm not a robot" box, sometimes picture puzzles The puzzles annoy people, especially on phones

Turnstile suits most small business sites, and the main form plugins support it. After adding any check, send a test enquiry from your phone. If you struggle to get through, so will your customers.

Filter what still gets through

Some spam is typed by real people, usually selling SEO, web design or loans. A spam check won't stop that, but a filter can.

Avoid keywords a real customer might use, and flag rather than delete where you can.

Don't just turn the form off

Removing the form costs you enquiries. Many people would rather fill in a form than call or email, especially after hours or from a phone. Putting your email address on the page instead invites more spam, since bots collect addresses from websites.

If your form has stopped sending altogether, that's a different problem. See contact form emails not arriving.

When to get help

If you're still getting several spam messages a day after adding a honeypot and a spam check, the form may need rebuilding or a better plugin. It's also worth getting help if a spam check is blocking real customers. Talk to us and we'll look at your form.

Is your site slow on phones, out of date or marked "Not secure"?

Put in your web address and find out free in about 30 seconds.

Rather not deal with this yourself?

We add a honeypot, a spam check and a filter that suit your form, then test it so real enquiries still get through. With Website Cover, we keep watching it.

Website Cover is $95 a month + GST. We move your website over, fix this and everything else on our list, and keep it fixed. No contract.