Contact form spam: how to stop it without losing real inquiries
Last updated
The short answer
Most contact form spam is sent by programs that find forms on the web and fill them in automatically. Stop it with protections a visitor never sees first: a hidden decoy field (a "honeypot"), a minimum time before the form can be sent, checks on your server and a limit on how often one sender can write. Add a CAPTCHA only if spam still gets through, choose the kind that usually asks nothing of the visitor, and send yourself a test afterward to make sure real inquiries still arrive.
None of these stops a person typing a sales pitch by hand. For those, a spam filter that reads the message and marks it, rather than deleting it, is the safer tool.
Why bots fill in your form
"Spambots crawl the web looking for ways to share unsolicited content," as Squarespace's help center puts it (Squarespace Help Center). A contact form is one of those ways: it delivers a message straight to a business inbox, and a program only has to find the page. Nothing on your side has to change for the spam to start, and a small site is found the same way as a large one.
The messages fall into two groups, and they need different fixes.
- Sent by a program. Gibberish, strings of links, the same text sent many times a minute, fields filled with nonsense. These are what honeypots, time checks, send limits and CAPTCHAs stop.
- Typed by a person. Offers of SEO, web design or "guest posts", written in full sentences and sent one at a time. A CAPTCHA can't stop these, because a person passes a test for being a person. W3C's note on CAPTCHAs adds that puzzles are "readily subject to defeat by human operators" working for spammers (W3C). A filter that reads the content is the tool for this group.
What it costs you
- Real inquiries get buried. A request for a quote from a homeowner in Columbus, OH sits among the pitches, and the day you stop reading the form inbox closely is the day you miss it.
- Links you shouldn't click. Spam often carries links to unknown sites. Don't click them or reply; delete or mark the message.
- Your own email reputation, if the form sends an automatic reply. A bot can type any address into your form, so an automatic "thanks for getting in touch" goes to people who never wrote to you. Gmail's sender guidelines say "you should send email only to people who want to get messages from you" (Gmail Help), and people who receive mail they didn't ask for may mark it as spam. Send the automatic reply only to messages that passed your spam checks, keep it short with no links, or turn it off. Why complaints matter is covered in why emails go to spam.
Start with what visitors never see
These protections ask nothing of a real visitor. Most form plugins and form services offer some of them as settings; on a site built by hand, whoever built it can add them.
1. A honeypot field
A honeypot is an extra field that people can't see and simple bots fill in. W3C describes it as a form field "created to attract robots and then hidden from the user", and notes that several content management systems and WordPress plugins support it (W3C). Your server then throws away any message where the decoy is filled in. Make sure it can't catch a real person:
- Turn autofill off for it with
autocomplete="off", which stops the browser offering a visitor's saved details for that field (MDN). Don't give it a name like "email" or "phone" that a browser would fill in. - Take it out of the keyboard order, so someone pressing Tab never lands in it.
- Give it a label that says what to do. W3C's example is a hotel sign-in field labeled "This field is for robots only. Please leave blank.", so anyone whose screen reader reaches it knows to skip it.
<p class="hp">
<label for="hp">Leave this field blank</label>
<input type="text" id="hp" name="hp" tabindex="-1" autocomplete="off">
</p>
/* In your stylesheet */
.hp { display: none; }2. A minimum time before sending
A simple bot fills in a form and sends it as soon as the page loads; a person takes a while to type a message. The form records when the page was opened, and the server holds back anything sent faster than a person could have written it. Keep the limit to a few seconds, because a visitor whose browser fills in their name and email can still be quick, and put early messages in a review folder rather than deleting them.
3. Checks on your server
Anything the page checks, a program can skip. MDN puts it plainly: checks in the browser are "too easy to bypass", so the server must check every submission again (MDN). The honeypot and the time check only work if the server reads them. On the server, also reject a message with no valid email address or phone number, a name field that holds a web address, or a message that is nothing but links.
4. A limit on how often one sender can write
A real customer sends one message, maybe two. W3C lists limiting "the frequency of interaction" as one of the alternatives to a CAPTCHA (W3C). Ask your host, your form tool or whoever built the site to limit how many messages one connection can send in an hour, so a bot sending in bursts is cut off after the first few.
5. A spam filter that reads the message
Filters that score the text of a message are the one protection that also catches pitches typed by people. W3C calls them "very popular, and quite effective", and also says they get some messages wrong. So choose a setting that labels or files a suspected message, and look through that folder each week. The platform sections below say where each one keeps them.
When to add a CAPTCHA, and which kind
Add a CAPTCHA when the protections above are in place and spam still arrives, or when your form is hit in bursts. They come in four kinds, and they ask very different things of your visitors.
| Kind | What the visitor does | Examples |
|---|---|---|
| Invisible score | Nothing. Your site gets a score from 0.0 (very likely a bot) to 1.0 (very likely a person) and decides what to do with it. | Google reCAPTCHA v3 |
| Invisible check, a checkbox only when unsure | Usually nothing. A visitor who looks suspicious is asked to tick a box or solve a challenge. | Cloudflare Turnstile (managed mode), reCAPTCHA v2 invisible |
| Checkbox | Ticks "I'm not a robot", and may be given a challenge after that. | reCAPTCHA v2 checkbox |
| Puzzle | Types distorted letters, picks pictures, listens to audio or answers a question. | Older text and image CAPTCHAs, quiz fields |
Google says reCAPTCHA v3 "will never interrupt your users" (Google reCAPTCHA v3), and that its invisible v2 asks only the most suspicious visitors to solve a puzzle (Google reCAPTCHA). Cloudflare calls Turnstile a "smart CAPTCHA alternative": in its managed mode it decides whether to show a checkbox at all, based on how risky the visitor looks. It can be added to any website without sending the site's traffic through Cloudflare, and as of November 2026 Cloudflare lists a free plan for it (Cloudflare Turnstile, plans).
Puzzles shut some customers out. W3C's note on CAPTCHAs says the traditional kind is "obviously problematic for people who are blind", and that audio versions are "a poor choice for users with cognitive disabilities". It concludes that traditional CAPTCHAs are also "increasingly insecure" (W3C). A puzzle should be the last thing you try, not the first. More on forms that work for everyone is in making your site usable by everyone.
Whichever kind you choose, three rules keep real messages coming in:
- Check the answer on your server. The widget on the page proves nothing by itself. Cloudflare's own page says "The client-side widget alone does not protect your forms" and that without the server step "Tokens can be forged" (Cloudflare). Google's reCAPTCHA v3 page also has the site send the result to its own server to verify (Google reCAPTCHA).
- Decide what a low score does. With a score, you choose the cut-off; Google suggests 0.5 to start, tuned by looking at your own traffic, and advises taking "action behind the scenes instead of blocking traffic". For a contact form, that means filing low-scoring messages in a review folder, not refusing them.
- Say it in your privacy notice. reCAPTCHA sets a cookie (
_GRECAPTCHA) when it runs, and Google lets you hide its badge only if the form shows the words "This site is protected by reCAPTCHA" (reCAPTCHA FAQ). Name the service in your privacy policy and cookie information: see what a privacy policy must include and cookies and consent.
WordPress, Shopify and Squarespace
What you can change depends on who runs the form. Each platform below was checked against its own help pages in November 2026.
WordPress
On WordPress the form plugin decides. Contact Form 7, for example, offers several protections, and its own documentation suggests using more than one together.
- Akismet. Akismet checks comments and contact form messages against a shared spam database. Its keys are free for personal blogs, and paid subscriptions are for businesses and commercial sites (WordPress.org). Contact Form 7's documentation says the plugin comes bundled with WordPress: activate it under Plugins, add the key, then add the options
akismet:author,akismet:author_emailandakismet:author_urlto the matching fields (Contact Form 7). - Keep a copy of every message. When Akismet says a message is spam, Contact Form 7 holds the email back and shows the sender an error, and the plugin doesn't save submissions on its own. So a real message marked as spam by mistake reaches nobody. Its documentation names the Flamingo plugin for this: with it active, caught messages wait in Flamingo, Inbound Messages, in the Spam list, where you can mark them "Not Spam".
- Turnstile. In the WordPress dashboard go to Contact, Integration, and set up Turnstile with the two keys from Cloudflare. Contact Form 7 adds the widget to all your forms and recommends Turnstile with Cloudflare's managed mode (Contact Form 7).
- Other form plugins have their own spam settings, often with a honeypot switch. Their help pages say where caught messages go; check before you turn anything on.
Shopify
- Shopify turns on hCaptcha by default for every store. The switch is in Online Store, Preferences, under Spam protection. Each form gets an invisible check first, and only a submission that looks suspicious is given a puzzle or an "I'm a human" checkbox (Shopify Help Center).
- Don't add a second CAPTCHA. Shopify says hCaptcha isn't compatible with custom code or apps that add their own.
- Shopify also runs the message through its spam filter. A message it flags still reaches you, with [SPAM] at the start of the subject line (Shopify Help Center). Set up an email filter that moves those to a folder you look through, rather than one that deletes them.
Squarespace
- Squarespace turns on Google reCAPTCHA by default for form blocks, using the invisible v3 on most sites. To check it, edit the page, open the form block, go to Storage, then Google reCAPTCHA. A form on a cover page uses the "I'm not a robot" checkbox instead (Squarespace Help Center).
- Squarespace says there is no way to block all spam. When a submission looks like spam, the email it sends you carries a warning at the top. Use Report spam on one that got through, and Report not spam on a real message it flagged (Squarespace Help Center).
Wix: Wix's help center didn't open for us when we checked this guide's sources on November 27, 2026, so we don't describe its settings here. Search its help center for "form spam", and use the four protections in start with what visitors never see as the list of what to look for.
A form service, or a site built by hand
If an outside form service handles your form, its dashboard and help pages say what it filters and where caught messages go. On a site built by hand, ask whoever built it to add the four protections in start with what visitors never see, all checked on the server.
What not to do
- Don't swap the form for a picture of your email address. Nobody can tap a picture to write to you, and W3C's accessibility guidance asks for real text instead of images of text, because "People cannot alter how text looks in images" (W3C). Keep the form and protect it.
- Don't block whole countries without first checking where your customers write from. A customer on vacation, a family member arranging work for a parent, or anyone using a VPN can look as if they are abroad.
- Don't add fields to slow bots down. A program fills in ten fields as fast as three; a person gives up. Ask only what you need for the first reply, as turning more visitors into inquiries explains.
- Don't let a filter delete messages unseen. Every filter gets some wrong. Choose the setting that labels or files a suspected message, and look through the folder each week.
- Don't start with a puzzle. Try the invisible protections first, then an invisible CAPTCHA.
Check real inquiries still arrive
Every change to spam protection is a chance to block a customer. After each one:
- From a phone on mobile data, fill in the form the way a customer would, with a personal email address and a message you will recognize, such as "Test from Columbus, OH, 3:15". Check it reached your inbox and not the spam folder.
- Send one message that should be caught, and see where it ends up. With Akismet, Contact Form 7's documentation gives a test address,
akismet-guaranteed-spam@example.com, that is always marked as spam. - Fill in the form with a keyboard only, and with your phone's screen reader on. If you can't send it, some of your customers can't either.
- Look through the spam folder of your form tool or mailbox once a week for real messages.
If the test doesn't arrive at all, the problem is probably in how the form sends its email. Trace it step by step with contact form emails not arriving.
How the free scan checks it
The scan reads your pages from outside and never sends a form, so it can only see protection that shows in the page itself.
- Contact form shows spam protection looks at each form with a message box, or with three or more fields, for a CAPTCHA script, a form service known to filter spam, or a decoy field with a name honeypots commonly use. It warns rather than fails when it can see none, because a filter on your server, such as Akismet, is invisible from outside, and so is protection a platform adds only when the form is sent or a honeypot with an unusual name. It can't look inside a form embedded from another service.
- Forms tell you what's wrong as you go leaves up to two required fields empty, without pressing send, and checks that a message appears beside each one and that a screen reader is told about it.
- Your email address can receive mail checks that the email address on your pages can receive mail.
- Form field labels checks that the fields people fill in have labels, so a screen reader can say what each one is for.
- Contact form checks that you have a form, not only an email address.
- Privacy notice on forms checks that a form collecting people's details says how you use them.
The sample report shows how each finding is laid out, with the evidence and the fix.
Checklist
- The form has a hidden honeypot field with autofill off, a label, and no place in the keyboard order.
- The server checks the honeypot, the time taken and every field again, and limits how often one sender can write.
- A spam filter files suspected messages in a folder you look through, instead of deleting them.
- Any CAPTCHA is the kind that usually asks nothing of the visitor, and its answer is checked on the server.
- Your privacy notice names the CAPTCHA or filter service the form uses.
- Automatic replies go only to messages that passed the spam checks, or are turned off.
- The form still offers a phone number or email address as text beside it, not as a picture.
- A test from a phone, and one with the keyboard only, both reach your inbox after every change.
Questions people ask
- Why am I suddenly getting so much contact form spam?
- Programs that look for forms across the web have found yours, and nothing on your side has to change for that to happen. Start with a hidden honeypot field and checks on your server, then add a CAPTCHA that usually asks nothing of the visitor if spam still gets through.
- Does a CAPTCHA stop all form spam?
- No. A CAPTCHA tests whether the sender is a program, so it doesn't stop a person typing a sales pitch by hand, and W3C notes that puzzles can be solved by people working for spammers. A filter that reads the message and marks likely spam is the tool for those.
- Will a CAPTCHA cost me real inquiries?
- A puzzle can, because some people can't solve it, including many who use a screen reader, and a strict setting can turn real visitors away without anyone noticing. Prefer a check that usually asks nothing of the visitor, send the messages it doubts to a review folder rather than the bin, and send yourself a test after every change.
- Is a honeypot enough on its own?
- It catches simple bots that fill in every field, but a program written for your form, or a person, leaves it empty. Pair it with checks on your server and a limit on how often one address can send, and add a spam filter or a CAPTCHA only if spam still gets through.
What the free scan checks for this
These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.
- Contact form shows spam protection
- Your email address can receive mail
- Form field labels
Sources
Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.
- W3C: Inaccessibility of CAPTCHA (Group Draft Note)
- Squarespace Help Center: Preventing form and newsletter block spam
- Gmail Help: Email sender guidelines
- MDN: The HTML autocomplete attribute
- MDN: Client-side form validation
- Google reCAPTCHA: reCAPTCHA v3
- Google reCAPTCHA: Choosing the type of reCAPTCHA
- Google reCAPTCHA: Frequently asked questions
- Cloudflare Turnstile documentation
- Cloudflare Turnstile: Plans
- Cloudflare Turnstile: Validate the token (server-side validation)
- WordPress.org: Akismet Anti-spam plugin
- Contact Form 7: Spam filtering with Akismet
- Contact Form 7: Cloudflare Turnstile integration
- Shopify Help Center: Setting up your online store preferences (spam protection)
- Shopify Help Center: Add a Contact Us page
- Squarespace Help Center: Adding Google reCAPTCHA to forms
- W3C WAI: Understanding Success Criterion 1.4.5 Images of Text
More on trust and getting inquiries
- Why isn't my website getting customers? A three-question diagnosis
- How many people visit my website? Visitors, inquiries and AI traffic in Google Analytics
- How to turn more website visitors into enquiries
- Contact form emails not arriving? Find where enquiries get lost
- The pages every small-business website needs
- Trust badges and testimonials that help a website win customers
- What to put on your About page: a template for a small business
- How your links look when people share them