SearchSignal

robots.txt for AI Crawlers

Your robots.txt file tells crawlers what they may fetch. Several AI companies run more than one crawler, each with a different job, so a single "block all bots" rule can quietly remove you from AI search. This guide explains the main ones and shows sample rules.

Where the file lives

robots.txt must sit at the root of your domain: https://yourdomain.com/robots.txt. It is a request that well-behaved crawlers follow. It is not a security tool, since it does not stop anyone who ignores it. The standard is described in RFC 9309 (RFC 9309).

The main AI-related user agents

The table lists agents as documented by their vendors at the time of writing. Vendors change these, so confirm on the linked pages before you rely on them.

User agentOperatorPurpose as documented
GPTBotOpenAICollects content that may be used to train models. Docs
OAI-SearchBotOpenAISurfaces sites in ChatGPT search results. Same docs
ChatGPT-UserOpenAIFetches pages when a user's request calls for it. Same docs
ClaudeBotAnthropicTraining data collection. Help Center
Claude-SearchBotAnthropicSearch result quality. Same source
Claude-UserAnthropicUser-directed fetches. Same source
PerplexityBotPerplexitySurfaces and links sites in Perplexity results. Docs
Perplexity-UserPerplexityUser-initiated fetches. Same docs
Google-ExtendedGoogleA token that controls use of crawled content for Gemini training and grounding; does not affect Search. Docs
GooglebotGoogleCrawls for Google Search, including AI features in Search
BingbotMicrosoftCrawls for Bing
Applebot-ExtendedAppleA token controlling use of Applebot-crawled content for Apple AI training
CCBotCommon CrawlBuilds an open web archive that many AI projects use

The most common mistake

Many sites paste in a list that blocks every AI-related name. That blocks the search crawlers (OAI-SearchBot, PerplexityBot, Claude-SearchBot) along with the training ones. The business then asks why it never appears in AI answers. Search crawlers and training crawlers are separate on purpose. Decide about each group separately.

Sample 1: allow everything

User-agent: *
Allow: /

Sitemap: https://yourdomain.com/sitemap.xml

This is the simplest setup and the right one if you want maximum visibility and do not mind training use.

Sample 2: allow AI search, block training

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: Applebot-Extended
Disallow: /

User-agent: *
Allow: /

Sitemap: https://yourdomain.com/sitemap.xml

This asks training-related crawlers to stay out while leaving search crawlers like OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot, and Bingbot under the general allow. Note that Google-Extended also covers grounding in Gemini apps and the Gemini API per Google's documentation, so you are choosing to limit that use too. Whether any given vendor honors a rule exactly as described is up to the vendor; check their documents.

Sample 3: block a private area

User-agent: *
Disallow: /admin/
Disallow: /cart/
Disallow: /account/
Allow: /

How rules are matched

Other things that block bots

robots.txt is not the only gate. Check for:

How to test your file

  1. Open your robots.txt in a browser and read it top to bottom.
  2. Search it for each name in the table. Note any group that disallows /.
  3. Check for a final User-agent: * group with Disallow: /, which blocks everyone not named earlier.
  4. Test a few URLs in Google Search Console's robots.txt report for Googlebot. For other agents, read the rules by hand.

SearchSignal's paid report checks your robots.txt against these agents and flags any that are blocked, as part of an on-site audit. A free standalone checker is planned.

Keep it current

Review the file a few times a year. Agent names and purposes change, and some hosting platforms and plugins edit robots.txt without telling you. See also how to get mentioned in ChatGPT.

Common questions

Does robots.txt remove me from AI answers that already exist?

No. It controls future fetching. Content already collected or indexed may remain according to each operator's own policies.

Do all AI companies obey robots.txt?

Reputable operators say they do, with some exceptions for user-initiated fetches. It is a convention, not a lock. For sensitive pages use authentication.

Should I list every crawler by name?

Only the ones you want to treat differently from the default. Fewer rules are easier to keep correct.

What about a crawler not on this list?

New agents appear often. Check each vendor's documentation, and review your server logs for unfamiliar user agents.

Published 2026-10-30. We cite vendor documentation where we state facts about it; vendors change products often, so check the linked pages for current details. This guide describes what you can influence and does not promise any result.