Does blocking all AI bots in robots.txt hide me from AI search?
99Visibility Research · Updated October 21, 2026 · 5 min read
Short answer
Usually, yes. A blanket AI block normally lists search crawlers such as OAI-SearchBot, PerplexityBot and Claude-SearchBot next to training bots such as GPTBot. That quietly ends your eligibility for those engines' search answers. robots.txt rules are per bot, so you can block training and still allow search. Google is the exception: no AI-specific token exists, and Googlebot rules govern AI Overviews and AI Mode.
Key takeaways
- A blanket AI block usually removes search crawlers along with training crawlers, and nothing warns you when it happens.
- OpenAI states its crawler settings are independent, so you can disallow GPTBot and still allow OAI-SearchBot.
- No robots.txt token blocks Google AI Overviews or AI Mode. Googlebot rules are the control, and Google-Extended only covers Gemini Apps and Vertex.
- Allowing a search bot buys eligibility, not citations, and a firewall can still block a bot your robots.txt allows.
The full answer: a blanket block ends search eligibility
Most "block all AI bots" lists copied from blogs and plugins treat every AI user agent the same. They disallow GPTBot, ClaudeBot and Google-Extended, which are training crawlers. They also disallow OAI-SearchBot, PerplexityBot and Claude-SearchBot, which feed the engines' search features.
The consequence is documented. OpenAI says sites opted out of OAI-SearchBot "will not be shown in ChatGPT search answers, though can still appear as navigational links." Perplexity says PerplexityBot indexes for search and is not used to train foundation models. Block it and you leave Perplexity's index.
This failure is silent. No dashboard flags it, and the site keeps working for humans. If your goal was to keep content out of model training, a blanket block overshoots. It also removes you from the answer-time retrieval that most buyers actually see.
For the per-bot rules in full, see our per-bot guide to robots.txt for AI crawlers.
Training bots and search bots are different controls
Each AI company runs several crawlers with separate jobs. As of October 2026, the operators document them like this:
| Operator | Training crawler | Search or index crawler |
|---|---|---|
| OpenAI | GPTBot | OAI-SearchBot |
| Anthropic | ClaudeBot | Claude-SearchBot |
| Perplexity | (none named for training) | PerplexityBot |
| Meta | Meta-ExternalAgent | Meta-WebIndexer |
| Google-Extended (Gemini Apps, Vertex) | Googlebot |
OpenAI puts it plainly: "Each setting is independent of the others." A webmaster can allow OAI-SearchBot to appear in search results while disallowing GPTBot. That also means allowing GPTBot does nothing for ChatGPT search, a point covered in whether to block GPTBot and still appear in ChatGPT search.
Meta is the only operator that ties access to citation in its own words: allowing Meta-WebIndexer "helps us cite and link to your content in Meta AI's responses."
How to block training and keep search
Give each crawler its own group. Under the Robots Exclusion Protocol, a crawler follows the group that names it, so explicit groups are clearer than relying on a wildcard. A short, correct example:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Meta-ExternalAgent
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Meta-WebIndexer
Allow: /
Think twice before adding Google-Extended. Google says it cuts training and grounding for Gemini Apps and Vertex, so blocking it removes you from grounded Gemini app answers. It does not affect Google Search inclusion and is not a ranking signal.
Also check that a stray User-agent: * group with Disallow: / isn't doing more than you meant. Our page on the Disallow directive and its common mistakes walks through the usual errors.
Google works differently: Googlebot is the control
There is no robots.txt token that blocks Google AI Overviews or AI Mode. Google says AI is built into Search, so Googlebot directives are the control. A wildcard block that catches Googlebot removes you from Google Search and its AI features together.
Google states that a page must be "indexed and eligible to be shown in Google Search with a snippet" to appear as a supporting link in AI Overviews or AI Mode. If you want to limit what appears in AI answers without leaving Search, the documented tools are on-page: nosnippet, max-snippet, data-nosnippet and noindex.
Search Console also has a generative AI inclusion control. As of the evidence date it is opt-out, on by default, and rolling out to only a subset of site owners.
Edge cases robots.txt does not cover
robots.txt is necessary, not sufficient. Three gaps matter:
- User-triggered fetchers. OpenAI says robots.txt rules "may not apply" to ChatGPT-User. Perplexity says Perplexity-User "generally ignores robots.txt rules." More in whether all AI crawlers obey robots.txt.
- Firewalls and CDNs. A WAF can return 403 to a bot your robots.txt allows. OpenAI's eligibility wording requires both the robots.txt allow and a host or CDN that lets its published IPs through. Since 2026-09-15, Cloudflare blocks Training and Agent crawlers by default on ad-displaying pages for new domains and free-tier customers, while Search stays allowed. The robots.txt vs firewall comparison explains both gates.
- What models already know. Blocking search bots doesn't erase a model's training data. Answers given without live retrieval come from a frozen snapshot nobody can edit this quarter.
What to do next
- Open your robots.txt and list every AI user agent it names. Sort each into training or search.
- Decide your training policy separately from your search policy. They are separate settings.
- Give each search crawler you want an explicit Allow group.
- Leave Googlebot alone unless you mean to leave Google Search.
- Test whether each crawler can actually fetch a page. The robots.txt Checker for AI Crawlers shows what your file allows per bot.
Allowing search crawlers makes you eligible. It doesn't guarantee retrieval or a citation. For a step-by-step repair, follow the playbook for fixing a blanket AI block.
Frequently asked questions
Does blocking GPTBot remove me from ChatGPT search?
No. OpenAI documents GPTBot as a training crawler only. ChatGPT search uses OAI-SearchBot, and OpenAI states each setting is independent of the others. You can disallow GPTBot to keep content out of training and still allow OAI-SearchBot so your pages stay eligible for ChatGPT search answers. Blocking OAI-SearchBot is what removes you from those answers.
Can I block Google AI Overviews with robots.txt?
Not separately. Google has no robots.txt token for AI Overviews or AI Mode. Googlebot rules control Search and its AI features together. To limit AI display while staying in Search, use snippet controls such as nosnippet, max-snippet or data-nosnippet. Search Console's generative AI inclusion control is another option, though it is still reaching only some site owners.
Does Google-Extended affect AI Overviews?
No. Google says Google-Extended controls training and grounding for Gemini Apps and Vertex AI. It does not affect a site's inclusion in Google Search and is not used as a ranking signal. Blocking it can remove you from grounded answers in the Gemini app, which is a different product from AI Overviews and AI Mode.
If I block AI search bots, will AI stop mentioning my brand?
Not necessarily. Blocking search crawlers removes your pages from those engines' indexes. It doesn't remove what models learned during training, and engines can still name you based on other sites that mention you. User-triggered fetchers such as Perplexity-User may also ignore robots.txt. A block reduces your control over how you're described more than it hides you.
If robots.txt allows a bot, can it definitely reach my site?
No. A firewall, CDN or bot-management rule can block a crawler your robots.txt allows, often with a 403 response. OpenAI's eligibility guidance asks for both a robots.txt allow and a host that accepts its published crawler IPs. Test real fetches per crawler rather than trusting the file alone.
Sources
This page is AI-assisted. It was written from a verified evidence base and checked against our editorial policy. Engine behaviour changes often; facts are as of October 21, 2026.