Integration guide · SpamKill WordPress plugin

Protect your Contact Form 7 form from spam bots

In short: To stop spam on a Contact Form 7 form, install the SpamKill WordPress plugin, add your license key and tick Contact Form 7 on its Integrations tab. SpamKill then checks every Contact Form 7 submission without a CAPTCHA, and real messages still reach your inbox. It takes about 10 minutes.

Bots are filling your Contact Form 7 forms with fake messages. The SpamKill WordPress plugin checks every submission before Contact Form 7 sends it on. Your fields, mail settings and messages keep working as they do now. It takes about 10 minutes.

  • 6 steps
  • About 10 min
  • No code needed

Last verified on Contact Form 7 6.1.7, SpamKill plugin 3.0.2, WordPress 7.2

What changes, and what doesn't

Stays the same
  • Your Contact Form 7 forms, fields and design
  • The mail Contact Form 7 sends you
  • Where each form sits on your pages
What's added
  • Every submission is checked before Contact Form 7 sends it on
  • No CAPTCHA for your visitors
  • Undo it anytime by unticking one box
“SpamKill is our go-to for protection! The implementation is simple and clear, and the results are instant.”
Afton Toler, Canada, reviewed on Trustpilot More customer stories

Before you start

Have these ready so nothing stops you halfway.

  • A paid SpamKill planForm protection comes with every paid plan. No account yet? Start a free trial.
  • Admin access to WordPressYou need to install plugins and change their settings.
  • Contact Form 7, with your form on a pageThe free plugin is all you need.

Quick setup

For returning users. Each line links to its full step.

  1. In WordPress, open Plugins › Add Plugin, search for SpamKill, then click Install Now and Activate. Step 1
  2. Copy your WordPress plugin API key from the SpamKill Console, paste it into SpamKill › Configuration › License key and click Save Settings. Step 2
  3. On the Integrations tab, tick the Contact Form 7 box and click Save Settings. Step 3
  4. In Contact › Integration, remove any reCAPTCHA or Turnstile keys. Step 4
  5. The Contact Form 7 block and the [contact-form-7 id="…"] shortcode are protected now. View the page while logged in to check. Step 5
  6. Clear your page cache. Submit [email protected] and expect SpamKill's error, then submit a real message. Step 6
Step 1 of 6 · In WordPress

Install the SpamKill plugin

Where: WordPressPluginsAdd Plugin

In your WordPress admin, go to Plugins › Add Plugin. Search for SpamKill. Click Install Now on the SpamKill plugin, then click Activate.

You should see: A SpamKill item in your admin menu.

The listing only mentions comments and reviews?

That's the free part. It's the same plugin: your license key in the next step unlocks Contact Form 7 and the other form plugins.

Finished step 1?
0 of 6 steps done
Next: Add your license key ↓
Step 2 of 6 · In SpamKill and WordPress

Add your license key

Where: WordPressSpamKillConfiguration

Sign in to the SpamKill Console. On the home page, click COPY next to your WordPress plugin API key. In WordPress, open SpamKill in the admin menu. On the Configuration tab, paste the key into License key (1). Click Save Settings (2).

The SpamKill plugin's License section with a license key pasted, Pro mode active in green, and the Save Settings button
1License key2Save Settings

You should see: Pro mode active in green under the key.

Can't find a license key in SpamKill?

The Console calls it your WordPress plugin API key. It's on the home page and under Configuration › API key. One key covers all your sites.

Finished step 2?
0 of 6 steps done
Next: Turn on Contact Form 7 ↓
Step 3 of 6 · In WordPress

Turn on Contact Form 7

Where: WordPressSpamKillIntegrations

Still in SpamKill, open the Integrations tab (1). Tick the box for Contact Form 7, listed as Contact Forms 7 (2). Scroll down and click Save Settings.

The SpamKill plugin's Integrations tab with Forminator Forms, Mailerlite Forms and Contact Forms 7 ticked
1Integrations2Contact Form 7

You should see: The Contact Form 7 box still ticked after the page reloads.

Is the Contact Form 7 box greyed out?

SpamKill only unlocks the box once Contact Form 7 is active and Pro mode active shows on the Configuration tab. Activate Contact Form 7 under Plugins, or save your license key again.

Finished step 3?
0 of 6 steps done
Next: Check Contact Form 7's CAPTCHA ↓
Step 4 of 6 · In Contact Form 7

Check Contact Form 7's CAPTCHA

Where: WordPressContactIntegration

Go to Contact › Integration. If reCAPTCHA or Turnstile is set up there, remove its keys. If both show Setup integration, there's nothing to change.

You should see: Setup integration under both reCAPTCHA and Turnstile.

Why remove the CAPTCHA?

SpamKill already checks every submission, so your visitors don't need to solve a puzzle. This is the setup SpamKill is tested with.

Finished step 4?
0 of 6 steps done
Next: Check how your form is placed ↓
Step 5 of 6 · In your page editor

Check how your form is placed

Where: WordPressPagesYour page

Open the page with your form in the WordPress editor. A form added with the Contact Form 7 block is protected now. A form added with the [contact-form-7 id="…"] shortcode is protected now too. Then view the page while you're logged in (1).

A Contact Form 7 Submit button with SpamKill's admin notice under it saying the form is protected
1Protected by SpamKill

You should see: Under your form, a notice only logged-in admins see: Admin Notice: This form is protected by Spamkill.

Want SpamKill on one form only?

Leave the Contact Form 7 box in SpamKill unticked and wrap that form's shortcode in [spamkill], like this: [spamkill][contact-form-7 id="abc1234"][/spamkill]. Copy the form's own shortcode from the Shortcode column in Contact › Contact Forms.

Finished step 5?
0 of 6 steps done
Next: Clear your cache and test ↓
Step 6 of 6 · On your live form

Clear your cache and test

If your site uses a caching plugin, clear its cache so visitors get the protected form. Open your page in a private window. Submit the form with [email protected] (1). Then go back and submit it with your own details.

SpamKill's That email address doesn't look right page with a Go back to the form button
1Blocked by SpamKill
Contact Form 7's Thank you for your message. It has been sent. message under the Submit button
2Message sent
On your page

The first try shows That email address doesn't look right.

Under the form

The second try shows Contact Form 7's sent message (2), by default Thank you for your message. It has been sent.

In your inbox

Contact Form 7's mail for the second try. Contact Form 7 doesn't store messages, so your inbox is where they arrive.

You should see: Thank you for your message. It has been sent. under the form after the second try.

See "Did you mean …?" under the email?

That's SpamKill's typo hint. It doesn't stop the form: click the submit button anyway.

Finished step 6?
0 of 6 steps done

Your Contact Form 7 form is protected

  • Bots are stopped before they reach Contact Form 7.
  • Real leads arrive exactly as before, with no extra steps for them.
  • Every block is logged in your SpamKill dashboard.
Open your dashboard

Something not working?

Find what you're seeing.

My form still shows a CAPTCHA

Open Contact › Integration and remove the reCAPTCHA or Turnstile keys. Then clear your page cache.

The message sent, but no mail arrived

Check the Mail tab of your form in Contact › Contact Forms, and your spam folder. Contact Form 7 doesn't store messages, so mail is the only copy.

A notice says "This form is NOT protected by SpamKill"

Only logged-in admins see it. Open SpamKill › Integrations, tick Contact Form 7 and click Save Settings. Or wrap that one form's shortcode in [spamkill].

My form still shows the old fields

SpamKill keeps a protected copy of each form. In WordPress, open SpamKill and, on the Configuration tab, click Delete Cache under SpamKill: Cache. Then clear your page cache.

A notice says the key was not accepted

The key was mistyped or your plan has ended. Copy the WordPress plugin API key from the SpamKill Console again, paste it into License key and click Save Settings.

A real visitor was told their email doesn't look right

SpamKill checks for missing @ symbols, extra spaces and common typos. The visitor can click Go back to the form, fix the address and send again.

Changed your mind? Undo in under a minute

  1. In WordPress, open SpamKill and go to the Integrations tab.
  2. Untick Contact Form 7 and click Save Settings. Contact Form 7 handles your forms on its own again.
  3. If you wrapped a shortcode in [spamkill], delete the wrap.
  4. Optional: set up reCAPTCHA or Turnstile again under Contact › Integration.
Did this guide work for you?

Stuck? We'll set it up with you.

Free setup help for every plan. Send us a message and we'll walk through your Contact Form 7 form with you.

Get setup help