Here’s what most site owners don’t know: AI bots are already visiting their websites. They show up in server logs under names like GPTBot and PerplexityBot, quietly reading pages and deciding which sites deserve citations in AI-generated answers.
Blocking AI crawlers doesn’t protect your content. It removes you from the answers your competitors appear in.
The question this guide answers: how do you configure your robots.txt for AI crawlers so you control training use without cutting off the citations that drive zero-click search visibility? Not an all-or-nothing ban, and not a wide-open door. A deliberate split.
Here’s the pattern: the sites winning AI citations treat training crawlers and answer crawlers as two different species, because they are. One feeds models; the other feeds answers. Your robots.txt should reflect that difference line by line.
Which AI Bots Are Actually Crawling Your Site?
Before you write a single directive, audit. Most site owners have never looked, and they are shocked by what their logs show. Here’s how to find out:
- Pull 30 days of server logs (or check your CDN analytics if you don’t have raw log access).
- Filter by user-agent strings containing “bot”, then look specifically for AI crawler names: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, PerplexityBot, Google-Extended, Bytespider, and Amazonbot.
- Group hits by bot name and count how many pages each one crawled. Frequency matters: a bot hitting you daily has a different priority than one that visited once in March.
Here’s the pattern: almost every site with real traffic is already being hit by at least two AI crawlers, usually GPTBot and Google-Extended. You are not deciding whether AI bots visit you. You are deciding what they are allowed to take.
What this means for you: the audit takes about twenty minutes and it is the foundation of every decision below. Once you know your bot traffic, track AI traffic in GA4 so you can connect crawler activity to the referral traffic AI engines actually send you.
Should You Allow or Block Each AI Bot?
This is the core decision, and it has two parts: training crawlers versus answer crawlers. Get this split right and everything else is details.
- Training crawlers (GPTBot, ClaudeBot): fetch your content to train future AI models. Blocking them keeps your pages out of training datasets. This is a business and editorial decision, not an SEO one, and there is no universally right answer.
- Answer crawlers (OAI-SearchBot, PerplexityBot, Claude-SearchBot): fetch your pages so AI assistants can cite you in live answers. Blocking these directly reduces your citations. If you want to learn how to get cited by ChatGPT, keeping OAI-SearchBot allowed is the non-negotiable first step.
- Google-Extended: the special case. It is a standalone product token that controls whether Google uses your content to train models and power AI features. Blocking it does not affect your normal Google Search rankings, but it may reduce your visibility in AI Overviews and other AI surfaces.
The mistake: writing one blanket Disallow for every AI bot. That single rule costs you the training protection you may genuinely want and the citations you definitely want, in one careless stroke. Training control over answer visibility: choose, don’t bundle.
What this means for you: allow the answer engines, decide deliberately on the trainers, and handle Google-Extended as its own case based on how much you value AI Overview visibility.
How Do Training Crawlers Differ From Answer Crawlers?
The difference is purpose, and purpose determines what blocking costs you. Here is the map:
| Bot | Operator | Purpose | What blocking costs you |
|---|---|---|---|
| GPTBot | OpenAI | Collecting model training data | Opts your content out of future model training |
| OAI-SearchBot | OpenAI | Fetching pages for ChatGPT’s live answers | Removes you from ChatGPT’s cited sources |
| ClaudeBot | Anthropic | Collecting model training data | Opts your content out of future model training |
| Claude-SearchBot | Anthropic | Fetching pages for Claude’s answers | Removes you from Claude’s cited sources |
| PerplexityBot | Perplexity | Retrieving pages to answer queries | Removes you from Perplexity’s cited sources |
| Google-Extended | AI features and model improvement | May reduce AI Overview visibility |
Notice the symmetry: OpenAI and Anthropic each run one training crawler and one answer crawler. Blocking GPTBot while allowing OAI-SearchBot is not contradictory; it is exactly the configuration OpenAI’s own documentation anticipates.
Here’s a robots.txt block that implements the split (adjust to your own policy):
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
Five rules, one clear policy: no training use, full answer visibility. If you decide you are comfortable with training too, flip the first two to Allow and you are done.
The mistake: assuming one operator means one policy. OpenAI’s training bot and OpenAI’s answer bot obey separate directives, and treating them as one costs you precision you already have for free.
What this means for you: write per-bot rules, name each bot explicitly, and leave a comment in the file explaining the policy so future-you (or your developer) understands the intent.
How Often Should You Review Your Robots.txt?
Set it and forget it is how sites end up blocking bots they want and missing bots they don’t. New AI crawlers emerge every few months, each with its own user agent and its own directive to honor or ignore.
- Validate your directives weekly. A weekly check of bot user agents in your logs takes minutes and catches new crawlers before they spend a month operating under rules you never meant for them.
- Use Cloudflare’s managed robots.txt for automation. If your site runs behind Cloudflare, its managed robots.txt rules let you block or allow AI bot categories at the edge with no deploy required, and the bot list updates as new crawlers appear.
- Never rely on robots.txt as a security control. This is the critical caveat. Robots.txt is a voluntary honor system: legitimate crawlers respect it, scrapers and bad actors ignore it completely. Never use it to hide sensitive pages. Authentication, server-level blocks, and proper access controls protect content; robots.txt only requests politely.
The mistake: treating robots.txt as a firewall. It is a signpost, not a lock. Anything you truly need hidden from the internet needs real access control, because a Disallow line stops exactly zero malicious actors.
What this means for you: fold AI crawler review into your existing technical SEO checklist. One line item, checked weekly, keeps your bot policy intentional instead of accidental.
Some Common Questions About Robots.txt and AI Crawlers
Should I block GPTBot? It depends on your goals. Blocking GPTBot keeps your content out of OpenAI’s model training, which some publishers prefer. But GPTBot does not control citations: ChatGPT answers use OAI-SearchBot and search indexes instead. Block GPTBot if you oppose training use, but do it with a targeted rule, not a blanket block on every AI bot.
What’s the difference between GPTBot and OAI-SearchBot? GPTBot crawls the web to collect training data for OpenAI’s AI models. OAI-SearchBot crawls pages so ChatGPT can search the live web and cite sources in its answers. Blocking GPTBot opts you out of training; blocking OAI-SearchBot removes you from ChatGPT’s cited sources. Most citation-focused sites allow OAI-SearchBot even when they block GPTBot.
Does blocking AI crawlers stop ChatGPT from citing me? Not necessarily. Blocking GPTBot only affects training data collection. ChatGPT can still cite you through OAI-SearchBot, which powers its live search, or through pages indexed by Bing and Google. To stop citations specifically, you would need to block the answer crawlers and search indexing, which usually costs more visibility than it saves.
How do I verify a bot is actually GPTBot? Check the visitor’s IP address with a reverse DNS lookup and confirm it resolves to OpenAI’s published crawler domain, then verify the forward lookup matches. OpenAI publishes verification steps and IP ranges in its developer documentation. This matters because scrapers often fake the GPTBot user agent, and blocking by user agent alone can punish legitimate traffic.
Keep Your Citations Open and Your Policy Intentional
Your robots.txt is a small file with outsized consequences in the AI search era. Audit your bot traffic, split training crawlers from answer crawlers, keep the answer engines allowed, and review the file weekly as new bots appear.
Want help auditing which bots hit your site and what your file should say? Reach out and let’s talk it through. Twenty minutes of review now protects months of citation visibility.






