# What is AI crawler?

> An AI crawler is a bot run by an AI company that fetches web pages to train models, build an AI search index or answer a user’s request in real time.

URL: https://yes-seo.com/glossary/ai-crawler

An **AI crawler** is an automated client operated by an AI company that downloads web pages. Like a classic search [web crawler](https://yes-seo.com/glossary/crawler), it identifies itself with a user-agent string and is supposed to honor robots.txt. What sets it apart is what happens to your content afterward — and that depends on which of three jobs the bot does.

## Three purposes, three decisions

| Purpose | What it does | Examples |
| --- | --- | --- |
| Training | Collects content that may be used to train future models | GPTBot, ClaudeBot, CCBot, Meta-ExternalAgent, Bytespider; opt-out tokens Google-Extended and Applebot-Extended |
| Search indexing | Builds the index an AI search product cites from | OAI-SearchBot (ChatGPT search), Claude-SearchBot, PerplexityBot, DuckAssistBot |
| User fetch | Retrieves a page live because a person asked the assistant about it | ChatGPT-User, Claude-User, Perplexity-User |

The split matters because blocking a training bot doesn’t remove you from AI search, and blocking a search bot can make you invisible in that product’s answers. Each vendor documents its bots: [OpenAI](https://platform.openai.com/docs/bots), [Anthropic](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler) and [Perplexity](https://docs.perplexity.ai/guides/bots). Note that user-triggered fetchers behave more like a browser acting for a person; Perplexity says `Perplexity-User` generally ignores robots.txt for that reason.

## A common policy in robots.txt

Many publishers allow AI search and user fetches (for visibility and referrals) while opting out of training:

```
# Allow AI search and live fetches
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
Allow: /

# Opt out of model training
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: CCBot
Disallow: /
```

Whether to allow training is a business decision with no universal right answer; the point is to make it deliberately, per purpose. See [GPTBot](https://yes-seo.com/glossary/gptbot) and [google-Extended](https://yes-seo.com/glossary/google-extended) for the two most-asked cases.

## Common mistakes

- **Blocking “all AI” with one rule** and then wondering why ChatGPT or Perplexity never cite the site.

- **Forgetting the firewall.** CDN bot protection and “block AI bots” toggles can return 403 to AI crawlers even when robots.txt allows them. robots.txt is a request; the firewall is the real gate.

- **Trusting the user-agent alone.** Anyone can fake a user-agent. If you allowlist bots at the firewall, verify them with the IP ranges the vendors publish.

- **Relying on JavaScript.** Many AI crawlers fetch raw HTML and don’t run scripts, so client-rendered content may be invisible to them.

## How to check

The [AI Crawler Checker](https://yes-seo.com/ai-crawler-checker) tests your [robots.txt](https://yes-seo.com/glossary/robots-txt) against more than 25 AI bots, grouped by purpose (search, user fetch, training), and runs a live firewall test that requests your page with real AI user-agents to catch 403 blocks robots.txt can’t reveal. For step-by-step rules, see [How to Block AI Crawlers With robots.txt (2026 List and Recipes)](https://yes-seo.com/blog/block-ai-crawlers-robots-txt).

## Frequently asked questions

### Does blocking AI crawlers hurt my Google rankings?

Blocking AI-specific bots such as GPTBot, ClaudeBot or the Google-Extended token does not affect Google Search rankings. Blocking Googlebot itself would, so never block Googlebot to stop AI training.

### Which AI crawlers should I allow?

If you want to appear in AI answers, allow the search and user-fetch bots: OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User and PerplexityBot. Allowing training bots is a separate, optional choice.

### Do AI crawlers respect robots.txt?

The major vendors say their crawlers follow robots.txt, though user-triggered fetchers such as Perplexity-User may not. Enforcement ultimately depends on your firewall, which is why a live access test is useful.

