What Are Bots? Types, Examples and What They Do Online

Racen Dhaouadi
May 16, 2026

A bot is a software program that performs tasks on the internet automatically, faster and at a far larger scale than a person could. Some are useful, like the crawlers that build search results. Others spam, scrape, steal accounts or fake clicks and followers.
You meet bots every day without noticing. One may have answered your last customer-service chat. Another read this page so a search engine could list it. And if you run ads, bots can click them, which costs you money and skews the numbers you use to decide where your budget goes.
This guide covers the main types of bots, good and bad bots, AI, social media bots and how to spot one, botnets, what bots do to your ads, US law, and how to block the ones you don't want.
What Is a Bot?
A bot is a software program that does a task online by itself, over and over, faster than a person could. Bot is short for robot, but it is just code.
There's no machine involved. A bot is a set of instructions running on a computer, usually a server, that does something a person would otherwise do by hand: load a page, read it, fill in a form, post a message, click a link.
What makes it a bot is automation. Someone writes the instructions once, and the program carries them out thousands or millions of times, around the clock, with nobody at the keyboard.
Bots range from very simple to very convincing:
- Simple scripts request a web address and read what comes back. A price tracker that checks a product page every hour is one. They never open a real browser, so they never run the code on the page.
- Browser bots drive a full web browser, the same kind you use. They load pages, run the page's code, scroll, click and type. To a website, a well-built one can look like an ordinary visitor.
- Account bots log into apps and social networks, where they post, like, follow and send messages through the same buttons people use.
That last point matters more than any technical detail. Bots come in through the same doors people do: your pages, your forms, your ads and your social accounts. That's why they end up in your data, and why telling them apart takes work.
How Do Bots Work?
A bot follows instructions written once: open a page, read it, click, post or reply. It repeats them on a schedule or whenever something triggers it.
Every bot, from a search crawler to a click bot, has three parts:
- Instructions. Fixed rules ("visit these pages, save the prices") or, more and more often, an AI model that decides the next step.
- A trigger. A timer, an event such as a new post or a new message, or a person asking an AI assistant a question.
- A way in. A website, an app's programming interface (API) or a logged-in account.
Where a bot runs changes what you see. Most run on rented cloud servers. Some run on ordinary home computers that malware has taken over, which makes their visits look like people at home; more on those botnets below. Others run on racks of real phones in bot farms.
The other difference is whether the bot runs the code on your pages. A simple script that only fetches a page never runs your analytics tag, so it never appears in Google Analytics, even when it clicked your ad. A browser bot runs everything, so it shows up as a visit with a source, a landing page and a session length. Both can cost you money. Only the second one skews your reports.
What Are the Main Types of Bots?
The main types are search crawlers, AI crawlers, chatbots, social media bots, scrapers, spam bots, click bots, account and ticket bots, and botnets.
Bots are easiest to sort by the job they do. The same technology can do a helpful job or a harmful one, so the job is what counts.
| Type | What it does | Helpful or harmful | Example |
|---|---|---|---|
| Search engine crawler | Visits pages so a search engine can index them | Helpful | Googlebot, Bingbot |
| AI crawler | Collects pages to train AI models or to power AI search | Your call | GPTBot, ClaudeBot, OAI-SearchBot |
| AI assistant fetcher | Opens a page when a person asks an AI assistant about it | Helpful | ChatGPT-User, Claude-User |
| Chatbot | Holds a conversation, often for customer service | Helpful | The support chat on a store's site |
| Monitoring bot | Checks that a site is up and fast | Helpful | Uptime monitors |
| Social media bot | Posts, likes, follows and comments from an account | Both | Scheduled brand posts, or fake followers |
| Scraper | Copies content, prices or contact details | Mostly harmful | Competitor price scrapers |
| Spam bot | Posts junk in comments, forms and messages | Harmful | Contact-form spam |
| Click bot | Clicks ads or links to drain budgets or earn fraudulent payouts | Harmful | Fake clicks on search and display ads |
| Account bot | Tries stolen passwords or creates fake accounts in bulk | Harmful | Credential stuffing, sign-up abuse |
| Ticket and stock bot | Buys limited tickets or products faster than people can | Harmful; illegal in the US when it beats ticket limits | Ticket scalping bots |
| Botnet | A network of infected computers taking orders from one operator | Harmful | The 911 S5 botnet, below |
| Game bot | A computer-controlled player | Neutral | Players a game adds to fill a match |
Many of these overlap. A social media bot can be a brand's scheduling tool or a fake follower. A scraper can be a research project or a competitor copying your catalog. Our web crawler list goes through the named crawlers one by one, and our guide to click bots covers the type built to drain ad budgets.
Are Bots Good or Bad?
Good bots say who they are, follow your robots.txt and do a useful job. Bad bots hide what they are, ignore your rules and cost you money or data.
Both kinds exist, and the difference is in how they behave, not in the technology.
| Good bots | Bad bots | |
|---|---|---|
| Say who they are | Yes, by name in every request | No. They pose as ordinary browsers, or as a good bot |
| Follow robots.txt | Yes | No |
| Can be checked | Often. Google publishes a way to confirm a visit came from Googlebot | No |
| Pace | Spread out, so the site stays fast | As fast as the job pays |
| Purpose | Search, monitoring, accessibility, assistants | Spam, scraping, fraud, stolen accounts, fake popularity |
A robots.txt file is a list of requests for crawlers, posted on your site. Google says it's used "primarily to manage crawler traffic to your site", that "Googlebot and other respectable web crawlers obey the instructions in a robots.txt file", and that "other crawlers might not" (Google Search Central). It's a sign on the door, not a lock.
Bad bots also borrow good bots' names. Google warns that the identity Googlebot sends with each request "is often spoofed by other crawlers", and recommends confirming that a problem visit really came from Google before trusting it (Google Search Central). A visitor calling itself Googlebot proves nothing on its own.
Then there's a gray zone. AI crawlers are welcome on some sites and not on others: a publisher may not want its articles used to train a model, while a brand may want to show up in AI answers. Whether GPTBot or ClaudeBot counts as a good bot on your site is your decision, and robots.txt is where you state it.
Are Bots the Same as AI?
No. A bot is any software that acts on its own. Some bots use AI, like chatbots, AI crawlers and AI agents, but most still follow simple fixed rules.
"Bot" is the older word. Search crawlers and spam bots were around long before today's AI models, and a script that checks a price every hour has no AI in it at all.
AI shows up in bots in three ways today:
- AI chatbots answer questions in plain language. Older chatbots picked replies from a fixed menu; AI ones write their own.
- AI crawlers collect web pages. OpenAI says GPTBot "is used to make our generative AI foundation models more useful and safe", while OAI-SearchBot "is for search" and surfaces websites in ChatGPT's search results (OpenAI). Anthropic runs ClaudeBot for training, Claude-SearchBot for search and Claude-User for its users' questions, and says all three respect robots.txt (Anthropic).
- AI assistants and agents visit pages for a person. OpenAI says ChatGPT-User "is not used for crawling the web in an automatic fashion", and that because its visits are started by a user, "robots.txt rules may not apply". Agents go further: they can browse, click and fill in forms on someone's behalf.
That last group blurs a line marketers relied on. An assistant fetching your page to answer someone's question is a visit you probably want. A click bot posing as a shopper is not. Both are bots, so what each visitor does tells you more than what it calls itself. Our web crawler list covers how to allow or block each named AI crawler.
What Are Social Media Bots?
Social media bots are automated accounts that post, like, follow and comment. Some schedule posts or answer customers; others fake popularity or spam.
CISA, the US Cybersecurity and Infrastructure Security Agency, defines them as "automated programs that simulate human engagement on social media platforms" (CISA). It sorts them by what they do:
- Helpful bots post notifications when something happens, share entertainment or news, run keyword searches, and handle customer care or scheduled posts for brands.
- Harmful bots inflate follower counts and shares to fake influence, harass accounts until they give up, run scams that phish for personal data or push products, and spread propaganda.
CISA also separates fully automated bots, which run on code alone and "can be purchased to do simple actions", from semi-automated accounts that a person steers. It calls those "cyborgs" and says they are better at evading detection. Many fake accounts sit in that middle ground, which is how a bot farm runs thousands of them with a small staff.
Every major platform bans the harmful kind:
| Platform | What its rules ban | What happens |
|---|---|---|
| Facebook and Instagram (Meta) | Fake accounts, and networks of them, used to deceive people or Meta, including coordinated inauthentic behavior | Meta removes the fake accounts, Pages and Groups involved |
| TikTok | Accounts that mislead or manipulate the platform, services that artificially boost engagement, and automation tools or scripts | Account bans or restrictions; fake likes and followers are removed |
| YouTube | Anything that artificially increases views, likes, comments or other metrics, including "viewbotting" a live stream | Content removed; 3 strikes within 90 days can end a channel |
| X | Automated or scripted accounts outside its developer rules, fake personas, and trading or buying likes, follows or views | Limited reach, locked accounts or permanent suspension |
Sources: Meta's inauthentic behavior policy, TikTok's integrity and authenticity guidelines, YouTube's fake engagement policy and X's authenticity policy.
For advertisers, social bots matter in two places. The first is audience numbers: fake followers and engagement make an account, an influencer or a post look more popular than it is. Buying them is now a legal risk as well as a wasted budget, as the section on US law below explains. Our guide to Instagram bots shows how to spot fake followers on Instagram, remove them and check an influencer's audience. Our guide to TikTok bots does the same for TikTok, including view bots and what bot clicks cost TikTok ads.
The second is the ad bill. Meta lists clicks "generated through prohibited means, such as fake accounts, bots, scrapers, browser add-ons" as invalid, and says "You will not be charged for clicks that are determined to be invalid" (Meta Business Help). The ones it misses cost you whatever your ad set is charged for, a click or an impression (Meta Business Help). And when one of those clicks reaches your site, GA4 counts it as paid only if your ad URL carries UTM tags. Without them, it can land in Organic Social or Direct, where nobody looks for ad spend. Our guide to Facebook and Meta ad fraud covers the checks inside Ads Manager.
How Can You Tell if an Account Is a Bot?
Check the profile, then the behavior: a stolen or AI photo, odd numbers in the name, a new account, nonstop posting and copy-paste replies.
CISA's "How to Spot a Bot" checklist lists ten signs (CISA):
- Profile image. Stolen from a real person, AI-generated or a cartoon. A reverse image search can catch a stolen one.
- Username. Suspicious numbers or odd capitalization.
- Bio. Divisive content aimed at one group, with little personal information.
- Creation date. A new account, or an old one that only became active recently.
- Followed accounts. Follows a very high number of accounts, and is followed by an almost identical number.
- Coordinated network. Reposts other suspicious accounts, or shares similar content in step with them.
- Sharing. Mostly reposts other people's content, often without adding an opinion.
- Viral content. Emotional, easy-to-share posts such as memes, spammed hashtags, and emoji or punctuation in regular patterns.
- Erratic behavior. Jumps between unrelated topics, or changes suddenly, such as posting in a new language.
- Hyperactive. Posts a large amount, sometimes nonstop around the clock.
No single sign proves anything. Plenty of real people use a cartoon avatar or post a lot. Several signs together, especially coordination with other suspicious accounts, are the strongest hint.
The same logic works for visits to your website, with different evidence. You can't see a profile, but you can see behavior: a source that sends visits with no engagement and no sales, traffic at hours your customers are asleep, or one city suddenly sending a large share of your sessions. Our guide to detecting bot traffic walks through the checks in GA4, and the China and Singapore traffic spike is a recent example of the last one.
What Is a Botnet?
A botnet is a network of computers infected with malware and run remotely, usually without their owners knowing, to send spam, commit fraud or attack.
A botnet's bots are other people's devices. Malware gets onto ordinary computers, then takes orders from the operator's servers while the owners keep using their machines as normal.
The FBI called one recent example "likely the world's largest botnet ever". In May 2024 the Justice Department announced it had dismantled the 911 S5 botnet and arrested its alleged administrator (US Department of Justice). According to the department:
- the malware allegedly spread through free VPN programs and through bundles of pirated software;
- the infected computers were associated with more than 19 million IP addresses, including 613,841 in the United States;
- criminals paid for access to those home connections, so they could hide behind them while committing fraud and other crimes.
That's why botnets matter for ad spend. Their traffic comes from real home connections, so it looks like people in the suburbs rather than servers. US prosecutors showed what that means for advertisers in 2018, when they charged an ad fraud ring known as 3ve, which reached more than 1.7 million infected computers that loaded ads in the background without their owners knowing (US Department of Justice).
Botnets are often confused with three related things:
| What it is | Whose devices | Example | |
|---|---|---|---|
| Bot | One program doing one job | The operator's | A price scraper |
| Botnet | Many infected devices taking orders from one operator | Ordinary people's, without their knowledge | 911 S5 (2024), 3ve (2018) |
| Bot farm | Racks of phones or servers running many fake identities | The operator's own | Methbot, on more than 2,000 rented servers (charged 2018) |
| Click farm | People paid to click, like and follow by hand | Workers' phones | Rooms of phones run by low-paid staff |
Our guides to bot farms and click farming go deeper on the last two.
How Much of the Internet Is Bots?
No independent body publishes a reliable figure for the whole web. The shares quoted online come from companies that sell bot protection.
You'll see confident percentages for this question, including in AI answers. Look at where they come from. They're published by companies that sell bot protection, and they describe the traffic those companies' own products see, on their own customers' sites. That's real data, but it's a sample chosen by the seller, measured with the seller's definitions, about a problem the seller is paid to solve.
We found no industry body or government agency that publishes an internet-wide figure. The closest thing the ad industry has is a shared list: the IAB's International Spiders and Bots List, run by the Alliance for Audited Media and updated monthly, which ad platforms and analytics tools use to filter out bots that declare themselves (IAB). It names known bots. It doesn't count them.
GA4 uses that list too. Google says traffic from known bots and spiders "is automatically excluded", identified through Google's own research and the IAB list, and that you can't turn the exclusion off or see how much it removed (Google Analytics Help). So the bots left in your reports are the ones that don't declare themselves.
The number that matters is your own, and it can differ a lot from one site, channel or campaign to the next. Our guide to what bot traffic is shows what it looks like in a typical analytics account.
What Do Bots Do to Your Ads and Analytics?
Bots that click your ads cost you money unless the platform catches them. They never buy, so your conversion rate falls and cost per sale rises.
This is where bots become a budget problem. Here's what they do, and what they don't, in the order a paid click happens:
- They cost money. Google counts "clicks from automated tools, bots, or other deceptive software" as invalid and says "You won't be charged for invalid clicks or impressions" (Google Ads Help). Meta says the same of the clicks it finds invalid. The bot clicks they miss are billed like any other.
- They arrive as paid traffic. A bot that clicks a Google ad lands with the ad's click ID, the GCLID, and if it runs your tags, GA4 files the visit as google / cpc in Paid Search. Meta and Microsoft clicks count as paid in GA4 only through UTM tags; untagged, they fall into Organic Social or Direct (Google Analytics Help).
- Some never show up at all. A bot that doesn't run your tags can still be billed, but it never becomes a GA4 session, which is one reason ad clicks and analytics sessions rarely match.
- They drag every average down. Each bot session is a visit with no purchase. Your conversion rate falls, engagement looks worse, A/B tests compare polluted samples, and your cost per acquisition rises by the cost of the bot clicks.
- They can fire early-step goals. Bots that run your tags fire page views and sometimes add-to-carts or form fills. If one of those is a campaign's goal, Smart Bidding, which optimizes "for conversions or conversion value", counts the bot as a result and bids for more traffic like it (Google Ads Help). Lead generation teams see this as form spam.
- They can join remarketing lists built from page views. How often an ad then reaches them isn't published.
- They never buy. A purchase needs a payment, so a store that optimizes on purchases gets no conversions from bots, and a bot's click never takes credit for a sale.
| In your ad data | Do bots do it? |
|---|---|
| Cost you money | Yes, unless the platform catches and removes the click |
| Show up as paid traffic | Yes on Google, through the GCLID, when they run your tags. On Meta or Microsoft, only with UTM tags |
| Lower your conversion rate and raise your CPA | Yes. Every bot session is a visit with no sale |
| Fire page views, add to carts or form fills | Yes, when they run your tags |
| Join remarketing lists | They can. How often an ad then reaches them isn't published |
| Buy, or take credit for a sale | Never |
The cost is easiest to see with your own numbers. Illustrative: at $5 a click, 100 bot clicks the platform misses cost $500 and add nothing to sales. For the industry's terms, see what click fraud is and what invalid traffic is, and our guide to click bots shows how the clicks are made.
Want a directional read on how much of your traffic is real? Run the free GA4 check. Read-only, nothing to install.
Are Bots Illegal?
Running a bot is legal in the US, but its job can break the law: scalping tickets, selling fake followers, faking ad clicks or hacking accounts.
No US law bans bots as such. Search engines, chatbots and monitoring tools are bots, and they're legal. The law looks at what a bot is used for.
| What the bot does | US law | Case or detail |
|---|---|---|
| Buys tickets past a site's purchase limits | BOTS Act of 2016, enforced by the FTC | FTC v. Key Investment Group, filed 2025, pending |
| Sells or buys fake followers, views or reviews | The FTC Act, and the FTC rule on consumer reviews and testimonials, in force since October 21, 2024 | FTC v. Devumi, 2019: more than 58,000 orders for fake Twitter followers |
| Fakes ad views or clicks for payment | Federal wire fraud and money laundering | Methbot: operator sentenced to 10 years in 2021 |
| Infects computers or breaks into accounts | Computer Fraud and Abuse Act | 911 S5: administrator charged with computer fraud, wire fraud and money laundering conspiracy in 2024 |
| Poses as a person to sell something or sway a vote in California | California Business and Professions Code section 17941 | In force since July 2019; a bot that clearly says it's a bot is exempt |
The FTC rule matters most to marketers, because it reaches buyers as well as sellers. It bans buying or selling fake indicators of social media influence, such as bot followers or views, when the buyer knew or should have known they were fake. An agency that buys followers to make a client look bigger is taking a legal risk, not just a reputational one.
California goes one step further on disclosure. Section 17941 makes it unlawful to use a bot to communicate with a person in California online while misleading them about its artificial identity, to get them to buy something or to influence a vote. A bot that clearly says it's a bot is in the clear. Our guide to bot farms covers the ad fraud and fake-engagement cases in more detail.
This section is a summary for marketers, not legal advice.
How Do You Block Bad Bots?
Match the fix to the bot: robots.txt for crawlers that obey it, form checks for spam, and ad exclusions for bad traffic. Keep the bots you need.
There's no single switch, and blocking everything would hurt you: block Googlebot and Google can no longer read your pages. Start from the problem you actually have.
| Problem | What helps | What it can't do |
|---|---|---|
| Crawlers you don't want, such as an AI training crawler | A rule in your robots.txt file | Stop bots that ignore it, or hide a page from Google |
| Spam in contact forms and sign-ups | A hidden form field, a CAPTCHA, a limit on attempts | Catch bots that never touch a form |
| Fake accounts following or messaging you | Block and report them on the platform | Remove them from other people's feeds |
| Bot clicks on Google Ads | IP address and placement exclusions, then a Click Quality Form request within 60 days | Promise a credit: Google decides |
| Bots inflating your goals and reports | Spot bot visits and keep them out of page-view, add-to-cart and form-fill goals through your own tag setup | Undo the click: the bot still loaded the page, and the click was still billed |
Google filters invalid clicks itself and, when it finds them after billing, credits them on a later invoice "where appropriate and possible" (Google Ads Help). For clicks you think it missed, you can ask Google to investigate activity from the last 60 days through its Click Quality Form (Google Ads Help). Our guide to Google Ads click fraud walks through that request, and CAPTCHA vs bot detection explains where challenges help and where they get in the way of real customers.
The fix that saves the most for an advertiser comes earlier. Find the sources, placements and campaigns that keep sending bots, and move that budget to the ones that sell. Our ad fraud prevention guide covers the settings on each platform.
Cut the sources that send bots and put that budget into campaigns that really sell. Hyperguard scores every visit while it happens and shows bot share by source and campaign, so you know which ads and placements to cut. Run the free GA4 check first, then see how Hyperguard works.
Frequently asked questions
- What is an example of a bot? +
- Googlebot is a well-known example: it visits web pages so Google can show them in search results. Other everyday examples are the chat window that answers a store's customer questions, an AI assistant opening a page you asked it about, accounts that post on a schedule, scrapers that copy prices, spam bots that fill in contact forms, and click bots that click ads to waste an advertiser's budget.
- What does it mean if someone is a bot? +
- Online, calling someone a bot usually means you think the account isn't run by a real person: it posts nonstop, repeats the same lines or has an empty profile. In gaming, it's also slang for a player so bad they seem computer-controlled. Sometimes the account really is automated, and sometimes it's a person who behaves like one, so no single sign settles it.
- Are bots good or bad? +
- Both. Good bots work in the open: search engine crawlers index pages so people can find them, monitors check that sites stay up and chatbots answer customer questions. Bad bots hide what they are to send spam, copy content, try stolen passwords, buy up tickets or click ads. The same technology can do either job, so what matters is the job and whether the bot is honest about what it is.
- Is using bots illegal? +
- Not in itself. In the US, the job a bot does is what can break the law. The BOTS Act bans using bots to get around ticket purchase limits. An FTC rule bans buying or selling fake followers, views or reviews. Faking ad clicks has been prosecuted as wire fraud, and breaking into computers or accounts falls under the Computer Fraud and Abuse Act. California also bans bots that pose as people to sell something or sway a vote.
- How can you tell if someone online is a bot? +
- Check the profile first: a stolen, cartoon or AI-generated photo, a username with odd numbers, a bio with little personal detail and a recent creation date. Then the behavior: posting around the clock, reposting instead of writing, copy-paste replies and acting in step with other suspicious accounts. These are among the signs CISA lists. One sign alone proves nothing, but several together are a strong hint.
- Which social media has the most bots? +
- No one can say reliably. Platforms don't publish bot counts that can be compared, and outside estimates use different samples and definitions, so their rankings measure different things. Meta, TikTok, YouTube and X all ban fake accounts and fake engagement and remove what they find. For an advertiser, the useful question is narrower: how much of the traffic your own social ads send is real.
- Are bots the same as AI? +
- No. A bot is any software that does a job on its own, and most bots follow fixed rules a person wrote, like a script that checks a price every hour. AI is one way to build a bot. AI chatbots, AI crawlers such as GPTBot and AI agents that browse websites for people all use AI models. So some bots are AI, but many have no AI in them at all.
- How do I block a bot? +
- It depends on the bot. Crawlers that play by the rules follow your robots.txt file, but bad bots ignore it, so it isn't a security tool. Hidden form fields and CAPTCHAs cut form spam. On social media, block and report the account. For ads, Google Ads lets you exclude IP addresses and placements, and Google and Meta don't charge for the invalid clicks they catch. Don't block the search crawlers you need to be found.
Related articles
What Is Bot Traffic? Detection, Filtering, and Impact on Ad Spend
What bot traffic is, what it looks like in Google Analytics, how it drains your ad spend, and how to stop it from skewing your campaign numbers.
How to Detect Bot Traffic on Your Website and in GA4
Bot traffic shows up as zero-engagement visits, odd spikes and paid clicks that never buy. How to find it in GA4 and your logs, and why GA4's filter misses it.
Bot Farms Explained: How They Work, What They Cost, and the Law
A bot farm is a network of phones, servers or paid workers that fakes clicks, views and accounts. How they work, what they cost, US law, and how to spot them.
Instagram Bots: What They Are, Why They Follow You and How to Stop Them
Instagram bots are automated accounts that follow, like, comment and DM in bulk. Why they target you, how to spot and remove them, and what they cost your ads.
TikTok Bots: What They Are, How to Spot Them and How to Get Rid of Them
TikTok bots are automated accounts that follow, like and comment in bulk. How to spot and remove them, why buying views backfires, and what they cost your ads.