Free AEO audit

AI Crawlers and robots.txt: Which Bots to Allow or Block

A clear guide to GPTBot, OAI-SearchBot, ClaudeBot, Claude-SearchBot and PerplexityBot, with robots.txt examples for allowing AI search while managing training.

By AEO Lists Editorial TeamUpdated November 29, 20262 min read
Short answer

AI companies run separate crawlers for training, search and user requests. To appear in AI search answers, allow the search bots: OAI-SearchBot, Claude-SearchBot and PerplexityBot. Training bots such as GPTBot and ClaudeBot are a separate choice. Control all of them in robots.txt, and check firewalls too.

Key takeaways

  • Search bots decide whether you can appear in AI answers. Training bots do not.
  • Each provider documents its own bot names. Always verify on the official page.
  • A bot-specific group in robots.txt replaces the wildcard group for that bot.
  • Firewalls and bot protection can block bots even when robots.txt allows them.

Which AI crawlers exist?

The main providers each publish bots with different jobs.

CompanyBotPurpose
OpenAIGPTBotTraining
OpenAIOAI-SearchBotChatGPT search
OpenAIChatGPT-UserUser-initiated fetches
AnthropicClaudeBotTraining
AnthropicClaude-SearchBotSearch quality
AnthropicClaude-UserUser-initiated fetches
PerplexityPerplexityBotSearch indexing
PerplexityPerplexity-UserUser-initiated fetches
AI crawlers by company and purposeCompanyModel trainingSearch indexUser-requested fetchOpenAIGPTBotOAI-SearchBotChatGPT-UserAnthropicClaudeBotClaude-SearchBotClaude-UserPerplexity—PerplexityBotPerplexity-UserGoogleGoogle-ExtendedGooglebot—AppleApplebot-ExtendedApplebot—Blocking a training bot does not block the search bot or the user-requested fetcher. Each is controlled separately.
Major AI crawlers grouped by what they do. Google-Extended and Applebot-Extended are robots.txt controls, not separate crawlers.

Bot lists change, so confirm against each provider's page. Our AI bot list links to them.

What is the difference between training, search and user bots?

Training bots collect content that may be used to train models. Search bots build an index so your pages can appear in AI search results. User bots fetch a page when a person asks the assistant to look at it.

Blocking a training bot does not remove you from search answers. Blocking a search bot can.

How do I allow AI search but manage training?

A common setup allows the search bots and makes an explicit choice on the training bots. For example:

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

Whether to block training bots is a business decision. Build the file with the robots.txt generator.

Why do bot-specific groups matter?

A crawler follows the group that best matches its name. If you add a group for a bot, it ignores the wildcard group. Repeat any shared rules inside the bot's own group.

Does robots.txt stop everything?

No. It is a request that compliant crawlers follow. Providers describe user-initiated fetchers differently, and some bots may not respect it. For real access control, use authentication or server rules.

How do I test my setup?

Run the AI crawler checker to see bot-by-bot results and check your logs for real visits. A firewall that returns 403 to bots will undo a permissive robots.txt.

How long do changes take?

Providers cache robots.txt. OpenAI notes that changes can take some time to apply. Plan for days, not minutes.

Frequently asked questions

Should I block GPTBot?

It depends on whether you want your content used for model training. Blocking GPTBot does not remove you from ChatGPT search, which uses OAI-SearchBot.

Does Perplexity obey robots.txt?

Perplexity states that PerplexityBot respects robots.txt, and documents Perplexity-User separately. Read its documentation for the current wording.

What about Google AI Overviews?

Google uses Googlebot and controls such as nosnippet. Google-Extended is a separate token for some generative uses. Read Google's documentation.

Can I allow only some folders?

Yes. Use Allow and Disallow with path rules inside the bot's group.

Sources

Find out how AI search sees your site

Run the free AEO page audit. It takes seconds and needs no sign-up.

Run the free audit