What Is CAPTCHA and How Does It Work? (2024)

Written by Danielle Bodnar
Published on April 5, 2023

What is CAPTCHA?

CAPTCHA, which stands for Completely Automated Public Turing Test to Tell Computers and Humans Apart, is a type of challenge or test designed to distinguish humans from robots. CAPTCHAs are a security measure used to prevent automated web crawlers, also known as bots, from commenting, submitting forms, or otherwise spamming websites.

This article contains:

This article contains:

    This article contains:

      There are different types of CAPTCHA tests: distorted text in an image, a series of images, or even text dictated in an audio file. CAPTCHAs have evolved for accessibility and to keep up with the increasing sophistication of bot technology.

      What is the purpose of CAPTCHA?

      CAPTCHAs are used to verify that a user trying to access a website is a human and not a bot. Websites that employ CAPTCHA technology aim to prevent bots from disrupting their sites and using features inappropriately.

      Here are some examples of when CAPTCHA codes are used:

      • For online purchases

      • To access secure areas of a website

      • When collecting email registrations (to ensure authentic email lists)

      • To verify accuracy in polls and surveys (to ensure only human votes are counted)

      CAPTCHA also works to prevent spammers and hackers from inserting malware into online forms. So, CAPTCHAs are also used to defend against the following types of online threats:

      While CAPTCHA’s question, “Are you a robot?” may seem unnecessary and annoying, it serves an essential security purpose.

      The history of CAPTCHA

      CAPTCHA’s history started with the Turing test, created in 1950 by Alan Turing. Turing wanted to see whether machines could think or appear as humans. The test consisted of a series of questions that a human and a machine had to answer. If the interviewer couldn’t tell the difference between the human answers and those of the machine, the machine passed the test.

      With the mass adoption of the internet in the 1990s, distinguishing between machines and humans became more than just a thought experiment. The CAPTCHA system was first invented in 1997 to stop URL submission abuse to the search engine AltaVista. Its deployment successfully reduced the number of spam submissions by 95%.

      However, the system wasn’t called CAPTCHA until 2003, when Luis von Ahn, co-creator of Duolingo and founder of reCAPTCHA, coined the term.

      How does CAPTCHA work?

      CAPTCHA works by prompting users to complete a quick challenge or task to prove that they are human. These tasks are designed to be impossible for a bot to solve. CAPTCHA then checks the user’s responses against the “answers” in its system. If the responses and answers match, the user can proceed.

      What causes a CAPTCHA test to launch?

      Many websites have CAPTCHA tests that are triggered when users enter certain access points on the site. But sometimes user behavior itself can trigger a CAPTCHA test, especially if it resembles that of a robot.

      A CAPTCHA test can be triggered if:

      • A user’s IP address has been identified as a bot.

      • Styles or images aren’t loaded on a web page.

      • There are multiple attempts to load a page.

      • A user isn’t signed in to Google.

      • The system detects strange clicking behavior, no mouse movement, or perfectly-centered checkbox clicking.

      • A user’s browser shows no browsing history.

      • A user fails the first CAPTCHA test.

      CAPTCHA types

      Different types of CAPTCHA tests as well as best practices have evolved since the test’s inception. Now, there are many different types of CAPTCHA tests used.

      Here are some of the different types of CAPTCHA tests used today:

      Text CAPTCHA

      Text CAPTCHA is the most basic type of CAPTCHA. This CAPTCHA appears in the form of a sequence of letters and numbers, which can appear in a few different ways:

      • Gimpy Text CAPTCHA selects a random number of words from an 850-word lexicon and presents them in a distorted form.

      • EZ-Gimpy distorts just one word.

      • Gimpy-r chooses random letters, distorts them, and adds background noise.

      • Simard’s HIP selects letters and digits at random and distorts them with arcs and colors.

      What Is CAPTCHA and How Does It Work? (1)Source: Wikimedia Commons

      Many websites use text CAPTCHAs, and you can often find them on online polls.

      Audio CAPTCHA

      Audio CAPTCHA was developed for visually impaired users, because alt text can’t be used in visual CAPTCHAs. This type of CAPTCHA is an audio recording of a series of letters and numbers. When the recording plays, users must listen to input the sequence correctly. Audio CAPTCHAs tend to be challenging for humans to work out as well as computers — and they disadvantage hearing-impaired users.

      Check out this article from Ars Technica to see what an audio CAPTCHA looks like.

      Image CAPTCHA

      Image CAPTCHAs, or CAPTCHA picture tests, were developed to replace text CAPTCHAs as computers got better at cracking code.

      Image CAPTCHAs work by showing the user a set of pictures and asking them to identify a feature (such as a particular orientation) or element (such as traffic lights) found in some but not all of the images. This type of CAPTCHA has more advanced security, but disadvantages visually-impaired users. Here’s an article from Vox with more about image CAPTCHAs.

      Word or math CAPTCHA

      Word CAPTCHAs require some literacy knowledge, as users must input the missing word in a given phrase or complete a sequence of related terms to advance to the next page.

      Some so-called math CAPTCHAs require users to complete a math problem. These are usually simple but randomly generated, making it more difficult for basic bots to guess the answer. Sometimes the numbers are presented in a distorted, hard-to-read way, similar to text CAPTCHAs, to make it more difficult for bots to interprete.

      What Is CAPTCHA and How Does It Work? (2)Source: Wikimedia Commons

      Other popular CAPTCHA methods

      Other types of CAPTCHA tests are out there, some of them feeling barely like tests at all.

      Time-based CAPTCHAs measure the time it takes for the user to enter information. If a form is filled out too quickly, which may indicate the work of a bot, then the user is locked out.

      Puzzle CAPTCHAs usually involve a drag-and-drop motion to line up shapes in a puzzle. They were designed to be quick and accessible for humans across many regions, and difficult for bots to complete.

      What Is CAPTCHA and How Does It Work? (3)

      Another popular test is where the user has to check a box confirming “I am not a robot.” Secretly, this CAPTCHA test is tracking user movements to see if it more closely resembles that of a bot or a human.

      Social media single sign-on

      Social media single sign-on (SSO) is another, more subtle type of CAPTCHA. With this type of CAPTCHA, users are prompted to sign in to a social media account. The single sign-on functionality is then used to automatically fill in the user’s details. While the form is filled in quickly, the user has proven they are a human by showing that they have a legitimate social media account.

      What Is CAPTCHA and How Does It Work? (4)

      What is No CAPTCHA reCAPTCHA?

      No CAPTCHA reCAPTCHA was developed by Google to counteract advanced bots who could crack conventional CAPTCHA tests. It also makes life easier for users as you can confirm you aren’t a robot with a single click.

      The earliest version of reCAPTCHA uses text and imagery from the real world, such as images from street view and text from books scanned by Google, to test whether the user is a robot.

      No CAPTCHA reCAPTCHA is a more sophisticated method that tracks a user’s activity as they check the “I’m not a robot” box. The technology may also assess the cookies stored on the user’s browser, as well as the device’s history, to determine whether the user is a robot. If it can’t confidently verify the user’s a human, a conventional image CAPTCHA is loaded.

      Google uses reCAPTCHA for several of its services, including:

      • Signing up for a Google service

      • Signing up for a G Suite account
      • Changing a password on an existing account

      • Setting up Google services on a third-party device, such as an iPhone

      Google reCAPTCHA tests are constantly evolving, with a third version currently out. The latest iteration requires no user input, meaning that users benefit from no interruption. The program calculates a score according to the user’s behavior and history — depending on the score, the website owner has the option to grant access or deploy a different test.

      What Is CAPTCHA and How Does It Work? (5)

      How secure are CAPTCHAs?

      CAPTCHAs are generally safe, but they can be hacked. CAPTCHAs help prevent bots, including malicious ones, from accessing sensitive sections of a site or generating spam messages.

      Since modern reCAPTCHAs determine whether the user is a robot by tracking browsing behavior, this can be intrusive to user privacy. The privacy-focused hCAPTCHA is arguably a more secure alternative to reCAPTCHA. hCAPTCHA relies on instant feedback from users on a simple CAPTCHA test and doesn’t collect data.

      And while CAPTCHA helps stop bots and keep us safer, it doesn’t stop online tracking and third parties from collecting your data. For this, you need to use a VPN, especially when browsing on public Wi-Fi. A VPN helps to keep your online activity and IP address private. You can even install a VPN on your mobile phone, so you can stay protected on the go.

      Advantages of CAPTCHA

      Adding CAPTCHA to a website offers a host of advantages. First, CAPTCHAs help improve overall website safety. An effectively implemented CAPTCHA prevents malicious bot software from sending requests, thus protecting websites from malware and DDoS attacks. CAPTCHA also helps preserve the integrity of data, protecting the results of activities like online polls.

      CAPTCHA also improves the safety of online purchases, prevents fake registrations or sign-ups on websites, protects email addresses from scammers, and defends against junk mail. And CAPTCHA is easy to implement and free, so just about any website can set it up.

      Drawbacks of CAPTCHA

      Of course, CAPTCHA has drawbacks. There’s the ever-present challenge of technological progress: bots are getting better all the time at passing CAPTCHA tests. And emerging generative AI technology like ChatGPT could make it easier for bots to bypass CAPTCHA tests.

      Additionally, CAPTCHA services can disrupt the flow of a user’s activity, resulting in a poor user experience on a site. CAPTCHA may not be supported by all browsers, either. Nor are all CAPTCHAs accessible to everyone — visually-impaired users are often unable to complete image-based CAPTCHAs.

      And there are some browser extensions that help you bypass CAPTCHAs (we recommend not using these plug-ins, because they may pose a security risk). And newer reCAPTCHAs mean your browsing activity is being tracked to some extent, so it’s still important to use additional security tools like a VPN to protect your data and privacy.

      Secure your personal information with a VPN

      AVG Secure VPN helps keep your data secure no matter where you are or what device you’re using. AVG Secure VPN creates an encrypted internet connection that safeguards your online activity and helps prevent snoops from tracking what you do online. Keep your browsing, banking, and online activities hidden with AVG Secure VPN. Try it for free today.

      Download AVG Secure VPNFree Trial

      Get it for Android, iOS, Mac

      Download AVG Secure VPNFree Trial

      Get it for iOS, Android, PC

      DESKTOP GOOGLE

      Copy article link

      Link copied What Is CAPTCHA and How Does It Work? (6)

      What Is CAPTCHA and How Does It Work? (2024)

      FAQs

      What Is CAPTCHA and How Does It Work? ›

      A CAPTCHA test is made up of two simple parts: a randomly generated sequence of letters and/or numbers that appear as a distorted image, and a text box. To pass a the test and prove your human identity, simply type the characters you see in the image into the text box.

      How do you enter CAPTCHA correctly? ›

      If the CAPTCHA shows both upper and lowercase letters, be sure to enter your characters exactly as displayed. If all the letters have the same case, you might be able to enter it either way, but if you are getting invalid CAPTCHAs, try capitalizing the characters exactly as they're shown.

      What is an example of a CAPTCHA? ›

      Some CAPTCHA mechanisms ask users to solve a simple mathematical problem such as “3+4” or “18-3”. The assumption is that a bot will find it difficult to identify the question and devise a response.

      How does CAPTCHA actually work? ›

      The letters are distorted so that bots are not likely to be able to identify them. To pass the test, users have to interpret the distorted text, type the correct letters into a form field, and submit the form. If the letters don't match, users are prompted to try again.

      Is CAPTCHA safe to use? ›

      While CAPTCHAs help prevent malicious bot attacks, they are not foolproof. Even though these tests are helpful when it comes to identifying and filtering out bots, cybercriminals can find ways to manipulate and bypass them.

      Why does it keep saying my CAPTCHA is wrong? ›

      reCAPTCHA may not function properly on your web browser for various reasons, such as network issues like poor connectivity or interference from a VPN. Other factors, like an outdated browser, a suspicious IP address, a corrupted browser profile, or malware, may also contribute to the problem.

      What does the CAPTCHA wasn't entered correctly mean? ›

      If this is your website: If so you have done something incorrect in setting it up. Most likely you have entered information incorrectly or missed a step.

      Does CAPTCHA look at your history? ›

      CAPTCHA does not directly check the user's web history. However, some CAPTCHA implementations may use browser fingerprints or other data available to the website to determine the user's identity and assess their risk level.

      Does CAPTCHA cost money? ›

      reCAPTCHA is free to protect the website up to 10,000 hits. If this limit is exceeded, the Enterprise plan incurs costs of $1 per 1,000 hits per month. With reCAPTCHA v3, you could protect up to one million requests in the free tier until April 2024.

      Is CAPTCHA good or bad? ›

      It is also important that a CAPTCHA cannot be solved by bots. Unfortunately, the number of “pass” signals the DataDome solution later invalidated as false negatives (actual bots) revealed that 50% of requests that solve traditional and third-party CAPTCHAs are actually bots.

      What is the problem with CAPTCHA? ›

      If you're getting blocked or failing the reCAPTCHA test, you may be running an outdated or unsupported browser. You could also be lacking a stable internet connection, but this is an easy fix.

      What is better than CAPTCHA? ›

      Blocking Simple Bots With a Honeypot

      One alternative to reCAPTCHA and CAPTCHA is an anti-spam honeypot, a security mechanism meant to misguide bots. For example, a form with an extra field visible for bots but hidden for humans with CSS or JavaScript. Anything that fills out the hidden field won't be let through.

      What kind of risk is CAPTCHA? ›

      CAPTCHAs risks can contribute to client-side attacks

      Exploitable issues included cross-site scripting (XSS), cross-site request forgery, SQL injection, brute-force protection bypass, and arbitrary web scripts execution.

      How to fill a CAPTCHA code automatically? ›

      Overview. Auto CAPTCHA Solver: CAPTCHAs.IO Extension plugin allows you to automatically solve CAPTCHAs found on any webpage. One of the most stable and fastest captcha solver service online. Solves reCAPTCHA and normal image captchas as well as hCAPTCHAs.

      How to answer CAPTCHA image? ›

      How to solve CAPTCHA images quickly?
      1. Focus on Pattern Recognition: ...
      2. Use Keyboard Shortcuts: ...
      3. Optimize Image Loading: ...
      4. Practice Regularly: ...
      5. Leverage Browser Extensions: ...
      6. Utilize Speech-to-Text Tools: ...
      7. Rotate and Zoom In/Out: ...
      8. OCR Technology:
      Jan 10, 2024

      Why do I keep failing the CAPTCHA test? ›

      There are a few steps you can take to improve your experience: Make sure your browser is fully updated (see minimum browser requirements) Check that JavaScript is enabled in your browser. Try disabling plugins that might conflict with reCAPTCHA.

      Top Articles
      Latest Posts
      Article information

      Author: Frankie Dare

      Last Updated:

      Views: 5504

      Rating: 4.2 / 5 (53 voted)

      Reviews: 92% of readers found this page helpful

      Author information

      Name: Frankie Dare

      Birthday: 2000-01-27

      Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

      Phone: +3769542039359

      Job: Sales Manager

      Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

      Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.