AI bots

Should you block AI crawlers? A decision guide

Decide training, search and assistant access separately, per company.

On this page 7 sections

Block training crawlers if you do not want participating companies collecting public content for model training. Decide search and assistant access separately: blocking those can limit discovery or stop a requested page being retrieved. There is no single rule that expresses all 3 choices for every company.

Start with the purpose

Purpose What allowing it offers What blocking it offers and costs
Training Permission for the documented training collection An opt-out from that collection where honoured; no promise of removing past training data
AI search Access for indexing and finding your public pages Less access for search indexing, with a possible loss of discovery
Assistant Access when a person asks about a page Less access to the page, but potentially a less useful answer for that person

This is a decision framework, not a prediction of traffic. A crawler request is not a visit or a sale.

Make a separate choice for each company

OpenAI documents independent controls for GPTBot, its training crawler, and OAI-SearchBot, its search crawler. You can block training while allowing search. Opting out of OAI-SearchBot excludes a site from ChatGPT search answers, though navigational links can remain. ChatGPT-User handles certain user-initiated actions; robots.txt may not apply to it. See GPTBot, OAI-SearchBot and ChatGPT-User for each bot and a robots.txt per policy.

Anthropic distinguishes ClaudeBot, Claude-SearchBot and Claude-User. It says its bots honour robots.txt. Blocking ClaudeBot signals exclusion of future material from training datasets. Blocking Claude-SearchBot prevents indexing for search optimisation; blocking Claude-User prevents retrieval in response to a user's question. Both can reduce visibility in their respective uses.

Anthropic also added a general training preference. Since 30 October 2026, its help page says, it "has begun recognizing a machine-readable signal" for whether content may be used to train AI models, following an IETF draft that expresses the preference in robots.txt with the token __usage_ai-training. The draft is an individual submission with no formal IETF standing, and Anthropic says it is rolling the signal out over time. A rule that names ClaudeBot still wins: "If your robots.txt file names ClaudeBot, we follow that rule, even if your general setting says something different." Until other companies say they read the token, keep a named rule for each training crawler you want to block.

Perplexity describes PerplexityBot as a search crawler, not a foundation-model training crawler. Perplexity-User fetches pages for user actions and generally ignores robots.txt. Blocking PerplexityBot is therefore a search decision, rather than a training opt-out. Cloudflare reported in August 2025 that Perplexity reached sites that blocked both of its declared bots, and Perplexity disputed the report; Perplexity's crawlers and robots.txt sets out both accounts and what you can check yourself.

Google needs a different decision. Its AI features documentation says Googlebot controls crawling for Search, including AI Overviews and AI Mode. Google points to snippet and indexing controls for limiting what appears in Search, and to Google-Extended for some other AI uses. The kinds of bot are in AI crawlers, assistants and agents.

Swipe sideways to see the whole diagram.

Each company splits the choice differently, so decide per purpose and per company.
The diagram as a list
  1. OpenAI: GPTBot for training, OAI-SearchBot for search, ChatGPT-User for user requests.
  2. Anthropic: ClaudeBot, Claude-SearchBot and Claude-User.
  3. Perplexity: no training crawler. PerplexityBot is for search and Perplexity-User for user requests.
  4. Google: Google-Extended for some AI uses, Googlebot for Search including AI Overviews, and user-triggered fetchers.

Choose a policy that fits your business

SaaS documentation. Allow search and assistant access to public help pages, so accurate product information is within reach of people asking questions. Decide training access separately.

Publisher. If you sell access to original material, restricting training may fit better. Weigh whether discovery from AI search is worth offering public articles, and keep paid or private material behind authentication.

Agency. Record a policy per client, because permission for one site or purpose does not carry to another. Write down the company, bot token, allowed paths, reason and review date.

These are starting points, not evidence that allowing a crawler brings referrals or that blocking it protects every copy of your content.

Put the decision in robots.txt

This blocks the named training crawlers and allows the named search crawlers. Merge it with your existing file, keeping any private-path restrictions. A fuller file is in robots.txt and AI bots.

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

Under RFC 9309, crawlers select the matching user-agent group; matching specific groups do not inherit the wildcard group's rules. Repeat any path restrictions that should apply to these allowed bots. Publish the file at /robots.txt on each relevant host and test the paths you care about.

robots.txt is a request protocol, not access authorisation. Use authentication for private content. A robots.txt change also cannot undo training already completed. A claimed bot name alone is insufficient: see verifying AI crawlers.

Review the result

Keep a dated copy of the policy, and check requests, errors, visits from AI and conversions after changes. If search access is allowed but requests fail at your firewall, a robots.txt allowance will not resolve that separate block. Perplexity's documentation, for example, asks site owners to allow its published IP ranges as well as its crawler token.

How Lundot handles this

Lundot's free crawler check reads your robots.txt and says which AI bots it lets in, per bot, without an account. The AI bots report splits requests by company, purpose and verification method, so you can review activity next to the policy and see whether a bot you blocked still arrives. It needs the site connected through Cloudflare (set it up). Why the verification labels look as they do: Method.

Sources

Put it into practice

  • DocsAI bots

    Verified AI crawler, assistant and agent requests, per page and company.

  • Free toolCheck your site

    Which AI crawlers your robots.txt lets in, and whether your home page has text without JavaScript. Free, no account.

  • GuideWhat robots.txt can and cannot do about AI bots

    robots.txt asks AI bots to stay away. It cannot force them. Tokens, kinds and a file to copy.

See what your robots.txt tells AI crawlers

The AI crawler check is free and needs no account. It reads your robots.txt for each AI crawler, checks whether your home page has text without JavaScript, and looks for llms.txt.