GuideUpdated 30 Nov 20266 min read

AI crawlers, and the robots.txt rules to let them in.

Which user agents ChatGPT, Claude, Perplexity, Google and Apple use, what each one does, and a robots.txt you can copy to allow AI search while choosing what to share for training.

Short answer

The main AI user agents are OAI-SearchBot, ChatGPT-User and GPTBot for OpenAI; Claude-SearchBot, Claude-User and ClaudeBot for Anthropic; PerplexityBot and Perplexity-User for Perplexity; and the Google-Extended and Applebot-Extended tokens for Google and Apple. Allow the search and user agents if you want to be cited in AI answers; the training agents are a separate choice.

The user agents

CompanyUser agentWhat it does
OpenAIOAI-SearchBotBuilds the index behind ChatGPT search results
OpenAIChatGPT-UserFetches a page when a user asks ChatGPT to
OpenAIGPTBotCollects content for training models
AnthropicClaude-SearchBotIndexes pages for Claude’s search
AnthropicClaude-UserFetches a page for a user in Claude
AnthropicClaudeBotCollects content for training
PerplexityPerplexityBotIndexes pages for Perplexity answers
PerplexityPerplexity-UserFetches a page for a user’s question
GoogleGoogle-ExtendedA robots token, not a crawler: controls use of content for Gemini
AppleApplebot-ExtendedA robots token controlling use for Apple’s AI models

Companies add and rename agents. Check each vendor’s crawler documentation before you rely on a list, including this one.

Search vs training

The useful distinction is between agents that find and fetch pages for answers and agents that collect training data. If you want to be cited in AI answers, the search and user agents must be allowed. Whether you also allow training is a business decision: it can help models learn about you, and some publishers prefer not to.

!

Blocking everything with a wildcard rule, or a firewall rule that challenges unknown bots, often blocks AI search agents by accident. Many sites that “never decided” turn out to block GPTBot or ClaudeBot through a CDN default.

A robots.txt to copy

This allows AI search and user fetches everywhere except private paths, and allows training too. Change the training block to Disallow: / if you prefer to opt out.

robots.txtcopy# AI search and user-initiated fetches
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Allow: /
Disallow: /app/
Disallow: /api/

# Training (your choice)
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
Allow: /
Disallow: /app/

User-agent: *
Allow: /

Sitemap: https://yourstartup.com/sitemap.xml

Grouping several User-agent lines over one set of rules is valid under RFC 9309, the robots.txt standard.

How to check yours

  1. Open yourdomain.com/robots.txt and look for any of the agents above under a Disallow: /.
  2. Check your CDN or firewall bot settings. Some block AI crawlers by default.
  3. Make sure /llms.txt and /sitemap.xml are not disallowed.

Or run the free Footnote audit: it parses your robots.txt the way the crawlers do, checks each agent by name and writes the corrected file in the fix kit.

FAQ

Quick answers.

Should I block GPTBot?

Only if you do not want your content used for training. Blocking GPTBot does not remove you from ChatGPT search, which uses OAI-SearchBot and ChatGPT-User, but blocking those would.

Does blocking Google-Extended remove me from Google Search?

No. Google-Extended only controls use of your content for Gemini. Google Search crawling is controlled by Googlebot.

Do AI crawlers respect robots.txt?

The major vendors listed here say their crawlers follow robots.txt. User-initiated fetchers may be treated differently; check each vendor’s documentation.

See what AI says about your site.

Free audit in under a minute, no signup. Tracking is $9 a month at the founding price.

https://