{"id":31690,"date":"2021-06-01T06:08:44","date_gmt":"2021-06-01T06:08:44","guid":{"rendered":"\/tutorials\/?p=31690"},"modified":"2026-03-09T19:19:16","modified_gmt":"2026-03-09T19:19:16","slug":"what-is-recaptcha","status":"publish","type":"post","link":"\/ng\/tutorials\/what-is-recaptcha","title":{"rendered":"What is reCAPTCHA? everything you need to know"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p><strong>reCAPTCHA <\/strong>is a free Google service that protects websites from spam and abuse by distinguishing human users from automated bots. Using machine learning and advanced risk analysis, it is a more advanced version of the traditional <strong>CAPTCHA<\/strong> system.<\/p><p>The Turing test is a method to determine whether or not computers can exhibit human-like behavior. This kind of behavior is examined by reCAPTCHA and is often employed to prevent abuse of sign-up, contact forms, or comment sections.<\/p><p>There are multiple types of CAPTCHA tests available, from using a real-life image or a simple checkbox. This article will share how the different types of tests work and how to install this kind of test on your site.<\/p><p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/Web-Development-Glossary-for-Beginners.pdf\">Download glossary for web beginners<\/a><\/p><p>\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-does-recaptcha-work\">How Does reCAPTCHA Work<\/h2><p>The reCAPTCHA verification process uses artificial intelligence (AI) to recognize human behavior that the bots can&rsquo;t follow. The tests need to be passable by any human user, regardless of age, gender, education, or language.<\/p><p>CAPTCHAs are all automated so that the computer program can grade the test without the interference of humans. Due to this reason, the tests are constantly evolving as both the CAPTCHA AI and malicious bots become more advanced.<\/p><p>The verification process of traditional CAPTCHAs works by forcing users to solve tests before allowing access. The CAPTCHA tests use random letters and numbers, warping them in a way that is hard for automated programs to translate. Previously, this has been a sufficient deterrence method, as bots would have difficulty recognizing these distorted letters or numbers.<\/p><p>However, more advanced bots have been developed, with the ability to quickly <a href=\"https:\/\/www.perimeterx.com\/resources\/blog\/2020\/captchas-hard-for-humans-easy-for-bots\/\">solve traditional CAPTCHAs<\/a> with algorithms trained in pattern recognition. The traditional CAPTCHAs then were replaced with more complex tests in the form of <strong>reCAPTCHA v1<\/strong>.<\/p><p>These reCAPTCHA tests used a computer-generated word and distorted text via images from old books or news articles. However, this version is no longer available as it was found to be too easy for the bots and too hard for human users.<\/p><p><strong>reCAPTCHA v2<\/strong> followed afterward, hoping to provide more complex tests to deter bots while remaining solvable by humans. This updated reCAPTCHA test requires users to select images matching a theme or check a box next to the text, stating<strong> &ldquo;I&rsquo;m not a robot&rdquo;<\/strong>.<\/p><p>An even newer version &ndash; <strong>reCAPTCHA v3<\/strong> &ndash; aims to avoid disrupting the user experience. This version limits user interaction by calculating a score according to the present user behavior and history. Computers then determine the score for the user in a preliminary Turing test.<\/p><p>The website owner has three possible responses based on the score &ndash; to grant access, block the user, or deploy reCAPTCHA v2 tests. The two available tests for this method are the image reCAPTCHA and checkbox reCAPTCHA.<\/p><h3 class=\"wp-block-heading\" id=\"h-image-recaptcha\">Image reCAPTCHA<\/h3><p>The image recognition reCAPTCHA test uses either nine or 16 lower resolution real-life images in the form of a square. Above these images, users will find displayed instructions on which image sections should be selected. For example, the instruction might ask users to select all squares featuring crosswalks or fire hydrants.<\/p><p>Once the user has selected the squares, the computer program will compare the response with other responses. If the user&rsquo;s response matches that of most other users, they pass the test.<\/p><p>The test presents images that humans see every day and can easily recognize. Whereas even advanced bots will have a hard time selecting objects from low-resolution images.<\/p><p>This test is also available in an audio version, which makes it accessible to visually impaired users. The audio test will vocalize random letters and numbers using distorted audio, prompting users to answer using text input.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/image-recaptcha-test-example.png\"><img loading=\"lazy\" decoding=\"async\" width=\"549\" height=\"800\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/image-recaptcha-test-example.png\/public\" alt=\"Image reCAPTCHA test example.\" class=\"wp-image-31691\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/image-recaptcha-test-example.png\/w=549,fit=scale-down 549w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/image-recaptcha-test-example.png\/w=206,fit=scale-down 206w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/image-recaptcha-test-example.png\/w=103,fit=scale-down 103w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-checkbox-recaptcha\">Checkbox reCAPTCHA<\/h3><p>Users don&rsquo;t need to solve or recognize anything to pass the checkbox reCAPTCHA test. Simply check a box next to the statement saying <strong>&ldquo;I&rsquo;m not a robot&rdquo;<\/strong>.<\/p><p>This test distinguishes humans from bots by following the cursor movement as it approaches the checkbox. Even a human user with the most stable hand will display some randomness in cursor movement, even on a microscopic level. A bot, typically, will not be able to mimic this kind of movement, preferring to act in a straight line.<\/p><p>If the cursor movement indicates that the user is a human, a green check icon will be displayed upon clicking the box.<\/p><p>Other than following the cursor movement, this test also assesses HTTP cookies and history present in the web browser.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/checkbox-recaptcha-test-example.png\"><img loading=\"lazy\" decoding=\"async\" width=\"431\" height=\"333\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/checkbox-recaptcha-test-example.png\/public\" alt=\"Checkbox reCAPTCHA test example.\" class=\"wp-image-31692\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/checkbox-recaptcha-test-example.png\/w=431,fit=scale-down 431w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/checkbox-recaptcha-test-example.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/checkbox-recaptcha-test-example.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/a><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-pros-and-cons-of-recaptcha\">Pros and Cons of reCAPTCHA<\/h2><p>reCAPTCHA helps to prevent bots from spamming website pages. It will always be beneficial to install this test to protect your site if you have open registration and comment sections.<\/p><p>However, the system does feature certain disadvantages as well. Here are some of the pros and cons of using reCAPTCHA on your site.<\/p><h3 class=\"wp-block-heading\" id=\"h-pros\">Pros<\/h3><p>reCAPTCHA actively protects the integrity of your site by preventing spam, abuse, and data theft from bots.<\/p><p>Here are some of the most significant pros of using reCAPTCHA:<\/p><ul class=\"wp-block-list\">\n<li><strong>Free. <\/strong>Everyone can use this service free of charge.<\/li>\n\n\n\n<li><strong>Security.<\/strong> The test protects websites from spam, fraud, and abuse. This test is a very effective additional layer of security for websites with sign-up forms and comment sections.<\/li>\n\n\n\n<li><strong>Options.<\/strong> There are different types of tests available and an option to use various tests for different kinds of forms.<\/li>\n\n\n\n<li><strong>Integrity.<\/strong> Help protect the integrity of your site by avoiding attacks that might spread malware or redirect your visitors to malicious sites.<\/li>\n\n\n\n<li><strong>Time.<\/strong> Save time by only providing services to real users. The test prevents bots from overflowing your business or comment section with fake users.<\/li>\n\n\n\n<li><strong>Adaptive.<\/strong> As bots become more advanced, reCAPTCHA constantly adjusts its tests using a machine learning algorithm. This way, reCAPTCHA tests can adapt to what the bots are capable of doing.<\/li>\n<\/ul><h3 class=\"wp-block-heading\" id=\"h-cons\">Cons<\/h3><p>While reCAPTCHA provides different options and ways to protect a site from spam and abuse, the test is not without its faults. Here are some of the cons of using the tool:<\/p><ul class=\"wp-block-list\">\n<li><strong>User experience.<\/strong> The test interrupts the flow of what a user is trying to do, possibly resulting in a negative user experience. The test might even cause visitors to abandon the site altogether.<\/li>\n\n\n\n<li><strong>Efficacy.<\/strong> Some bots can fool some of the older reCAPTCHA tests.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-how-to-install-recaptcha-on-a-website\">How to Install reCAPTCHA on a Website<\/h2><p>Installing reCAPTCHA can be done in different ways, either manually or by using a WordPress plugin. Before installing the test, there are a couple of things to consider as well, such as the type and location of the test.<\/p><p>There are different types of reCAPTCHA tests available. Select which type works best for your site. We suggest you consider your visitors and what kind of test would be best for their user experience.<\/p><p>Then, think about where you would like to add the test. reCAPTCHA services are often available next to online forms, such as sign-up or contact pages. Knowing the location of the test beforehand will help with the installation process.<\/p><p>With any reCAPTCHA installation, the first step is to get the API key pair from the <a href=\"https:\/\/www.google.com\/recaptcha\/admin\/create\">reCAPTCHA admin panel<\/a>.<\/p><p>There, fill out the form according to your website&rsquo;s needs:<\/p><ul class=\"wp-block-list\">\n<li>The <strong>Label<\/strong> can be anything you want and used to differentiate your reCAPTCHAs.<\/li>\n\n\n\n<li>Select the <strong>reCAPTCHA type<\/strong> that you want to use on your website.<\/li>\n\n\n\n<li>It is possible to add more than one website. This can be done under the <strong>Domains <\/strong>section.<\/li>\n\n\n\n<li>As a Google tool, the email under <strong>Owners<\/strong> will automatically be selected to your Gmail account. You may change or add more <strong>email addresses<\/strong> if necessary.<\/li>\n<\/ul><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/google-recaptcha-create-keys.png\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"892\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/google-recaptcha-create-keys.png\/public\" alt=\"Google reCAPTCHA creates API key pair.\" class=\"wp-image-31694\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/google-recaptcha-create-keys.png\/w=873,fit=scale-down 873w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/google-recaptcha-create-keys.png\/w=294,fit=scale-down 294w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/google-recaptcha-create-keys.png\/w=147,fit=scale-down 147w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/google-recaptcha-create-keys.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/a><\/figure><\/div><p>After you fill out the form, click on the <strong>Submit<\/strong> button. Google will generate a <strong>site key<\/strong> and a <strong>secret key<\/strong>. Use the site key in the HTML code of your site and the secret key for communication between your site and reCAPTCHA.<\/p><p>Once you have the site key and the secret key, the next step is to start the installation process.<\/p><h3 class=\"wp-block-heading\" id=\"h-installing-recaptcha-manually\">Installing reCAPTCHA Manually<\/h3><p>One of the ways to install reCAPTCHA manually is by using a <a href=\"\/ng\/tutorials\/what-is-php\/\"><strong>PHP<\/strong><\/a> or <a href=\"\/ng\/tutorials\/what-is-html\"><strong>HTML<\/strong><\/a> file. The first step is to access the <strong>root folder<\/strong> of your website. Then add the following code in the header of your form&rsquo;s PHP or HTML file, preferably after the <strong>&ldquo;title&rdquo;<\/strong> line:<\/p><pre class=\"wp-block-preformatted\">&lt;script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer&gt;&lt;\/script&gt;<\/pre><p>On the same file, paste the following code inside the form, before the <strong>submit<\/strong> line:<\/p><pre class=\"wp-block-preformatted\">&lt;div class=\"g-recaptcha\" data-sitekey=\"your_site_key\"&gt;&lt;\/div&gt;<\/pre><p>Change <strong>your_site_key<\/strong> with the <strong>Site Key<\/strong> from Google. Make sure to keep the key inside the quotation marks.<\/p><p>Then, add the secret key to the DNS records. If you use <a href=\"\/ng\/\">Hostinger<\/a> as your web hosting provider, head to the <strong>DNS Zone Editor<\/strong> on your domain&rsquo;s <strong>hPanel<\/strong>. On <strong>Manage DNS records<\/strong>, add <strong>data-sitekey<\/strong> under <strong>Name<\/strong> and your secret key under <strong>TXT value<\/strong>. Click on the <strong>Add Record<\/strong> button.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1121\" height=\"354\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\/public\" alt='The \"DNS Zone Editor\" feature on hPanel' class=\"wp-image-79416\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\/w=1121,fit=scale-down 1121w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/hpanel-advanced-dnszoneeditor-1.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1121px) 100vw, 1121px\" \/><\/a><\/figure><\/div><p>Remember that it might take up to 24 hours for changes to take effect.<\/p><h3 class=\"wp-block-heading\" id=\"h-installing-recaptcha-using-a-plugin-wordpress-only\">Installing reCAPTCHA Using a Plugin (WordPress Only)<\/h3><p>If you use <a href=\"\/ng\/tutorials\/worpress-recaptcha\">WordPress, installing reCAPTCHA<\/a> is simple using a plugin. First, <a href=\"\/ng\/tutorials\/wordpress\/how-to-install-wordpress-plugins\">manually install a WordPress plugin<\/a> for reCAPTCHA. While a couple of plugin options are available to add the test, there is no official reCAPTCHA plugin.<\/p><p>To look for all the reCAPTCHA plugins available, head to <strong>Dashboard -&gt; Plugins -&gt; Add New<\/strong>. Input <strong>reCAPTCHA<\/strong> search box &ndash; most of the search results will come up as <a href=\"\/ng\/tutorials\/how-to-create-a-contact-form-on-wordpress\">contact form<\/a> plugins.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1337\" height=\"668\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\/public\" alt=\"WordPress reCAPTCHA plugins search.\" class=\"wp-image-31696\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\/w=1337,fit=scale-down 1337w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/WordPress-reCAPTCHA-plugins.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1337px) 100vw, 1337px\" \/><\/a><\/figure><\/div><p>Before selecting the plugin, make sure that it is compatible with your version of WordPress. For this example, we will be using the <a href=\"https:\/\/wordpress.org\/plugins\/contact-form-7\/\">Contact Form 7<\/a> plugin.<\/p><p>The Contact Form 7 plugin has the option to integrate reCAPTCHA protection on all of its forms. To do so, head to the <strong>Dashboard -&gt; Contact -&gt; Integration<\/strong> after you install and activate the plugin. Under the reCAPTCHA section, click on the <strong>Setup integration<\/strong> button.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-reCAPTCHA-Setup-Integration-feature-on-the-Contact-7-plugin.png\"><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"646\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/The-reCAPTCHA-Setup-Integration-feature-on-the-Contact-7-plugin.png\/public\" alt=\"The reCAPTCHA Setup Integration on the WordPress dashboard\" class=\"wp-image-79481\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/The-reCAPTCHA-Setup-Integration-feature-on-the-Contact-7-plugin.png\/w=885,fit=scale-down 885w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/The-reCAPTCHA-Setup-Integration-feature-on-the-Contact-7-plugin.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/The-reCAPTCHA-Setup-Integration-feature-on-the-Contact-7-plugin.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/03\/The-reCAPTCHA-Setup-Integration-feature-on-the-Contact-7-plugin.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/a><\/figure><\/div><p>There, add the site key and the secret key from earlier. Once you&rsquo;re done, click on the <strong>Save Changes<\/strong> button. Hit the <strong>Setup Integration<\/strong> button again.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-plugin-recaptcha-setup-integration-steps.png\"><img loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"240\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-plugin-recaptcha-setup-integration-steps.png\/public\" alt=\"WordPress plugin reCAPTCHA setup integration steps.\" class=\"wp-image-31698\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-plugin-recaptcha-setup-integration-steps.png\/w=524,fit=scale-down 524w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-plugin-recaptcha-setup-integration-steps.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-plugin-recaptcha-setup-integration-steps.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/a><\/figure><\/div><p>Once the integration process is complete, WordPress will show you the two keys.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-api-key-pair.png\"><img loading=\"lazy\" decoding=\"async\" width=\"527\" height=\"375\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-api-key-pair.png\/public\" alt=\"WordPress reCAPTCHA plugin API key pair.\" class=\"wp-image-31699\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-api-key-pair.png\/w=527,fit=scale-down 527w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-api-key-pair.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-api-key-pair.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/a><\/figure><\/div><p>Then, head to <strong>Dashboard -&gt; Contact -&gt; Add New <\/strong>to add the necessary information for the form. Add a title in the<strong> Enter title here <\/strong>section to differentiate between the forms.<\/p><p>Once you edit the content of the form field, add <strong>&ldquo;[recaptcha]&rdquo;<\/strong> before the <strong>&ldquo;[submit &ldquo;Submit&rdquo;]&rdquo;<\/strong> line. Click the <strong>Save<\/strong> button. There will be a generated <strong>shortcode<\/strong> under the title.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1497\" height=\"656\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\/public\" alt=\"WordPress reCAPTCHA plugin add a new form.\" class=\"wp-image-31700\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\/w=1497,fit=scale-down 1497w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-recaptcha-plugin-add-form.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1497px) 100vw, 1497px\" \/><\/a><\/figure><\/div><p>Copy the shortcode and head to the WordPress editor to add the form field you have created. On the <a href=\"\/ng\/tutorials\/gutenberg-wordpress\">Gutenberg<\/a> editor, simply paste the shortcode, and the form will be automatically added, integrating your reCAPTCHA test as a result.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1327\" height=\"507\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\/public\" alt=\"WordPress Gutenberg editor add a contact form block.\" class=\"wp-image-31701\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\/w=1327,fit=scale-down 1327w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2021\/05\/wordpress-gutenberg-editor-add-contact-form-block.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1327px) 100vw, 1327px\" \/><\/a><\/figure><\/div><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-full\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-web-hosting\" href=\"\/ng\/web-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/public\" alt=\"Hostinger web hosting banner\" class=\"wp-image-98604\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>reCAPTCHA is a free automated Turing test to differentiate between a human user and a bot. There are multiple types of reCAPTCHAs, all with their unique ways of identifying bots.<\/p><p>Users might have to identify a specific object present in real-life images or check a box that says <strong>&ldquo;I&rsquo;m not a robot&rdquo;<\/strong>. However, keep in mind that there are both benefits and downsides to using reCAPTCHA on your site. The test will help to identify bots, but it can also disrupt your visitor&rsquo;s user experience.<\/p><p>In this article, we have shown different ways to install reCAPTCHA on your site:<\/p><ul class=\"wp-block-list\">\n<li>First, you&rsquo;ll need to get a <strong>site <\/strong>and <strong>secret keys<\/strong> for your website.<\/li>\n\n\n\n<li>Afterward, there is the choice between installing reCAPTCHA manually or using a WordPress plugin.<\/li>\n<\/ul><p>Let us know in the comment section whether or how reCAPTCHA has helped to protect your website. Good luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>reCAPTCHA is a free Google service that protects websites from spam and abuse by distinguishing human users from automated bots. Using machine learning and advanced risk analysis, it is a more advanced version of the traditional CAPTCHA system. The Turing test is a method to determine whether or not computers can exhibit human-like behavior. This [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/what-is-recaptcha\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":207,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"What is reCAPTCHA? - Separate Humans and Bots with a Test","rank_math_description":"reCAPTCHA protects websites from spam and abuse by distinguishing human users from automated bots using various reCAPTCHA tests.","rank_math_focus_keyword":"what is recaptcha","footnotes":""},"categories":[22601],"tags":[],"class_list":["post-31690","post","type-post","status-publish","format-standard","hentry","category-website"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/what-is-recaptcha","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/recaptcha","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/que-es-recaptcha","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/recaptcha-adalah","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/what-is-recaptcha","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/what-is-recaptcha","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/what-is-recaptcha","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-es-recaptcha","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-es-recaptcha","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/que-es-recaptcha","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/recaptcha","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/what-is-recaptcha","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/what-is-recaptcha","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/what-is-recaptcha","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/what-is-recaptcha","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/31690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/207"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=31690"}],"version-history":[{"count":12,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/31690\/revisions"}],"predecessor-version":[{"id":144851,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/31690\/revisions\/144851"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=31690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=31690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=31690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}