reCaptcha by BestWebSoft


reCaptcha plugin is an effective security solution that protects your WordPress website forms from spam entries while letting real people pass through with ease. It can be used for login, registration, password recovery, comments, popular contact forms, and other. reCAPTCHA Version 3, Version 2, Invisible are included.

Users are required to confirm that they are not a robot before the form can be submitted. It’s easy for people and hard for bots.

View Demo

Free Features

  • Add reCaptcha to:
  • Hide reCaptcha for the whitelisted IP addresses
  • Disable the submit button
  • Validity check of keys in admin panel
  • Available reCaptcha themes for:
    • Version 1
      • Red (default)
      • White
      • Blackglass
      • Clean
    • Version 2
      • Light (default)
      • Dark
  • Compatible with Limit Attempts
  • Hide reCaptcha in your forms for certain user roles
  • Hide reCaptcha Badge (Invisible and V3)
  • Supports reCaptcha:
    • Version 2
    • Version 3
    • Invisible reCAPTCHA
  • Add custom code via plugin settings page
  • Compatible with latest WordPress version
  • Incredibly simple settings for fast setup without modifying code
  • Detailed step-by-step documentation and videos
  • Multilingual and RTL ready

Pro Features

All features from Free version included plus:

  • Compatible with:
    • Contact Form 7 (since v 3.4)
    • Subscriber
    • Multilanguage
    • Jetpack contact form
    • Fast Secure Contact Form
    • MailChimp for WordPress
    • Ninja Forms
  • Compatible with WooCommerce:
    • Login form
    • Register form
    • Lost password form
    • Checkout billing form
  • Compatible with Divi:
    • Divi Builder Contact form
    • Divi Builder Login form
    • Divi Theme Contact form
  • Compatible with bbPress:
    • New Topic form
    • Reply form
  • Compatible with BuddyPress:
    • Registration form
    • Comments form
    • Create a Group form
  • Compatible with Forums – wpForo:
    • Login form
    • Registration form
    • New Topic form
    • Reply form
  • Select reCaptcha language manually
  • Change size: normal or compact (for version 2)
  • Configure all subsites on the network
  • Get answer to your support question within one business day (Support Policy)

Upgrade to Pro Now

If you have a feature suggestion or idea you’d like to see in the plugin, we’d love to hear about it! Suggest a Feature

Documentation & Videos

Help & Support

Visit our Help Center if you have any questions, our friendly Support Team is happy to help –


  • Czech (cs_CZ) (thanks to Michal Kučera,, PaMaDeSSoft,
  • Romanian (ro_RO)
  • Russian (ru_RU)
  • Spanish (es_ES)
  • Ukrainian (uk)

Some of these translations are not complete. We are constantly adding new features which should be translated. If you would like to create your own language pack or update the existing one, you can send the text of PO and MO files to BestWebSoft and we’ll add it to the plugin. You can download the latest version of the program for work with PO and MO files Poedit.

Aanbevolen plugins

  • Updater – Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.
  • Contact Form – Simple contact form plugin any WordPress website must have.
  • Subscriber – Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.
  • Multilanguage – Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.


  • lib/recaptchalib.php – Copyright © 2007. Mike Crawford, Ben Maurer (reCAPTCHA – All Rights Reserved.


  • Login form with reCaptcha.
  • Registration form with reCaptcha.
  • Lost password form with reCaptcha.
  • Comments form with reCaptcha.
  • Contact Form with reCaptcha.
  • The form with reCaptcha dark theme.
  • reCaptcha Settings page.
  • reCaptcha Whitelist page.


  1. Upload the google-captcha folder to the /wp-content/plugins/ directory.
  2. Activate the plugin via the ‘Plugins’ menu in WordPress.
  3. Plugin settings are located in reCaptcha menu.
  4. Create a form in post and insert the shortcode [bws_google_captcha] into the form.

View a Step-by-step Instruction on reCaptcha Installation


How to get reCaptcha keys?

Follow the next steps in order to get and enable reCaptcha protection using the official Google Captcha keys:
1. Open your WordPress admin dashboard.
2. Navigate to the plugin Settings page.
3. Click the “Get the API Keys” link.
4. Enter your domain name and click “Create Key” button.
5. You will see your public and private keys. Copy them and paste to the appropriate fields on plugin Settings page.
6. Save changes.

How to hide reCaptcha in Comments for registered users?

You should go to the Settings page and select the roles, for which you want to hide reCaptcha. Then you must click “Save Changes” button.

Is it possible to Change the appearance and style of the reCaptcha?

Follow the next steps in order to change the appearance of the reCaptcha:
1. Open your WordPress admin dashboard.
2. Navigate to the plugin Settings page.
3. Select reCAPTCHA version.
4. Find the “Theme” option (only available for versions 1 and 2) and select the necessary style from the drop-down list.
5. Save changes and check the result.

reCaptcha not displayed on my comment form. Why?

You might have a theme where “comments.php” is coded incorrectly. WordPress version matters.
(WP2 series): Make sure that you theme contains a tag <?php do_action('comment_form', $post->ID); ?> inside the file /wp-content/themes/[your_theme]/comments.php.
Most WP2 themes already have it. The best place to put this tag is before the comment text area, you can move it up if it is below the comment text area.
(WP3 series): WP3 has a new function comment_form inside of /wp-includes/comment-template.php.
Your theme is probably not up-to-date to call that function from “comments.php”.
WP3 theme does not need the code line do_action(‘comment_form’… inside of /wp-content/themes/[your_theme]/comments.php.
Instead it uses a new function call inside of “comments.php”: <?php comment_form(); ?>
If you have WP3 and captcha is still missing, make sure your theme has <?php comment_form(); ?>
inside of /wp-content/themes/[your_theme]/comments.php (please check the Twenty Ten theme’s “comments.php” for proper example).

How can I change the location of reCaptcha in the comments form?

It depends on the comments form. If the hook call by means of which captcha works (‘after_comment_field’ or something like this) is present in the file comments.php, you can change captcha positioning by moving this hook call. Please find the file ‘comments.php’ in the theme and change position of the line

do_action( 'comment_form_after_fields' );

or any similar line – place it under the Submit button.
In case there is no such hook in the comments file of your theme, then, unfortunately, this option is not available.

Add reCaptcha plugin to a custom form on your WordPress website

Follow the instructions below in order to add reCaptcha plugin to your custom PHP or HTML form:
1. Install the reCaptcha plugin and activate it.
2. (Optional) If you would like to have an ability to enable and disable the reCAPTCHA for your custom form on the plugin settings page, please add the following code to the ‘functions.php’ file of your theme:

function add_custom_recaptcha_forms( $forms ) {
    $forms['my_custom_form'] = array( "form_name" => "Custom Form Name" );
    return $forms;
add_filter( 'gglcptch_add_custom_form', 'add_custom_recaptcha_forms' );

In this example, ‘my_custom_form’ is a slug of your custom form.

Please don’t use the following form slugs since they are predefined by plugin settings: login_form, registration_form, reset_pwd_form, comments_form, contact_form, cf7, si_contact_form, jetpack_contact_form, sbscrbr, bbpress_new_topic_form, bbpress_reply_form, buddypress_register, buddypress_comments, buddypress_group, woocommerce_login, woocommerce_register, woocommerce_lost_password, woocommerce_checkout, wpforo_login_form, wpforo_register_form, wpforo_new_topic_form, wpforo_reply_form.
– Save file changes;
– Go to the “Settings” tab on the plugin settings page (Admin Dashboard -> reCaptcha); If everything is OK, you will see your form in ‘Enable reCAPTCHA for’ => ‘Custom Forms’ (with labels which you specified in the “gglcptch_add_custom_form” hook call function).
– Enable it and configure form options as you need;
– Click “Save Changes” button;

If you don’t add this code, no option for your custom form will be displayed on the plugin settings page and the reCAPTCHA will be always displayed in your custom form.

  1. Open the file with the form (where you would like to add reCAPTCHA);
  2. Find a place to insert the code for the reCAPTCHA output;
    If you completed the instructions in p. 2, then you should add:

In dit voorbeeld is de 2de parameter een stuk van je custom form.

Anders voeg je de volgende lijn toe:

<?php echo apply_filters( 'gglcptch_display_recaptcha', '' ); ?>
  1. After that, you should add the following lines to the function of the entered data checking.
    If you completed the instructions in p. 2, then you should add:

In dit voorbeeld is de 3rd-party parameter een stuk van je custom form.

Anders voeg je volgende lijnen toe:

<?php $check_result = apply_filters( 'gglcptch_verify_recaptcha', true, 'string' );
if ( true === $check_result ) { /* the reCAPTCHA answer is right */
    /* do necessary action */
} else { /* the reCAPTCHA answer is wrong or there are some other errors */
    echo $check_result; /* display the error message or do other necessary actions in case when the reCAPTCHA test was failed */
} ?>

If there is a variable in the check function responsible for the errors output, you can concatenate variable $check_result to this variable. If the ‘gglcptch_verify_recaptcha’ filter hook returns ‘true’, it means that you have entered the reCAPTCHA answer properly. In all other cases, the function will return the string with the error message.

If you have followed all steps, but the problem remains, we can help you to configure your reCaptcha custom form. This will be a paid service since there are a lot of different custom forms and the code should be inserted individually into each of them, so we need some time to study each unique case.

I have some problems with the plugin’s work. What Information should I provide to receive proper support?

Please make sure that the problem hasn’t been discussed yet on our forum ( If no, please provide the following data along with your problem’s description:
– The link to the page where the problem occurs
– The name of the plugin and its version. If you are using a pro version – your order number.
– The version of your WordPress installation
– Copy and paste into the message your system status report. Please read more here: Instruction on System Status


2 november 2020
Claims free integration with contact form in plugin details, but this feature is only available in pro version. Update with correct infos, please!
26 augustus 2020
Easy to configure, with many great options. This plugin even works with DIY forms; just follow the excellent instructions in the readme file. Worked right the very first time.
24 augustus 2020
I have this installed on 6 sites right now. Love the customization, works like a charm, and the support folk are super responsive and helpful.
12 augustus 2020
Hi, I am getting this error in some sites "Uncaught (in promise) null" I had to desactivate the plugin. Is a bug? Thanks, Francisco
Lees alle 344 beoordelingen

Bijdragers & ontwikkelaars

“reCaptcha by BestWebSoft” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


“reCaptcha by BestWebSoft” is vertaald in 7 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “reCaptcha by BestWebSoft” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.


V1.58 – 10.09.2020

  • Pro : The compatibility with Gravity Forms has been fixed.
  • Pro : The bug with the reCaptcha displaying in wpForo form has been fixed.
  • Update : BWS menu has been updated.

V1.57 – 01.06.2020

  • Bugfix : The bug with sending a standard email after registration has been fixed.

V1.56 – 06.03.2020

  • NEW : The Romanian language file was added.
  • Update : BWS menu has been updated.
  • Update : All functionality was updated for WordPress 5.3.2.
  • Bugfix : The bug with the reCAPTCHA displaying in Internet Explorer has been fixed.

V1.55 – 11.12.2019

  • Update : Plugin was renamed.
  • Bugfix : Vulnerabilities and security issues were fixed.

V1.54 – 22.11.2019

  • Bugfix : Minor bugs have been fixed.
  • Update : BWS menu has been updated.

V1.53 – 01.11.2019

  • Pro : The compatibility with Divi theme and Divi builder has been improved.
  • Pro : The bug with the reCAPTCHA verification on the Buddypress comment form has been fixed.
  • Bugfix : The bug with the Google Captcha (reCAPTCHA) Version 3 verification in several forms on the page has been fixed.
  • Update : All functionality was updated for WordPress 5.2.4.

V1.52 – 04.09.2019

  • Update: The deactivation feedback has been changed. Misleading buttons have been removed.

V1.51 – 14.08.2019

  • Update : BWS menu has been updated.
  • Pro : The bug with the reCAPTCHA verification on the Divi Contact forms has been fixed.

V1.50 – 31.07.2019

  • Pro : The bug with the Divi Theme hooks has been fixed.

V1.49 – 30.07.2019

  • Update : General performance has been improved.

V1.48 – 27.07.2019

  • Pro : The compatibility with Divi child themes has been fixed.

V1.47 – 18.07.2019

  • Update : The bug with the reCAPTCHA verification in version 1.46 has been fixed.

V1.46 – 16.07.2019

  • Update : All functionality was updated for WordPress 5.2.2.

V1.45 – 16.07.2019

  • Bugfix : The bug with “Disabled Submit Button” option in several forms on the page has been fixed.
  • Bugfix : The bug with custom forms has been fixed.

V1.44 – 09.05.2019

  • NEW : The ability to keep submit button disabled until user passes the reCAPTCHA test has been added.
  • Bugfix : The bug with “Advanced Protection” option has been fixed.

V1.43 – 27.03.2019

  • NEW : The ability to hide reCAPTCHA Badge has been added.
  • PRO : The compatibility with Divi Theme has been added.
  • Bugfix : The bug with button Test verification has been fixed.

V1.42 – 26.02.2019

  • PRO : The compatibility with Divi Builder has been added.
  • Update : All functionality was updated for WordPress 5.1.

V1.41 – 13.02.2019

  • PRO : The compatibility with Ninja Forms has been added.
  • Update : The user interface has been updated.
  • Bugfix : The code refactoring was performed.

V1.40 – 18.01.2019

  • Update : All functionality was updated for WordPress 5.0.3.
  • Update : The enqueueing of styles and scripts has been improved.

V1.39 – 20.12.2018

  • Update : All functionality was updated for WordPress 5.0.1.

V1.38 – 26.11.2018

  • NEW : Google Captcha (reCAPTCHA) Version 3 has been added.

V1.37 – 07.08.2018

  • NEW : The compatibility with Testimonials by BestWebSoft has been added.
  • Update : The Czech language file has been updated.
  • PRO : The bug related to WooCommerce Checkout form has been fixed.

V1.36 – 19.03.2018

  • PRO : The bug related to BuddyPress registration form has been fixed.

V1.35 – 08.02.2018

  • Update : The Czech language file has been updated.
  • Bugfix : Google Captcha responsive styles have been fixed.
  • Bugfix : Potential bruteforce vulnerability has been fixed.

V1.34 – 06.02.2018

  • NEW : The compatibility with Wordfence option “Immediately block the IP of users who try to sign in as these usernames” has been added.
  • Update : reCAPTCHA output functionality in forms has been optimized.
  • Update : The compatibility with Limit Attempts by BestWebSoft has been improved.

V1.33 – 15.11.2017

  • Bugfix : Redundant reCAPTCHA checking has been removed.
  • Update : The compatibility with Captcha by BestWebSoft and Contact Form by BestWebSoft plugins has been improved.

V1.32 – 13.10.2017

  • NIEUW: Compatibiliteit met de Limit Attempts plugin van BestWebSoft os toegevoegd.
  • NIEUW: Mogelijkheid om Google Captcha de verbergen voor ingelogde users is toegevoegd.
  • Update: Mogelijkheid om Google Captcha te controleren via AJAX is verwijderd
  • Update: Mogelijkheid om de Google Captcha te tonen en de controleren in 3rd-party formulieren via filters is toegevoegd.
  • Update: Mogelijkheid om Google Captcha uit te schakelen bij onload callback is toegevoegd.
  • PRO: Compatibiliteit met bbPress, Fast Secure Contact Form, Jetpack, Forums – wpForo formulieren is toegevoegd.

V1.31 – 21.08.2017

  • Update : The plugin settings page has been updated.

V1.30 – 18.05.2017

  • Update : The Spanish language file has been updated.

V1.29 – 27.04.2017

  • NEW : Invisible reCAPTCHA version has been added.
  • Update : The Czech language file has been updated.

V1.28 – 14.04.2017

  • Bugfix : Multiple Cross-Site Scripting (XSS) vulnerability was fixed.

V1.27 – 26.10.2016

  • NEW : Ability to hide Google Captcha (reCAPTCHA) for whitelisted IP and ability to set whitelist notification.
  • PRO : Compatibility with WooCommerce plugin has been added.
  • PRO : List of reCAPTCHA languages updated.

V1.26 – 15.08.2016

  • Update : Hook’s priority was changed for displaying captcha in the registration form.
  • Update : Compatible with JetPack.

V1.25 – 15.07.2016

  • Update : BWS panel section was updated.

V1.24 – 27.06.2016

  • Update : Functionality to use Captcha with Contact Form Multi was updated.
  • Update : BWS Panel section is updated.

V1.23 – 19.04.2016

  • NEW : Ability to test entered site key and secret key.
  • NEW : Ability to add custom styles.

V1.22 – 25.02.2016

  • NEW : The Czech language file has been added.
  • UPDATE : Functionality of plugin`s scripts adding has been changed so that they will be added only on pages where the CAPTCHA will be displayed.
  • Bugfix : The bug with displaying several reCAPTCHA`s blocks on the same page in different forms has been fixed.
  • Bugfix : The bug with definition of JS function on() has been fixed.

V1.21 – 10.12.2015

  • NEW : A button for Google Captcha (reCAPTCHA) shortcode inserting to the content was added.
  • NEW : The Farsi/Persian language file was added.
  • NEW : The French language file was added.

V1.20 – 02.10.2015

  • Update : Textdomain was changed.

V1.19 – 28.08.2015

  • Bugfix : We fixed the bug with Google Captcha (reCAPTCHA) version 2 working in PHP version lower than 5.3.

V1.18 – 26.08.2015

  • NEW : Ability to restore default settings.
  • Update : BWS Menu was updated.
  • Update : We updated all functionality for wordpress 4.3.

V1.17 – 29.06.2015

  • Bugfix : We fixed the bug with checking captcha in custom login form\register form\lost password form.

V1.16 – 18.05.2015

  • Bugfix : We fixed the bug with checking captcha when deleted ‘recaptcha_widget_div’.
  • Bugfix : We fixed the bug with using deprecated jQuery methods (thanks to Junio Vitorino,
  • NEW : The Arabic language file is added.
  • NEW : The German language file is added.
  • NEW : The Hindi language file is added.
  • Update : We updated all functionality for wordpress 4.2.2.

V1.15 – 09.04.2015

  • Bugfix : We fixed the bug with captcha check for users from the list of exceptions.

V1.14 – 07.04.2015

  • Bugfix : Captcha work with comments forms with disabled javascript was fixed.
  • Bugfix : Check reCaptcha v2 in PHP version 5.6 and above was fixed.
  • NEW : The Italian language file is added.

V1.13 – 13.02.2015

  • Bugfix : We fixed the vulnerability when entering the dashboard.
  • NEW : The Greek language file is added.

V1.12 – 20.01.2015

  • NEW : The Bulgarian language file is added.
  • Update : We added the check of the “allow_url_fopen” option in PHP settings.
  • Update : We added style for forms that use captcha v2.

V1.11 – 30.12.2014

  • Update : New Google Captcha (reCAPTCHA) version is added.
  • Bugfix : We fixed the bug with displaying Google Captcha (reCAPTCHA) on the multisite register form.
  • Bugfix : We fixed the bug with multilanguage plugin.
  • Update : We updated all functionality for wordpress 4.1.

V1.10 – 26.11.2014

  • Update : We updated url and key names for Google Api.

V1.09 – 14.11.2014

  • Bugfix : We fixed the bug with joint displaying Google reCaptcha and Captcha.
  • Bugfix : We fixed the bug with wrong answers in custom forms.
  • Bugfix : We fixed the bug with login redirect.

V1.08 – 14.10.2014

  • New : The Spanish language file is added.
  • Bugfix : Bug with multisite was fixed.
  • Bugfix : Bug with user`s login was fixed.
  • Bugfix : Bug when Contact Form submit was fixed.

V1.07 – 02.09.2014

  • New : The Chinese (Traditional) language file is added.

V1.06 – 07.08.2014

  • Bugfix : Security Exploit was fixed.
  • Bugfix : The display of private key in the front-end was removed.

V1.05 – 21.07.2014

  • Bugfix : Problem with submitting form with Google Captcha (reCAPTCHA) is fixed.

V1.04 – 18.07.2014

  • Bugfix : Problem with displaying Google Captcha (reCAPTCHA) in Contact Form Pro (by BestWebSoft) is fixed.
  • New : The Brazilian Portuguese language file is added.

V1.03 – 06.06.2014

  • New : The Polish language file is added.
  • New : The Ukrainian language file is added.
  • New : Renew captcha automaticly if was entered wrong value (thanks to Yaroslav Rogoza,
  • Update : We updated all functionality for wordpress 3.9.1.
  • Bugfix : Problem with checking captcha for sites with https was fixed.

V1.02 – 03.04.2014

  • Update : Screenshots are updated.
  • Update : BWS plugins section is updated.
  • Bugfix : Plugin optimization is done.

V1.01 – 05.02.2014

  • Bugfix : The bug with adding comments from admin panel was fixed.
  • NEW : “Settings”, “FAQ”, “Support” links were added to the plugin action page.
  • NEW : Links on the plugins page were added.


  • NEW : Ability to add Google Captcha (reCAPTCHA) into standard forms was added.