Crawlers and logs

robots.txt and AI: blocking GPTBot does not block ChatGPT

Abstract illustration on a navy background: three stacked horizontal bands, teal, red-orange and teal, cross the image, each cut into three sections with the middle one slightly offset.

In 2023, when OpenAI published the name of its training robot, thousands of sites added two lines to their robots.txt: User-agent: GPTBot then Disallow: /. Many have believed ever since that ChatGPT can no longer read their pages. That belief is wrong, and the confusion comes from something the AI operators document plainly: they do not send one robot but several, each with its own role and its own token. Blocking one does not block the others. And for a read that a user requests in a conversation, even the line that names the right robot is not always enough.

Several robots, several roles, at every operator

At OpenAI, according to its bots documentation:

  • GPTBot collects pages that may be used to train the models. It is the only one whose blocking protects against use in training.
  • OAI-SearchBot feeds the index behind ChatGPT's built-in search. Blocking it removes your pages from ChatGPT search answers, and from the citations that follow, even though they can still appear there as navigational links.
  • ChatGPT-User fetches a specific page when a user asks for it in a conversation, by pasting a URL or asking a question that triggers a read. It does not crawl the web on its own. OpenAI states: "Because these actions are initiated by a user, robots.txt rules may not apply."

Anthropic draws the same separation, described in its help page on robots: ClaudeBot for training, Claude-SearchBot for the search index, Claude-User for user-requested fetches. Anthropic lists separately Claude-Agent, the browser a Claude agent drives on a user's behalf, which is managed separately from these three robots. Since October 30, 2026, Anthropic has also begun recognizing a preference signal against training, based on the work of the IETF aipref working group, with a robots.txt rule that names ClaudeBot taking priority. Perplexity likewise separates PerplexityBot (index) from Perplexity-User (on-demand fetch) in its crawler documentation.

Google and Apple: a control token separate from the robot

Google works differently. Googlebot remains the single robot that crawls pages for search, and those same pages feed AI Overviews. Control over use by Gemini goes through a separate token, Google-Extended, which is not a robot but a directive Googlebot reads, as the list of Google's common crawlers explains. Google states that this token changes nothing about page indexing. It covers two uses: training Gemini models, and grounding the answers of Gemini Apps and Vertex AI, meaning the pages from the search index supplied to the model at the time of the question. Apple does the same with Applebot-Extended, a token documented in its Applebot support article. The token controls training use without touching Applebot itself.

To that list add CCBot, the robot of Common Crawl, whose open archives have been raw material for many models. Blocking CCBot is the broadest lever against training by operators who run no robot of their own.

Abstract illustration on a teal background: three stacked parallelogram bands slanting to the right, teal at the top, navy in the middle, red-orange at the bottom, each doubled by a lighter offset edge on its left.

The token table, and what each block implies

robots.txt tokenOperatorRoleIf you block it
GPTBotOpenAITrainingNo use in training, citation still possible
OAI-SearchBotOpenAIChatGPT search indexYour pages vanish from ChatGPT search answers and citations, except as navigational links
ChatGPT-UserOpenAIReading on a user's requestEffect not guaranteed: OpenAI says robots.txt may not apply to reads requested by a user
ClaudeBot / Claude-SearchBot / Claude-UserAnthropicThe same three rolesRemoved from Claude's training, search and on-demand reading: Anthropic states that its three robots honor robots.txt
PerplexityBot / Perplexity-UserPerplexityIndex / on-demand readGone from Perplexity search results / effect not guaranteed: Perplexity says Perplexity-User generally ignores robots.txt
Google-ExtendedGoogleControl token for use by Gemini: model training and answer groundingNo effect on search or on AI Overviews, but removed from Gemini answer grounding
Applebot-ExtendedAppleTraining control tokenNo effect on Applebot (Siri, Spotlight)
CCBotCommon CrawlOpen archiveRemoved from future archives, not from past ones

What robots.txt can and cannot do

The protocol is now standardized by RFC 9309. Three of its rules explain most of the surprises:

  1. The file is only read at the host root. It is the host and not the domain: a robots.txt served on example.com does not govern blog.example.com, which is a separate host. A robots.txt placed in a subdirectory, under a /blog/ path hosted elsewhere for instance, is never consulted. Its directives, sitemap declarations included, are invisible to every robot. On a media property mounted on a subpath of a main site, the main site's robots.txt is what counts.
  2. The most specific group wins, and it replaces the generic group. A User-agent: GPTBot group containing only Disallow: /private/ does not inherit the rules of the User-agent: * group. If the generic group barred facets or files, GPTBot has access to them again. It is a common mistake when groups pile up robot by robot over the months.
  3. The file is an instruction, not a barrier. It governs the robots that crawl on their own: GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, and Google-Extended for use by Gemini. It does not reliably govern agents triggered by a user: for ChatGPT-User, OpenAI writes that "robots.txt rules may not apply," and for Perplexity-User, Perplexity writes that it "generally ignores robots.txt rules." Anthropic is the only one of the three to state that its three robots, Claude-User included, honor robots.txt. At Google, user-triggered fetchers also ignore these rules. An operator who does not declare its name escapes any named rule. Refusing on-demand reads means blocking at the firewall, on the address ranges each operator publishes, with the side effects described in the article on the blind spot of edge blocking.
Abstract illustration on a cream background: horizontal navy bands of varying thickness, punctuated by three thin yellow lines, form three groups, the middle one split in two by a central gap.

Which policy to choose

The decision is editorial before it is technical. Three positions hold up:

  • Open everything. The site accepts training and citation. It is the default position for a media property chasing visibility, inside the models included.
  • Refuse training, accept citation. The site blocks GPTBot, ClaudeBot, CCBot and Meta-ExternalAgent, which Meta's documentation links in particular to training AI models. It disallows Google-Extended and Applebot-Extended, and lets OAI-SearchBot, Claude-SearchBot, PerplexityBot, Meta-WebIndexer, which is used to cite pages in Meta AI answers, and the "User" robots through. Disallowing Google-Extended has a cost: the site also drops out of Gemini answer grounding. It is the position of a publisher who wants to be cited without feeding the models for free. The list needs regular review, since other operators run their own robots.
  • Close everything. The site gives up visibility inside AI answers. Defensible for an intranet or paid content, not for a media property that wants to carry weight on a search results page or in a generated answer. Since robots.txt does not reliably stop on-demand reads, this choice also goes through the firewall.

The second position calls for a precise list: barring anything containing "GPT" or "Claude" in one stroke also shuts out Claude-SearchBot and Claude-User, and so Claude's search and on-demand reading. The result is a site absent from Claude's answers, without anyone on the team having decided it.

Check rather than assume

The check takes two moves. First reread the robots.txt as served at the root, token by token, with the table above in front of you. Then open the server logs to see which robots actually come, how often, and which ones get a 403 or a 404. An AI robot that never appears in the logs is not necessarily absent: it may have been stopped upstream by a firewall, before reaching the server. That check is set out step by step in "Reading an access log in 30 minutes".

For the Google side, Search Console provides a robots.txt report showing the last version Googlebot read, its fetch date and any parsing errors. The robots.txt report help page describes how to use it. For the other operators there is no equivalent: the logs are what count. A manual test with each robot's user-agent shows what the server answers to that name, but not necessarily what the real robot receives when the firewall also filters on IP address.

A media property that wants to be cited cannot rely on a file written two years ago. Tokens change, robots multiply, and a line added as a precaution one day in 2023 can cost every trace of presence in AI answers in 2026.

Abstract illustration on a red-orange background: seven horizontal navy lines, each cut at different points by one or two short cream segments or by small gaps.
  • : On-demand reads and robots.txt corrected, Gemini token clarified, Meta and Anthropic robots added.
Yann Léguillon

Written by

Yann Léguillon

President of Mazette, the company behind Joornal. He works with companies that are building their own media: editorial structure, visibility in search engines and in AI answers, production at scale.