What is robots.txt, and how does it affect AI search?
robots.txt is a plain-text file at the root of your site (/robots.txt) that tells crawlers which parts they may read. Each group starts with User-agent: lines naming crawlers, followed by Allow: and Disallow: rules. The format is standardized in RFC 9309.
How do AI crawlers use robots.txt?
- Crawlers that build search results for AI answers (
OAI-SearchBot,Claude-SearchBot,PerplexityBot, Googlebot, Bingbot) follow it. Blocking one hides you from that assistant's answers. - Training crawlers (
GPTBot,ClaudeBot) follow it too. Blocking them opts you out of training but doesn't hide you from AI search. - User-initiated fetchers (
ChatGPT-User,Perplexity-User) are often documented as not following it, because a person asked for the page. - Some crawlers borrow other rules. Brave's crawler, which powers Claude's web search, follows your Googlebot rules. Applebot falls back to them when it isn't named.
The common mistake
Copying a "block all AI bots" list into robots.txt. Most of those lists mix search crawlers with training crawlers, so sites opt out of training and disappear from ChatGPT and Perplexity answers at the same time. Decide per crawler: our AI crawler directory says what each one does.
Sources
- IETF, RFC 9309: Robots Exclusion Protocol
- OpenAI, Overview of OpenAI crawlers
- Brave, Brave Search crawler