Opens in a new tab

How to Install reCAPTCHA in WordPress Contact Form

Written by: Ahsan Parwez

how to install recapcha in wordpress

Table of Contents

Did you know that over 50% of web traffic worldwide comes from bots? Some of these bots are harmless, but many are built for malicious purposes like spamming your forms or exploiting your website resources. If your website doesn’t have a mechanism to filter out these bad actors, you’re leaving the door open to unnecessary risks.

That’s why learning how to install reCAPTCHA in WordPress contact form is critical. reCAPTCHA, a tool developed by Google, not only protects your site from spam and abuse but also adds reassurance for your website visitors.

“…almost 50% of internet traffic comes from non-human sources. Bad bots, in particular, now comprise nearly one-third of all traffic. Bad bots have become more advanced and evasive and now mimic human behaviour so that it makes them difficult to detect and prevent.” ~2024 Bad Bot Report

4 Steps to Insert reCAPTCHA in WordPress

Previously, we covered how to add a contact form on WordPress using the free Forminator plugin. However, using a contact form without any protection or validation will cause us to receive spam. To prevent spam submissions, the best way to secure our forms is to add Google reCAPTCHA. The method we are going to cover below is also applicable to other form plugins.

Step 1: Enable reCAPTCHA in Forminator

  1. Log in to your WordPress dashboard.
  2. Navigate to Forminator in the sidebar and go to the Settings menu.
  3. Click on the reCAPTCHA tab.
forminator captcha setting

Step 2: Register Your Website on Google reCAPTCHA

  1. Go to the Google reCAPTCHA website.
  2. Click on the Admin Console in the top right.
  3. Sign in with your Google account.
  4. Register your website:
    • Provide a label (e.g., “My Website Form”).
    • Choose the reCAPTCHA type (e.g., v2 Checkbox, Invisible, or v3).
    • Enter your website’s domain.
    • Accept the terms of service and click Submit.
  5. Copy the Site Key and Secret Key.
Register Your Website on Google reCAPTCHA
copy site key

Step 3: Configure reCAPTCHA in Forminator

  1. Return to the Forminator reCAPTCHA settings in your WordPress dashboard.
  2. Paste the Site Key and Secret Key into the respective fields.
  3. Choose the desired reCAPTCHA type that matches what you selected in Google reCAPTCHA.
  4. Save your settings.
paste site key
save setting

Step 4: Add reCAPTCHA to Your Form

  1. Go to Forminator > Forms.
  2. Edit the form where you want to add reCAPTCHA.
  3. In the form builder, click on the +  INSERT FIELDS button.
  4. Select the reCAPTCHA field and drag it into your form.
  5. Configure the field settings as needed (e.g., reCAPTCHA type, alignment).
  6. Save your form.
Enable reCAPTCHA in Forminator
add racaptcha
apply

After integrating reCAPTCHA, the form offers an added layer of security, effectively preventing spam and automated submissions. While viewing the form on the front end, you and your visitors will see a badge on the bottom left of your page, as shown in the image below. 

preview

There are more use cases for reCAPTCHA on WordPress. For example, you can use it to protect your log-in, registration, and WooCommerce checkout pages. 

Keeping your website safe from spam helps you manage it much more efficiently and also protects you from receiving malicious submissions.

Most importantly, reCAPTCHA works seamlessly in the background, allowing real users to browse and interact with your site without interruption. Its unobtrusive design ensures your visitors won’t feel inconvenienced while enjoying a safer and more secure experience. Adding reCAPTCHA isn’t just about keeping out the bad actors—it’s about showing your audience that their security and time are your top priorities.

Written by Ahsan Parwez
Ahsan co-founded HostWP.io. He's passionate about making websites faster, safer, and better at reaching people. He enjoys sharing his knowledge about the web and learning new things.
Read more posts by Ahsan Parwez

Leave the first comment

Migrate your site to HostWP at no cost

Host WordPress with Confidence!
Fast, Secure, Reliable
View Pricing

Related Blogs

Best WordPress AEO Tools

9 Best WordPress AEO Tools in 2026

Search has changed completely. People no longer just type keywords into Google and click the top blue link. They ask ChatGPT a question, read…

November 20, 2026

How to Convert an HTML Site Into WordPress Bricks Builder Using Claude

A static website built with HTML and CSS gives you complete control over markup, layout, and appearance. However, every content update on an HTML…

November 18, 2026

WordPress 7.2 Review: New Theme, Responsive Controls, Secrets API, and More

Beta notice: This review is based on the WordPress 7.2 beta announcements and testing guide available as of November 12, 2026. Features, behavior, and…

November 13, 2026

Expert WordPress Support Engineers Available 24/7

90 sec
Average
Response Time

98 %
Customer
Rating

24/7
Expert
Support

Black Friday · Cyber Monday

Our biggest sale of the year.
Up to 40% off WordPress hosting.

Choose the plan that fits your business. All plans include our core managed hosting features and expert human support with no hidden fees.
Expires in:
View Plans

Submit Your Question Here.