Discovery

robots.txt and AI crawlers

The AI crawlers that matter in 2026, what robots.txt controls, and how not to accidentally lock yourself out of AI answers.

AI companies crawl the web with named bots. Your robots.txt file is where you tell them what they can touch — and unlike llms.txt, every major crawler actually respects it.

Three different jobs

Separate what these bots do. Some index for AI search, building the indexes behind ChatGPT, Claude, Gemini, and Perplexity answers. Some fetch on demand, pulling a page in real time when a user asks an assistant about it. And some crawl for training, collecting content for future models. You may want different rules for each. Most businesses allow search and on-demand access — that’s how customers find you in AI answers — and decide deliberately about training.

The bots to know in 2026

Names change, so confirm against each vendor’s current docs, but as of 2026:

The mistakes to avoid

In a rush to “block AI,” some businesses disallow everything and erase themselves from the AI results customers now use. Two specific traps: there’s no separate user agent for Google’s AI Overviews, so blocking Googlebot to avoid them also removes you from regular Google Search; and opting out of the search indexers (OAI-SearchBot, Claude-SearchBot) drops you from those AI search surfaces. For a local business trying to be found, allow the search and on-demand crawlers, and be selective about training only.

A reasonable starting point

# Allow AI search + on-demand (how customers find you)
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

# Decide deliberately about training
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
Disallow:            # leave open, or use Disallow: / to opt out

User-agent: *
Allow: /

Pair this with an llms.txt summary if you add one. Scan your site to check your robots rules.

See where your site stands

Scan your site free and get your agent-readiness score across all five categories.

Scan your site