30% Off for 12 Months On All Plans Promo Code:HOSTWP30

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

Migrate your site to HostWP at no cost

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

Related Blogs

wordpress booking plugin blog banner

5 Best WordPress Booking Plugins with Payment Integration

Did you know? More than 60% of customers prefer to pay online for any service or product, and this number is growing rapidly. Therefore,…

January 23, 2026

Gmail is Discontinuing Check Mail From Other Accounts The 2026 Guide for Email Management

Gmail is Discontinuing “Check Mail From Other Accounts”: The 2026 Guide for Email Management

Many website owners have long relied on Gmail as a free ‘hub,’ utilizing the ‘Check mail from other accounts’ feature to keep all their…

January 21, 2026

Apache vs Ngnix vs LiteSpeed

Apache vs Nginx vs LiteSpeed: Which One Should You Choose To Host WordPress?

When you want to start a website, you hear a lot about hosting. But very few people discuss the software that runs the website…

January 16, 2026

Expert WordPress Support Engineers Available 24/7

90 sec
Average
Response Time

98 %
Customer
Rating

24/7
Expert
Support