Back to blog
TechnicalNovember 28, 20269 min read

OAI-SearchBot and the other AI crawlers: user agents, robots.txt tokens and what each one controls

A vendor-by-vendor reference for OAI-SearchBot, GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot and Google-Extended: what each one controls, the robots.txt rules that allow search and block training, and how to test them.

TL;DR OAI-SearchBot is OpenAI's crawler for ChatGPT search, and OpenAI says sites opted out of it will not be shown in ChatGPT search answers. AI vendors run separate bots for search, training and user-triggered fetching, so your AI visibility depends on setting each token on purpose. The table, robots.txt snippet and test steps below were checked on 28 November 2026.

People search for this crawler as "oai searchbot", but the robots.txt token is spelled OAI-SearchBot, with a hyphen. Allowing it is the first gate only, because whether ChatGPT, Claude or Perplexity then cite you is something to measure. How the tracking loop works is explained on its own page. You can start measuring on the free plan. Here we list the documented crawlers of OpenAI, Anthropic, Perplexity and Google, what blocking each one does, and how to confirm your rules work.

What is OAI-SearchBot, and what does it control?

OAI-SearchBot is the crawler OpenAI uses to surface websites in ChatGPT's search features. OpenAI's crawler documentation says that sites opted out of it will not be shown in ChatGPT search answers, though they can still appear as navigational links. OpenAI recommends allowing it in robots.txt and allowing requests from its published IP ranges.

The bot is independent of GPTBot. OpenAI says each setting stands alone, so a site can allow OAI-SearchBot to appear in search results while disallowing GPTBot to signal that its content should not be used for training. If a site allows both, OpenAI says it may use the results of one crawl for both purposes. A robots.txt change can take about 24 hours to take effect for search.

When OAI-SearchBot fetches your robots.txt file, OpenAI says it may add a "robots.txt" marker to the user-agent string. That marker makes those requests easy to spot in logs that do not record paths. For how ChatGPT decides to search in the first place, see how ChatGPT picks its sources.

Which AI crawlers exist, and what does each one do?

The documented AI crawlers fall into three groups. Search crawlers build the index an answer engine retrieves from. Training crawlers collect content that may be used for future models. User-triggered fetchers load a page because a person asked about it. Vendor documentation puts the bots below into those groups.

TokenVendorTypeWhat the vendor documents
OAI-SearchBotOpenAISearchSurfaces sites in ChatGPT search; opted-out sites are not shown in answers
GPTBotOpenAITrainingCrawls content that may train foundation models; disallowing signals it should not be used for training
ChatGPT-UserOpenAIUser actionVisits pages when a user or Custom GPT asks; robots.txt rules may not apply; not used to decide Search inclusion
OAI-AdsBotOpenAIAds reviewChecks landing pages submitted as ChatGPT ads; not used to train foundation models
Claude-SearchBotAnthropicSearchImproves search result quality; disabling may reduce visibility in user search results
ClaudeBotAnthropicTrainingCollects content that could contribute to training; restricting it excludes future materials from training sets
Claude-UserAnthropicUser actionFetches pages when a person asks Claude; disabling may reduce visibility for user-directed web search
PerplexityBotPerplexitySearchSurfaces and links sites in Perplexity results; not used to crawl content for foundation models
Perplexity-UserPerplexityUser actionVisits a page when a user asks; generally ignores robots.txt because the user requested the fetch
GooglebotGoogleSearchPreferences for this token affect Google Search, including Discover and Search features
Google-ExtendedGoogleTraining and grounding controlA token with no separate user agent; governs training of future foundation models for Google generative AI products and grounding in those products outside Search

Anthropic adds that its bots honor robots.txt directives. It also points to a separate article for the browsers it hosts when Claude completes tasks on a user's behalf, listed there as Claude-Agent.

Search crawlers decide whether you appear in answers

Block a search crawler and you risk dropping out of that engine's answers. OpenAI says opted-out sites will not be shown in ChatGPT search answers. Anthropic says disabling Claude-SearchBot may reduce a site's visibility and accuracy in user search results. Perplexity recommends allowing PerplexityBot so a site appears in its results, and our measurements of how many retrieved sources Perplexity actually cites show that being listed is only part of the job.

Training crawlers decide whether future models may learn from you

Training tokens are separate from search tokens. Disallowing GPTBot, restricting ClaudeBot or disallowing Google-Extended signals that content should not be used for model training. Each is documented as separate from the vendor's search tokens. Google says Google-Extended does not affect inclusion in Google Search and is not a ranking signal. It also covers grounding, which means giving the model content from the Search index at prompt time, in Google's generative AI products outside Search. Anthropic describes ClaudeBot restrictions as excluding future materials, which means they apply going forward.

Google also says Google-Extended does not stop generative answers from linking to you when other sites that have not disallowed it mention or link to your site. Blocking a training token does not erase third-party mentions. Google's AI Overviews and AI Mode are governed by a different control: Google points to the Search generative AI control in Search Console. For what else decides eligibility, see how to appear in Google AI Overviews.

User-triggered fetchers often ignore robots.txt

OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them, because a person requested the fetch. Anthropic is different: it says disabling Claude-User prevents retrieval in response to a user query. Blocking these fetchers at the firewall means people who paste your URL into an assistant get nothing.

What are the user-agent strings and IP lists?

Match on the token, because version numbers change. The strings below are the examples the vendors publish. Anyone can send the same user agent, so confirm genuine traffic against the vendor's IP list.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot
Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)
Mozilla/5.0 (compatible; Perplexity-User/1.0; +https://perplexity.ai/perplexity-user)
BotPublished IP list
OAI-SearchBotopenai.com/searchbot.json
GPTBotopenai.com/gptbot.json
ChatGPT-Useropenai.com/chatgpt-user.json
OAI-AdsBotopenai.com/adsbot.json
Anthropic's robots: ClaudeBot, Claude-User, Claude-SearchBotclaude.com/crawling/bots.json
PerplexityBotwww.perplexity.ai/perplexitybot.json
Perplexity-Userwww.perplexity.ai/perplexity-user.json
Googlebot and other common crawlersdevelopers.google.com/static/crawling/ipranges/common-crawlers.json

Anthropic's crawler page warns that blocking its IP addresses may not reliably opt you out, because it stops Anthropic from reading your robots.txt file. Use robots.txt to express the preference and the IP list to verify traffic.

How do you allow AI search crawlers and block training in robots.txt?

Give each token its own group. Under RFC 9309, a crawler obeys the group that names it and falls back to the group for User-agent: * only when no group names it. If no rule matches, the URL is allowed. A blanket Disallow for all agents therefore also blocks search crawlers unless you add named groups for them.

# Search crawlers: allowed
User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

# Training controls: blocked
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

To block GPTBot in robots.txt, name it in its own group with Disallow: /, as above. The same pattern works for ClaudeBot. The Allow lines are optional when nothing else blocks the search bots, but a named group keeps them from being caught by a User-agent: * rule. Place the file at the root of every domain and subdomain, because Anthropic says to repeat the rule for each subdomain you want to opt out. Pick the rule that matches your goal:

GoalRuleDocumented trade-off
Be eligible for ChatGPT, Claude and Perplexity search answersAllow OAI-SearchBot, Claude-SearchBot and PerplexityBot, and their IP rangesNo cost documented by the vendors; your pages can be used as sources in answers
Keep content out of future model trainingDisallow GPTBot, ClaudeBot and Google-ExtendedSearch tokens stay independent; third-party mentions can still surface your site
Stop fetches triggered by a userDisallow Claude-User; use firewall rules for ChatGPT-User and Perplexity-UserUsers who paste your URL into an assistant get nothing
Control Google AI Overviews and AI ModeUse the Search generative AI control in Search Console, not Google-ExtendedGoogle-Extended does not affect Search

What is the new __usage_ai-training signal?

It is a proposed way to say "no AI training" once for every vendor. Anthropic says it began recognizing a machine-readable training preference signal on 30 October 2026, and that a robots.txt rule naming ClaudeBot takes priority over it. Google says it intends to support the shared signal, written as user-agent: __usage_ai-training, in early 2027.

The proposal is draft-kelley-aipref-training-preference-signal-01, dated 16 November 2026 and written by an Anthropic author. It binds the preference to ordinary robots.txt groups with a policy token and says wildcard groups must not be read as matching it. It is an individual Internet-Draft, not endorsed by the IETF, and it expires on 20 May 2027. Keep the named rules above in place and treat the new token as an addition.

User-agent: __usage_ai-training
Disallow: /

How do you check that AI crawlers actually get through?

Robots.txt is half the gate, because a CDN or firewall can still block a crawler you allowed. RFC 9309 also says robots.txt rules are not a form of access authorization, so private content needs real access control. Test both layers:

  1. Open robots.txt on every domain and subdomain and confirm each token has the group you intended. A named group wins over User-agent: *.
  2. Request a page with the full published user-agent string, not only the token, and confirm a 200 response with the real HTML. A bare token and a full string can be treated differently by firewall rules, and this check only covers user-agent rules.
  3. Compare the IP addresses in your access logs with the vendor lists. Perplexity recommends combining the user-agent match with IP verification in firewall rules.
  4. Check bot protection settings. Perplexity notes that Cloudflare's Bot Fight Mode cannot be skipped by WAF custom rules and can still challenge its bots.
  5. Wait after a robots.txt change. OpenAI says about 24 hours for search, and Perplexity says up to 24 hours.
  6. Measure the outcome by asking the engines your category questions on a schedule and recording who is cited.

Robots.txt is the control file the vendors document. The separate llms.txt convention is a different file with a different job.

Allowed the crawlers? Now see whether the engines cite you.

Optimization for AI runs your own prompt list against ChatGPT, Perplexity, Google AI Overviews, Gemini and Claude on a schedule and records citations, positions and competitor mentions.

Start tracking

Frequently asked questions

What is OAI-SearchBot?

OAI-SearchBot is OpenAI's crawler for ChatGPT's search features. OpenAI says sites opted out of it will not be shown in ChatGPT search answers, though they can still appear as navigational links. Changes can take about 24 hours to apply.

Is ChatGPT a web crawler?

Not in itself. OpenAI runs OAI-SearchBot and GPTBot as crawlers, while ChatGPT-User fetches a page only when a user or Custom GPT asks. OpenAI says ChatGPT-User is not used to crawl the web automatically, and robots.txt rules may not apply to it.

Should I block GPTBot in robots.txt?

Blocking GPTBot signals that your content should not be used to train OpenAI's foundation models. OpenAI says each bot setting is independent, so you can still allow OAI-SearchBot and stay eligible for ChatGPT search answers.

What is the ChatGPT user agent?

It is ChatGPT-User, with the example string Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0 and a link to openai.com/bot. It appears when ChatGPT or a Custom GPT visits a page for a user. Verify requests against OpenAI's published IP list.

What is PerplexityBot?

PerplexityBot surfaces and links websites in Perplexity search results and, according to Perplexity, is not used to crawl content for AI foundation models. Perplexity-User is separate and generally ignores robots.txt because a user requested the fetch.

How do I block ClaudeBot in robots.txt?

Add a User-agent: ClaudeBot group with Disallow: / to the robots.txt at the root of each domain and subdomain. Anthropic says this signals that future materials should be excluded from training. Claude-SearchBot and Claude-User are separate tokens.

Sources, checked on 28 November 2026

O

The Optimization for AI team helps companies get cited by AI search engines. We track Perplexity, ChatGPT, Google AI Overviews, Gemini and Claude across dozens of domains.

Share this article

See how AI search engines cite your site

Try Optimization for AI free