Should You Block AI Crawlers? A robots.txt Guide for ChatGPT, Claude, Perplexity and Gemini
Each AI company now runs separate bots for model training, search and live user requests. Here is what each one does and how to choose which to allow.

Amresse Farrow
Nov 30, 20269 min read


This is your sign to level up
Stress-free creative support, delivered fast.
The Short Answer
For most businesses that want customers to find them, the answer is: do not block the AI search bots. Blocking them takes you out of the answers that ChatGPT, Claude and Perplexity give when someone asks for a recommendation in your industry.
Training is a separate question. OpenAI, Anthropic and Google each let you opt out of having your pages used to train future models without leaving their search results, because they now use different bot names for different jobs. So the real decision is not "AI yes or no." It is three smaller decisions: training, search, and live fetches on behalf of a user.
This guide explains what each of the main bots does, what happens when you block it, and the exact robots.txt lines for the most common choices.
The Three Jobs AI Bots Do
Think of AI crawlers in three groups.
Training crawlers collect public pages that may be used to train the next generation of a company's models. Blocking them is a statement about how your content is used. It does not, on its own, remove you from any search product.
Search crawlers index pages so an AI assistant can find and cite them when it answers a question. These behave much like Googlebot does for regular search. If you block them, your pages generally stop appearing as sources in that assistant's search answers.
User-triggered fetchers visit a page only when a person asks the assistant to look something up or open a link. They do not crawl your site on a schedule. Because a human started the request, some companies say their fetchers may not follow robots.txt at all, which matters if you were counting on robots.txt to keep a page out of AI tools.
The Main AI Bots and What Blocking Them Does
The table below covers the companies behind the assistants most of your customers use. The names in the first column are the user-agent tokens you write in robots.txt.
| Bot (robots.txt name) | Company | Job | If you block it |
|---|---|---|---|
| GPTBot | OpenAI | Training | Your content is flagged as not to be used for training OpenAI's foundation models |
| OAI-SearchBot | OpenAI | Search | Your pages are not shown in ChatGPT search answers, though they can still appear as plain navigational links |
| ChatGPT-User | OpenAI | User-triggered fetch | OpenAI says robots.txt rules may not apply, because a user started the request |
| ClaudeBot | Anthropic | Training | Opts you out of training without blocking Claude's search bot or user fetcher |
| Claude-SearchBot | Anthropic | Search | Anthropic says this may reduce your visibility and accuracy in Claude's search results |
| Claude-User | Anthropic | User-triggered fetch | Claude cannot retrieve your page when a user asks about it |
| PerplexityBot | Perplexity | Search | Your site is not surfaced or linked in Perplexity's search results |
| Perplexity-User | Perplexity | User-triggered fetch | Perplexity says this fetcher generally ignores robots.txt |
| Google-Extended | Gemini training and grounding outside Search | No effect on Google Search inclusion or ranking |
Sources: OpenAI's crawler documentation, Perplexity's crawler documentation, Google's Google-Extended documentation, and Search Engine Journal's summary of Anthropic's bot documentation, which reports that all three Anthropic bots honor robots.txt. Companies add and rename bots from time to time, so check these pages before you make a change.
Google Is a Special Case
Google does not run a separate AI crawler. Its pages are fetched by the same Googlebot that powers regular search, and Google-Extended is only a robots.txt token that tells Google how it may use what it already crawled.
According to Google's documentation, blocking Google-Extended controls whether your content is used to train future Gemini models and to ground answers in Google's generative AI products outside of Search. Google states plainly that it does not affect your inclusion in Google Search and is not a ranking signal.
What Google-Extended does not control is AI Overviews and AI Mode inside Google Search. For those, Google points site owners to a separate "Search generative AI control" in Google Search Console. Blocking Googlebot itself would remove you from Google Search entirely, so never do that to avoid AI features.
In short: block Google-Extended if you do not want your pages used for Gemini training, and leave Googlebot alone.
How to Decide What to Allow
Start with what your website is for.
If your site exists to win customers, such as a local service business, a B2B company, an e-commerce store or an agency, allow the search bots and the user-triggered fetchers. Those are the bots that put your name in front of someone who just asked an assistant "who does this near me?" or "which tool should I use?" Being cited there works like ranking in a search result, and you cannot be cited if the assistant cannot read your pages.
Whether to allow training crawlers is a values and business call more than an SEO one. Allowing them costs you nothing in visibility. Blocking them costs you nothing in AI search visibility either, as long as you block only the training bots by name. Many marketing sites allow everything because their content is written to be shared. Publishers, course creators and anyone whose content is the product often block training while keeping search open.
If your content sits behind a paywall or is meant only for customers, robots.txt is the wrong tool. Robots.txt is a public request, not a lock, and the user-triggered fetchers above may not follow it. Put private content behind a login.
For reference, Logical Leap's own robots.txt allows all of the bots in the table above, because our goal is for both search engines and AI assistants to understand what we do.
robots.txt Rules for the Most Common Choices
Your robots.txt file lives at the root of your domain, for example yourdomain.com/robots.txt. Each rule group starts with one or more User-agent lines naming the bots it applies to, followed by Allow or Disallow lines. "Disallow: /" means the whole site.
| Your goal | What to put in robots.txt |
|---|---|
| Allow everything (most business sites) | User-agent: * followed by Allow: / (or no AI-specific rules at all) |
| Stay in AI search, opt out of training | One group naming GPTBot, ClaudeBot and Google-Extended, followed by Disallow: / and nothing that blocks OAI-SearchBot, Claude-SearchBot or PerplexityBot |
| Opt out of OpenAI training only | User-agent: GPTBot followed by Disallow: / |
| Keep one folder out of AI search | A group naming OAI-SearchBot, Claude-SearchBot and PerplexityBot, followed by Disallow: /folder-name/ |
Two details trip people up. First, under the robots.txt standard (RFC 9309), a crawler obeys the group that names it and falls back to the "User-agent: *" group only if no group names it. So once you add a group for GPTBot, the rules in your general group no longer cover GPTBot. Copy any rules you still need, such as blocking an admin area, into the new group. Second, changes are not instant. OpenAI and Perplexity both say it can take about 24 hours for their systems to pick up a robots.txt change.
Being Crawlable Is Step One, Not the Finish Line
Allowing the right bots only makes you eligible to be cited. Whether an assistant actually names you depends on the same things that make a page useful in regular search: a clear answer to the question near the top of the page, specific details such as services, locations and prices where you publish them, consistent business information across the web, and structured data that matches what visitors see.
Google's guidance on AI Overviews and AI Mode says the underpinnings of its long-standing advice carry across to these experiences, and that meeting its technical requirements covers you for AI formats too. If you want to limit how Google shows your content there, the same snippet controls apply: nosnippet, data-nosnippet, max-snippet and noindex. That matches what we see when we audit sites for AI visibility: the businesses that get cited tend to be the ones with clear, well-structured pages, not the ones with a special trick.
If you run a local business, our checklist for getting named in ChatGPT and Google AI answers covers the listings, pages and reviews that matter next. For the bigger picture of where AI search is heading and why the organic window matters, read AI Search Is Still Free Real Estate. Wondering about the llms.txt file people mention alongside robots.txt? Our guide to what llms.txt is and whether you need one covers what it does and doesn't do.
How Logical Leap Can Help
Our SEO and AI search team checks how your brand currently shows up in ChatGPT, Perplexity, Gemini and Google, finds anything blocking the bots you want to reach your site, and restructures your key pages so assistants can understand and cite them. If your site itself is the problem, such as content that only appears after JavaScript runs or a slow, hard-to-crawl build, our web design team can rebuild it on a crawl-friendly foundation.
Plans and what is included are on the pricing page. Or book a free strategy call and we will look at your robots.txt and bot settings with you.

This is your sign to level up
Stress-free creative support, delivered fast.