How-to

Block Training, Allow Search, Here Is How

Robin Künnecke

Published:

November 2, 2026

•

Reading time

5

min.

In short

You can allow search and block training because providers use separate crawlers for each. Here is how to set the rules in robots.txt correctly.

Key takeaways

  • OpenAI, Anthropic and Google offer separate controls for training and search.
  • Each crawler needs its own group in robots.txt, a block does not affect others.
  • According to the provider, user agents such as Perplexity-User partly treat robots.txt differently.
  • Check the effect in the server logs, not only in the file.

Many companies want to appear in AI answers but do not want their content used to train models. This how-to shows how to implement that with robots.txt and what the limits are.

Why is this possible at all?

Because providers use different crawlers for training and search. OpenAI writes that a website owner can allow OAI-SearchBot and block GPTBot, so as not to be used for training and still appear in search results (OpenAI documentation). Anthropic separates ClaudeBot from Claude-SearchBot and Claude-User (Anthropic).

How to set the rules

  1. Open your robots.txt in the root of the domain.
  2. Create a separate group for each training crawler: User-agent: GPTBot with Disallow: /, likewise for ClaudeBot.
  3. Create separate groups with Allow: / for search crawlers, such as OAI-SearchBot, Claude-SearchBot and PerplexityBot.
  4. Allow the user agents ChatGPT-User and Claude-User if users should be able to fetch your pages in chat.
  5. For Google, decide separately via Google-Extended. According to Google, it controls use for Gemini and does not affect Google Search.
  6. Save the file and check it in the browser at your-domain.com/robots.txt.

What do you need to watch out for?

  • Each group applies only to the named crawler. A block for ClaudeBot does not block Claude-SearchBot.
  • If a crawler has its own group, the rules under User-agent: * no longer apply to it.
  • Perplexity describes that Perplexity-User generally does not apply robots.txt because the request is triggered by a user (Perplexity).
  • The robots.txt is a request, not access protection. Anyone who really wants to protect content needs technical measures.
  • Changes do not take effect immediately. OpenAI names about 24 hours for search.

What about the new shared signal?

At the end of October 2026, several providers announced that they would respect a shared training signal in robots.txt, the token __usage_ai-training. It is at the draft stage, and implementation at the providers is partly still pending. Until then, per-crawler rules remain the reliable way. We explain the details in a separate post on the new signal.

How do you check the effect?

Look at the server logs: Do the search crawlers still come, and do the blocked training crawlers stay away? Also check whether a firewall or CDN blocks crawlers you actually want to allow. Typical mistakes are described in 5 robots.txt Mistakes for AI Crawlers.

How does Reach OS help?

Reach OS implements the crawler permissions you define at the edge, without you changing files on your server. The crawler log shows which crawlers actually come afterwards.

Frequently asked questions

Do I lose visibility if I block training?

The providers describe training and search as separate. Whether a training block has a long-term effect on answers without web search is not proven.

Does a block work retroactively?

No. Anthropic, for example, describes blocking ClaudeBot as a signal for future content.

How do I block Gemini training without dropping out of Google?

Via the Google-Extended token. According to Google, it does not affect Google Search.

Related posts

Keep reading. More on this topic.

No items found.