Skip to content
DAV Media logo

AI & Search

robots.txt for AI crawlers: which bots to allow, and what each one does

GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended and more: who runs each AI crawler, what it is for, and a robots.txt you can copy.

By DAV Media · · 8 min read

Your robots.txt file is a short text file at the root of your website that tells crawlers what they may read. For twenty years it mostly mattered to Google and Bing. Now it also decides whether ChatGPT, Claude, Perplexity and Gemini can see your site, and so whether they can recommend you.

Most businesses we audit have never looked at theirs. Some block AI crawlers without knowing it. Others allow everything but sit behind a firewall that turns the bots away anyway.

Three kinds of AI crawler

AI companies split their crawling by purpose. Understanding the split is the whole game.

  1. Search crawlers build an index that the assistant searches when it needs current information. Block these and you will rarely be cited.
  2. User-request fetchers visit a page because a person asked the assistant something that needs it, for example “summarise this page” or a live search. Block these and the assistant cannot read you even when someone asks about you directly.
  3. Training crawlers collect content that may be used to train future models. Blocking these does not, on its own, remove you from search-style answers.

The bots that matter, and who runs them

User agent Operator Purpose
Googlebot Google Google Search, including AI Overviews and AI Mode
Google-Extended Google Control token for use in Gemini model training and grounding. Not a separate crawler
Bingbot Microsoft Bing Search, which also feeds Copilot
OAI-SearchBot OpenAI Search results in ChatGPT
ChatGPT-User OpenAI Pages fetched when a ChatGPT user asks
GPTBot OpenAI Content that may be used to train models
Claude-SearchBot Anthropic Search quality for Claude
Claude-User Anthropic Pages fetched when a Claude user asks
ClaudeBot Anthropic Content that may be used to train models
PerplexityBot Perplexity Perplexity’s search index
Perplexity-User Perplexity Pages fetched when a Perplexity user asks
Applebot Apple Siri and Spotlight search
Applebot-Extended Apple Control token for Apple’s model training. Not a separate crawler
Meta-ExternalAgent Meta Content for Meta’s AI models and products
Amazonbot Amazon Alexa and other Amazon services
CCBot Common Crawl An open web archive that many AI models are trained on

Names change. Always check the operators’ own documentation, linked at the end of this article, before you rely on a list.

The one misunderstanding that costs brands visibility

Many site owners block Google-Extended thinking it will keep them out of AI Overviews. It does not. Google states that Google-Extended does not affect inclusion or ranking in Google Search, and AI Overviews are part of Search. The reverse mistake is worse: blocking Googlebot to “stop AI” removes you from Google altogether.

A robots.txt that welcomes AI assistants

If your goal is to be found and recommended, this is a sensible starting point. It is close to what we run on thedavmedia.com/robots.txt:

User-agent: *
Allow: /

User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: GPTBot
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: ClaudeBot
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Google-Extended
User-agent: Applebot-Extended
Allow: /

Sitemap: https://www.example.com/sitemap.xml

Listing the AI bots by name is technically redundant when User-agent: * already allows everything. We do it anyway, because it makes the intent explicit to anyone reading the file and stops a future blanket rule from catching them by accident.

If you want search visibility but not training

Some brands, publishers especially, want to appear in AI answers but keep their content out of training sets. You can allow the search and user bots and disallow the training ones:

User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: CCBot
Disallow: /

This is a trade-off. Models learn what they know about your brand partly from training data, so blocking training can make an assistant’s background knowledge of you thinner over time.

Check the layers robots.txt cannot see

robots.txt is a polite request. It only works if the crawler reaches it. Three things commonly get in the way:

  • CDN bot protection. Cloudflare and similar services offer one-click settings to block AI bots. They are easy to switch on and forget about.
  • Firewall and security plugins. WordPress security plugins often block unfamiliar user agents.
  • JavaScript-only content. Many AI fetchers do not run JavaScript. If your text only appears after scripts load, they may see an empty page. Serve real HTML.

The quickest test is to ask an assistant with browsing to summarise one of your pages. If it cannot, something is blocking it.

Add a sitemap and an llms.txt

Point to your XML sitemap at the bottom of robots.txt so every crawler finds every page. Then consider llms.txt, a proposed plain-text summary of your site for language models. It is not an official standard and no major operator has confirmed using it, but it takes an hour to write. Ours is at thedavmedia.com/llms.txt.

For the bigger picture of how AI assistants choose what to cite, read What is Generative Engine Optimisation?

Questions people ask

Should I block GPTBot?+

GPTBot collects content that may be used to train OpenAI's models. Blocking it does not stop ChatGPT search from finding you, which uses OAI-SearchBot. Whether to allow training is a business choice. Many brands that want to be known and recommended choose to allow it.

Does blocking Google-Extended remove my site from AI Overviews?+

No. Google says Google-Extended does not affect a site's inclusion or ranking in Google Search. AI Overviews are part of Search and use the normal Googlebot crawl.

What is the difference between ClaudeBot and Claude-User?+

Anthropic describes ClaudeBot as collecting public web content that may contribute to model training, Claude-SearchBot as improving search results, and Claude-User as fetching pages when a person asks Claude something that needs them.

Do AI crawlers respect robots.txt?+

The major operators, including OpenAI, Anthropic, Google, Perplexity and Apple, publish their user agents and say their crawlers follow robots.txt. Because robots.txt is voluntary, a firewall is the only hard block.

What is llms.txt?+

llms.txt is a proposed file at the root of a website that gives language models a short, plain-text summary of the site and links to its key pages. It is not an official standard and no major AI company has confirmed using it, but it is quick to add.

Sources

  1. OpenAI: Overview of OpenAI crawlers
  2. Anthropic: Does Anthropic crawl data from the web?
  3. Google: Overview of Google crawlers and fetchers (including Google-Extended)
  4. Perplexity: Perplexity crawlers
  5. Apple: About Applebot
  6. llms.txt proposal

Written by

DAV Media

The team behind films for PepsiCo, Amazon and Jack Daniel's, and the makers of Aimplyfy and Brillaince. Studios in Hyderabad, Bangalore and Melbourne.

Got a brief?

Let's make it
dynamic.