Join our Newsletter — 33% off our NHI Course
Home› Guides› AI Crawlers for Beginners: How to Control Bots…
Guide Web & API Security

AI Crawlers for Beginners: How to Control Bots That Use Your Website to Train AI

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 12 min read
On this page

An AI crawler is a program an AI company sends to read web pages, for training, search or answering questions.

This guide is for bloggers, small business owners, students and anyone who looks after a website and wants a say in how AI companies use it. You do not need to be technical: one small text file on your site already sends a message to these bots, whether you wrote it or not.

In short

  • AI companies send different bots for different jobs: gathering pages to train models, building AI search results and fetching a page when a person asks.
  • Several companies publish a separate name for each bot, so you can say no to training but yes to AI search.
  • You state your choice in a file called robots.txt. Companies that follow it say they respect it, but it is a request, not a lock.
  • Blocking every AI bot may also remove your site from AI search answers, so decide what you want first.

What you will learn

  • Explain the three main jobs AI crawlers do.
  • Read a robots.txt file and spot the lines about AI bots.
  • Check which AI bots your site currently allows.
  • Decide, with the site owner, what to allow and what to refuse.
Page-reading program (crawler)
a bot that visits web pages by itself and saves what it reads.
Notice for bots (robots.txt)
a small text file on a website that tells bots which pages they are asked not to visit.
Bot name tag (user agent)
the name a program gives when it visits, such as the name of a crawler.

What is an AI crawler?

Think of a "No junk mail" sticker on a front door. Most delivery people read it and walk past. A few ignore it. The sticker tells people your wishes, but it does not lock the letterbox.

An AI crawler is a program that reads web pages for an AI company. Your website can carry a sticker of its own, a file called robots.txt, that tells each crawler what you would like it to do.[1]

AI bots do three different jobs. Some gather pages that may be used to train AI models. Some read pages so they can show up in AI search results. Others visit a single page because a person asked an AI tool about it.[3][5]

Where the comparison stops working: a sticker is one message for everyone. With robots.txt you can give a different answer to each named bot. And some bots may pretend to be someone else.

For the bigger picture of good and bad bots, see Bots and Bot Traffic for Beginners.

Why does it matter?

Your words, photos and prices are the result of your work. AI crawlers let others reuse that work, which may help you be found or may cost you visitors.

If you write a blog or run a recipe site

What could happen: your articles are used to train AI models without you having made a choice either way.

Check this: open your robots.txt file and look for the names of AI training bots.

Next: AI Crawler and Scraper Controls

If you run a small business

What could happen: you block every AI bot, and customers who search with AI tools stop finding you.

Check this: decide separately about training bots and AI search bots.

Next: Website Security for Beginners

If you are new to web or IT work

What could happen: a bot that claims to be a well-known AI crawler is really a scraper copying the whole site.

Check this: compare its address with the list the AI company publishes.

Next: Web Scraping Defence Guide

What does it look like?

Here is a made-up robots.txt file for a small website. The bot names are ones that AI companies publish. The site and its pages are made up.

Example only. All values are made up.

# robots.txt for www.example.com
User-agent: GPTBot                 (1)
Disallow: /

User-agent: ClaudeBot              (2)
Disallow: /

User-agent: Google-Extended        (3)
Disallow: /

User-agent: OAI-SearchBot          (4)
Allow: /

User-agent: *                      (5)
Disallow: /members-example/
  1. Asks OpenAI's training crawler not to read any page.
  2. Asks Anthropic's training crawler not to read any page.
  3. Google's control name for AI use. It is a setting in this file, not a separate bot.
  4. Allows OpenAI's search crawler, so the site can still appear in ChatGPT search answers.
  5. Asks all other bots to skip a members area. In a real file, a private area like this should also need a password.

Why this is risky: nothing here forces a bot to obey. A bot that ignores the file, or uses a different name, can still read every page, including the members area.[1][2]

The safer way: use robots.txt to state your wishes and put private pages behind a password. Ask your host about bot checks for bots that ignore the rules.[2]

How does it work?

Here is what happens when an AI crawler visits a site, in simple steps. Companies are listed alphabetically in this guide; the order is not a ranking.

  1. The bot reads robots.txt first. The file sits at the top of the site, at an address ending in /robots.txt. Bots that follow the standard look for their own name, then for the rules marked * for everyone.[1]
  2. It follows the closest matching rule. If a page is not covered by any rule, the bot may read it. Crawlers may keep a saved copy of the file for up to a day, so changes can take a while to apply.[1]
  3. Each company uses its own names. Anthropic lists ClaudeBot for training, Claude-SearchBot for search and Claude-User for fetches a person asks for.[5] Google offers a control name, Google-Extended, which has no separate bot of its own.[4] OpenAI lists GPTBot for training, OAI-SearchBot for search and ChatGPT-User for fetches a person asks for.[3]
  4. Person-led fetches may follow different rules. OpenAI says robots.txt rules may not apply to ChatGPT-User, because a person asked for the page.[3]
  5. The owner checks who really visited. Anthropic and OpenAI publish lists of the internet addresses their bots use. A visitor with a famous bot's name but an address that is not on the list is likely pretending.[3][5]
Diagram titled Three kinds of AI bot, three different choices. Three boxes sit side by side. Training crawler: reads pages that may be used to train AI models; under it, Block it: asks that content stay out of future training. AI search crawler: reads pages so they can appear, with links, in AI search answers; under it, Block it: may vanish from AI search answers. User-requested fetch: visits a page when a person asks an AI tool about it; under it, robots.txt may not apply, as a person asked. A wide box below says Many companies name their bots separately, so you can, for example, say no to training but yes to AI search, and check each company's own bot list, because names and rules change.
Figure 1. AI bots do three different jobs. Because many companies name them separately, you can make a different choice for each.
Diagram titled robots.txt is a sign, not a lock. A box at the top reads Your website, with a robots.txt file at the top. Three boxes below point up to it. Arrow 1, reads the rules, comes from Polite AI crawler, which reads the file first and skips what you asked it to avoid. Arrow 2, ignores them, comes from Rule-breaking bot, which ignores the file or pretends to be a different bot. Arrow 3, checks visitors, comes from Extra protection: bot checks from your host or a security service, or a password. A note says use robots.txt to state your choice, and use bot checks or passwords for anything that must really stay private.
Figure 2. robots.txt tells polite bots your wishes. Rule-breaking bots need other checks, and private pages need a password.

A worked example

This story is made up to show how it can happen.

Reza Kader runs a cooking blog with ten years of recipes. A reader tells him that an AI chatbot gave her one of his recipes almost word for word, without his name.

Reza is not sure how he feels. He does not want his recipes used to train AI for free. But he gets many new readers from search, and he has heard that people now search with AI tools too.

He asks his friend Otto Tanaka, who builds websites, for help. Otto opens Reza's robots.txt file. It only has the lines the blog software added years ago. Nothing in it mentions AI bots.

They read the bot pages that Anthropic, Google and OpenAI publish. Reza decides to refuse the training bots and allow the AI search bots, so his recipes can still be found and linked.

Otto adds a few lines for each company's training bot and leaves the search bots allowed. He warns Reza that this covers future visits and asks bots to stay away. It does not remove anything already gathered.

A month later, Otto checks the visit log. He sees a bot calling itself a well-known AI crawler, reading every page at speed. Its address is not on that company's published list.

Reza's host offers a bot check, so Otto switches it on for visitors that fail the address check.

What made the difference: Reza made a clear choice for each kind of bot. Otto then checked whether visitors were who they claimed to be.

Myths and mistakes

What people thinkWhat is true
robots.txt locks AI bots out.It is a request. Companies that follow the standard respect it, but others can ignore it.[1]
Blocking AI bots is all or nothing.Several companies use separate names for training, search and person-led fetches, so you can choose for each.[3][5]
Blocking a training bot removes my pages from existing AI models.It is a signal about future crawling. Anthropic, for example, describes it as excluding future content from training.[5]
Blocking a bot's internet addresses is the best way to opt out.Anthropic notes that this also stops its bots reading your robots.txt, so it is not a reliable opt-out.[5]
A bot is who its name tag says it is.Anyone can use a famous bot's name. Check its address against the company's published list.[3]

What can I do this week?

  1. Open your robots.txt file by adding /robots.txt to your web address, and read what it says.
  2. Agree with the site owner what you want: training, AI search, both or neither.
  3. Read the bot pages of the AI companies you care about, and note the name for each job.
  4. Ask your web host or website builder how to edit robots.txt, and whether it offers AI bot settings or bot checks.
  5. Put anything private behind a password, not just a robots.txt line.

Checklist

  • I know the three jobs AI crawlers do: training, search and person-led fetches.
  • Our site has a robots.txt file that says what we want about AI bots.
  • We made separate choices for training bots and AI search bots.
  • I know robots.txt is a request, not a lock.
  • Private pages need a password, not just a robots.txt line.
  • Someone checks the visit log now and then for bots using false names.
  • We look at the AI companies' bot pages again from time to time, as names change.

Common questions

How do I block AI crawlers from my website?

Add lines to your robots.txt file naming each AI bot you want to refuse, with "Disallow: /" under each name. Companies that follow the standard should respect this. For bots that ignore it, ask your web host or a security service about bot checks.[1][5]

Will blocking AI bots hurt my search ranking?

Blocking AI search bots may stop your pages appearing in AI search answers. OpenAI says sites that refuse its search bot will not show in ChatGPT search answers, apart from plain links. Training bots often have their own names, so refusing them is a separate choice.[3][5]

What is the difference between GPTBot and ChatGPT-User?

Both belong to OpenAI. GPTBot gathers pages that may be used to train its models. ChatGPT-User visits a page when a person asks ChatGPT about it, and OpenAI says robots.txt rules may not apply to it for that reason.[3]

What is Google-Extended?

Google-Extended is a name you can use in robots.txt as a control setting for Google's AI uses. Google says it has no separate bot of its own: Google's normal crawlers do the visiting. Check Google's own page for exactly what it covers today.[4]

Does robots.txt keep pages private?

No. It asks bots not to visit, but anyone can still open the pages, and the file itself is public. Google advises a password or a "noindex" setting for pages you want kept out of its search results.[2]

Where next?

Ready for the detail? Read the practitioner guide: AI Crawler and Scraper Controls. It goes further into a full crawler reference by company, new AI usage preference proposals, pay per crawl, checking bots at the network edge and measuring what gets through.

Also useful:

Related NHI Mgmt Group resources: Bot Management Guide · Website Security for Beginners · AI Training Data Provenance and Copyright Exposure Guide

Key terms

AI crawler
A bot sent by an AI company to collect web content for model training or other AI uses.
Crawler
A program that moves from page to page, finding and reading what a website holds.
Robots.txt
A file on a website that asks crawlers to avoid certain pages. Polite bots follow it, but it is not a lock.
User agent
The name a browser or bot sends with each visit to say what software it is.
Crawler impersonation
When a bot claims to be a well-known crawler but comes from somewhere else.
AI model training data
The collection of examples, such as web pages, used to teach an AI model.
Bot management
The set of checks a website uses to spot automated visitors and decide whether to allow, challenge or block them.

Sources and further reading

  1. RFC 9309: Robots Exclusion Protocol. Internet Engineering Task Force (IETF), September 2022. https://www.rfc-editor.org/rfc/rfc9309.html, accessed 28 Nov 2026.
  2. Introduction to robots.txt. Google Search Central documentation. https://developers.google.com/search/docs/crawling-indexing/robots/intro, accessed 28 Nov 2026.
  3. Overview of OpenAI crawlers. OpenAI developer documentation. https://developers.openai.com/api/docs/bots, accessed 28 Nov 2026.
  4. List of Google's common crawlers (Google-Extended entry). Google Crawling Infrastructure documentation. https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers, accessed 28 Nov 2026.
  5. Does Anthropic crawl data from the web, and how can site owners block the crawler? Anthropic Help Center. https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.