Search & AI Visibility · SaaS & Startups

GPTBot, OAI-SearchBot, ClaudeBot: A robots.txt Guide for AI Crawlers

Which AI crawlers train models, which power AI search answers, and how to allow one while blocking the other.

XDQ Editors10 Nov 2026 · 8 min read
Seo Computer

AI companies now run separate crawlers for training models and for answering questions in search-style products. That split matters: you can keep your content out of model training and still appear, with a link, when someone asks ChatGPT or Claude about your category. This guide lists the main user agents and shows robots.txt rules for the common choices.

4
OpenAI user agents documented, including OAI-SearchBot for ChatGPT search
Source: OpenAI
3
Anthropic crawlers: ClaudeBot, Claude-User and Claude-SearchBot
Source: PPC Land
1
Line of robots.txt that can remove a site from an AI search product
Source: OpenAI

Training crawlers and search crawlers are different

OpenAI documents GPTBot for collecting content that may train its models, and OAI-SearchBot for surfacing websites in ChatGPT search. Blocking GPTBot signals you do not want your content used for training; blocking OAI-SearchBot keeps you out of ChatGPT search answers.

Anthropic made the same split in February 2026: ClaudeBot gathers content that may be used for training, Claude-SearchBot indexes content to improve search answers, and Claude-User fetches pages when a person asks Claude a question.

The main AI user agents

Use these names exactly in robots.txt. Rules are matched per user agent, and a named group overrides the generic * group for that bot.

User agentCompanyPurposerobots.txt
GPTBotOpenAIContent that may train modelsRespected
OAI-SearchBotOpenAISurfaces sites in ChatGPT searchRespected
ChatGPT-UserOpenAIVisits pages when a user asksMay not apply, user initiated
ClaudeBotAnthropicContent that may train modelsRespected
Claude-SearchBotAnthropicIndexes for search answersRespected
Claude-UserAnthropicFetches pages for a user's questionBlocking may reduce visibility
PerplexityBotPerplexityIndexes for Perplexity answersRespected per Perplexity docs
Google-ExtendedGoogleControls use in Gemini models, not Search rankingRespected

Common robots.txt choices

To stay visible in AI search but opt out of training, add a group for each training crawler with Disallow: / and leave the search crawlers allowed. To block everything AI, add groups for every agent in the table. Do not block Googlebot to avoid AI Overviews; that removes you from Google Search entirely.

Remember that robots.txt is a public request, not access control. Content that must stay private needs authentication.

  • Opt out of training: Disallow GPTBot, ClaudeBot, Google-Extended, CCBot
  • Stay in AI answers: allow OAI-SearchBot, Claude-SearchBot, PerplexityBot
  • Keep Googlebot allowed: AI Overviews use normal Search crawling
  • List your sitemap at the bottom of the file

Check what you actually block

Many sites block AI crawlers by accident through a CDN bot rule or a security plugin, not robots.txt. Check server or CDN logs for these user agents and confirm they receive 200 responses on pages you want cited.

XDQ xAgents' AI Visibility agent reads your robots.txt and reports, for each of eight AI crawlers, whether it is allowed, blocked by name or blocked by a catch-all rule.

Frequently asked questions

Does blocking GPTBot remove my site from ChatGPT?

Not from ChatGPT search. GPTBot is OpenAI's training crawler. ChatGPT search uses OAI-SearchBot, so you can block GPTBot and still allow OAI-SearchBot.

What does Google-Extended do?

Google-Extended lets you control whether content crawled by Google is used for Gemini models. It does not affect Google Search ranking, and blocking it does not remove you from Search.

Can I block AI Overviews without leaving Google Search?

Google has not introduced a separate control for AI Overviews. Snippet controls such as nosnippet limit what can be shown, but blocking Googlebot removes the page from Search entirely.

Which Anthropic crawler should I allow?

Allow Claude-SearchBot and Claude-User if you want to appear when people use Claude to search. Block ClaudeBot if you do not want content used for training.

Sources

  1. Overview of OpenAI crawlers, OpenAI, 2026
  2. Anthropic clarifies what its three web crawlers do and how to block them, PPC Land, 2026
  3. Does Anthropic crawl data from the web, and how can site owners block the crawler?, Anthropic, 2026
  4. Google's common crawlers, Google Search Central, 2026
  5. Perplexity crawlers, Perplexity, 2026
Keep reading

Related research

Seo Computer
Search & AI Visibility · 9 Nov 2026

Site Search Insights: The Keyword Research Hiding in Your Search Box

What visitors type into your own search box tells you which pages to write, fix and promote, often better than any keyword tool.

XDQ Editors9 Nov 2026 · 7 min read
Coding Programming
Search & AI Visibility · 10 Nov 2026

Pages That Rank but Don't Get Clicked: A Search Console CTR Audit

How to find pages with good positions and poor click-through rates, and the title and snippet fixes that usually win the clicks back.

XDQ Editors10 Nov 2026 · 7 min read
Code Coding
Search & AI Visibility · 7 Nov 2026

Core Web Vitals in 2026: LCP, INP and CLS Fixes That Matter

The three metrics, their thresholds and the fixes that move them on real mobile visits.

XDQ Editors7 Nov 2026 · 7 min read
Next step

Tell us what you want to build.

Send the workflow. Our sales experts reply with a scope and a custom quotation within two working days, or a straight answer that it isn't a fit.

Secure by default · find → fix → verify · authorised scope only
Send a brief →enquiry@xdqlabs.com