StrategyShare

How to block AI training in robots.txt without disappearing from ChatGPT search

A best practices guide splits AI crawlers into training bots, search bots and user-triggered fetchers, and shows that each AI company plays by different rules.

By MOBAEO Newsroom··3 min read

Follow
Stunning aerial view of Apple Park in Cupertino at sunrise, showcasing its futuristic architecture.
Photo: Zetong Li/Pexels

Robots.txt, the plain text file at the root of a site that tells crawlers what they may crawl, now does a second job: it lets a brand decide what AI companies can do with its content. A best practices guide published on November 18 shows that you can block the crawlers that collect pages to train models while still allowing the ones that surface your site in ChatGPT search and other AI assistants.

According to the guide from Search Engine Journal, the key is to write separate rules for three kinds of AI crawler: training bots, search bots and bots that visit a page at a user's request. Block the wrong one and your content can drop out of large language model answers or out of search results.

The OpenAI, Anthropic and Perplexity crawlers

OpenAI uses OAI-SearchBot to show sites in ChatGPT search answers, while ChatGPT-User handles visits a user asks for. Because search and training permissions are separate, you can allow those two and block GPTBot, the company's training crawler.

Most of the major AI crawlers respect robots.txt, including GPTBot and Anthropic's ClaudeBot. User-triggered visits follow a different logic: OpenAI says robots.txt may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores it. Anthropic says its crawlers, including Claude-User, respect the file. That is why private content needs authentication: robots.txt only signals which URLs may be crawled.

Google and Apple have their own tokens

Google-Extended covers Gemini training and certain grounding uses, where the source content helps generate an answer. Blocking it does not block Googlebot or affect a site's regular presence in Google Search. Applebot-Extended controls the training of foundation models without stopping Applebot from crawling for search.

Blocking training has its limits. It does not guarantee your content stays out of training data, because crawlers that ignore robots.txt keep collecting. And allowing access does not force AI tools to visit or cite your site either, since they can find the information somewhere else.

The traditional SEO side

For regular search, the guide recommends restricting crawling of pages that have no value for search engines, such as internal search results, filter combinations that create duplicate content and action URLs, like add to cart or add to wishlist. Google's Gary Illyes has warned several times that these action URLs can send Googlebot into endless crawling, including URLs that do not exist. Blocking a page in robots.txt also does not remove it from the index: for that, the answer is noindex, with the page left crawlable so Google can read the directive.

For brand teams, the decision about AI crawlers depends on the business. Publishers may block training to limit the use of their reporting without attribution, while ecommerce brands may prefer to allow it if product mentions lead people to search and buy. Blocking search and retrieval crawlers is a separate decision, because those are the bots that help AI tools find and cite your pages. The guide suggests setting these rules together with the teams involved.

Key questions

Can I block OpenAI training without dropping out of ChatGPT search?

Yes. OpenAI uses OAI-SearchBot for ChatGPT search and GPTBot for training, and robots.txt can allow the first and block the second.

Does blocking Google-Extended remove my site from Google Search?

No. It covers Gemini training and certain grounding uses, without blocking Googlebot or affecting your regular presence in Google Search.

Does robots.txt protect private content?

No. It only signals what may be crawled, and some bots acting at a user's request may ignore it, so private content needs authentication.

Source: Search Engine Journal.