---
title: "AI crawlers and robots.txt: let the search bots in"
slug: ai-crawlers-and-robots-txt
cluster: ai-search
type: spoke
description: "Which AI crawlers decide whether your business can appear in ChatGPT, Claude and Perplexity answers, and how to allow search while blocking training in robots.txt."
answer: "To appear in AI assistants' answers, allow their search crawlers in robots.txt: OAI-SearchBot for ChatGPT, Claude-SearchBot for Claude, PerplexityBot for Perplexity, and Googlebot for Google's AI features. Training crawlers such as GPTBot and ClaudeBot are separate, so you can block training while allowing search. Also check that your firewall or CDN isn't blocking them."
published: 2026-11-05
updated: 2026-11-05
author: "About This Business editorial team"
takeaways:
  - "Search crawlers and training crawlers are separate, and each has its own robots.txt name."
  - "Blocking a search crawler can remove you from that assistant's answers."
  - "A broad \"block all bots\" rule, firewall or CDN setting can block AI search crawlers without you noticing."
  - "Robots.txt is a request. Check your server logs to see who actually visits."
imagePrompt: "A heavy wooden gate in an old stone wall standing half open onto a sunlit garden path, an iron latch and a small blank wooden sign hanging beside it, soft morning light, welcoming but orderly mood"
imageAlt: "A half-open wooden gate in a stone wall leading onto a sunlit path"
faq:
  - q: "If I block GPTBot, will I disappear from ChatGPT search?"
    a: "No. GPTBot is OpenAI's training crawler. ChatGPT search visibility is controlled by OAI-SearchBot, which you can allow separately."
  - q: "Does blocking ClaudeBot block Claude's search?"
    a: "No. ClaudeBot is for training. Claude-SearchBot and Claude-User handle search and user requests, and each needs its own rule."
  - q: "Does robots.txt stop every AI fetch?"
    a: "Not always. Perplexity documents that Perplexity-User, which fetches pages a user asked for, generally ignores robots.txt because the request is user-initiated."
  - q: "My robots.txt has a catch-all \"User-agent: *\" rule. Is that enough?"
    a: "If it allows crawling, the AI search crawlers are allowed too. If it blocks crawling, it blocks them as well. Named rules make your intent unambiguous."
sources:
  - title: "OpenAI — Overview of OpenAI crawlers"
    url: "https://platform.openai.com/docs/bots"
  - title: "Anthropic — Does Anthropic crawl data from the web?"
    url: "https://support.claude.com/en/articles/8896518"
  - title: "Perplexity — Perplexity crawlers"
    url: "https://docs.perplexity.ai/docs/resources/perplexity-crawlers"
  - title: "Google Search Central — AI features and your website"
    url: "https://developers.google.com/search/docs/appearance/ai-features"
---

## Why do AI crawlers matter for your business?

**Because an assistant can only use your pages if its crawler is allowed to read them.** If its search crawler is blocked, the assistant falls back on whatever *other* sites say about you, which may be older or wrong. This is part of [How AI assistants decide what to say about your business](/knowledge/ai-search).

## Which AI crawlers should you know?

**Each assistant separates search, training and user-requested fetches into different named crawlers.**

| Crawler | Operator | Job | If you block it |
|---|---|---|---|
| **OAI-SearchBot** | OpenAI | Surfaces sites in ChatGPT search | You won't be shown in ChatGPT search answers |
| GPTBot | OpenAI | Training data | Excluded from training; search unaffected |
| ChatGPT-User | OpenAI | Fetches pages for user requests | ChatGPT can't open your pages on request |
| **Claude-SearchBot** | Anthropic | Indexes for Claude's search | May reduce visibility in Claude's search results |
| ClaudeBot | Anthropic | Training data | Future content excluded from training |
| Claude-User | Anthropic | Fetches pages for user questions | Claude can't retrieve your pages for users |
| **PerplexityBot** | Perplexity | Surfaces and links sites in Perplexity | Reduced visibility in Perplexity |
| Perplexity-User | Perplexity | Fetches pages users ask about | Generally ignores robots.txt |
| **Googlebot** | Google | Google Search, including AI Overviews and AI Mode | Removed from Search and its AI features |
| Google-Extended | Google | Controls use in other Google AI systems | Doesn't affect Google Search |

## How do you allow search but block training?

**Name each crawler in robots.txt.** This example allows the search crawlers and user fetches, and blocks the training crawlers:

```
User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /
```

Whether to block training is your choice. Blocking it doesn't affect search visibility. Keep your existing rules for private areas such as account and admin pages, and include your sitemap: `Sitemap: https://yourdomain/sitemap.xml`.

## What else can block AI crawlers?

**Firewalls, CDNs, security plugins and "block AI bots" presets.** These can refuse a crawler even when robots.txt allows it. Check your hosting or CDN bot settings, and look in your server logs for visits from the crawler names above.

## How do you check it's working?

**Read your robots.txt, check your bot settings, then look for real visits.**

1. Open `yourdomain/robots.txt` and check every rule that names, or catches, the crawlers above.
2. Check your CDN or firewall bot settings.
3. Search your server logs for `OAI-SearchBot`, `Claude-SearchBot` and `PerplexityBot`.
4. Make sure key pages render their main content as HTML text. See [Structured data for AI search](/knowledge/ai-search/structured-data-for-ai-search).

Once crawlers can reach you, the next question is what they find. See [How ChatGPT, Claude, Perplexity and Google AI find their sources](/knowledge/ai-search/how-ai-search-finds-sources).

---

Part of **[How AI assistants decide what to say about your business](/knowledge/ai-search)**.
