Skip to content
← All posts

· Guides

Block AI training, stay in AI answers: a robots.txt guide for GPTBot, ClaudeBot and friends

OpenAI, Anthropic and Google each run separate bots for training, search and live answers. Which ones to allow, which to block, a robots.txt you can copy, and how to check that the bots actually listen.

By FlarePanel team

Questions

How do I block AI training crawlers but stay in ChatGPT and Claude answers?
Block the training bots (GPTBot, ClaudeBot, Google-Extended, CCBot) in robots.txt and allow the search and user bots (OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User). Each company uses a separate user agent for each purpose, so you can treat them differently.
Does blocking Google-Extended remove my site from AI Overviews?
No. Google-Extended controls whether content is used for Gemini training and grounding outside Search. AI Overviews and AI Mode are part of Google Search, which is controlled by Googlebot rules and snippet settings such as nosnippet.
Do AI crawlers respect robots.txt?
The large operators say their crawlers do, but robots.txt is voluntary. OpenAI says robots.txt rules may not apply to ChatGPT-User, because a person asked for the page. To be sure, check your server or Cloudflare logs for the bots you blocked, or enforce the block with Cloudflare AI Crawl Control.