SearchMaxx > Blog > Guides

Which AI crawlers to allow in robots.txt, and which only collect training data

If ChatGPT, Claude or Perplexity cannot fetch your pages, they cannot cite them. The most common reason we see is a robots.txt rule someone added to block "AI" without knowing which bot does what.

Each company runs separate bots for separate jobs. Blocking the training bot keeps your content out of future models. Blocking the search bot keeps you out of AI search answers today. Most software companies want the first choice to be theirs and the second to be "allow".

The bots that matter

Company Bot What it does What blocking it does
OpenAI OAI-SearchBot Finds sites to show in ChatGPT search Your pages stop appearing in ChatGPT search answers
OpenAI GPTBot Collects content that may train OpenAI's models Signals that your content should not be used for training
OpenAI ChatGPT-User Visits a page when a ChatGPT user asks about it robots.txt "may not apply", because a user started the visit
Anthropic Claude-SearchBot Indexes pages to improve Claude's search results Can reduce your visibility in Claude's search answers
Anthropic ClaudeBot Collects content that may train Anthropic's models Excludes your future content from training
Anthropic Claude-User Fetches a page when a Claude user's question needs it Stops those fetches, which can reduce your visibility
Perplexity PerplexityBot Finds and links sites in Perplexity's answers Your pages stop appearing in Perplexity results
Perplexity Perplexity-User Visits a page a user asked about Generally ignores robots.txt, because a user asked
Google Googlebot Crawls for Google Search, including AI Overviews Removes you from Google Search entirely
Google Google-Extended Not a bot. A robots.txt token for Gemini training and grounding Does not affect Google Search or ranking

Sources: OpenAI's crawler docs, Anthropic's crawler policy, Perplexity's crawler docs, and Google's list of crawlers.

Two details catch people out:

  • Google AI Overviews come from Googlebot. Google says Google-Extended "does not impact a site's inclusion in Google Search nor is it used as a ranking signal in Google Search." Blocking Google-Extended does not take you out of AI Overviews. Blocking Googlebot takes you out of everything.
  • Blocking a training bot does not touch the search bot. You can block GPTBot and still allow OAI-SearchBot. They are separate rules.

A robots.txt you can copy

This version lets every AI search bot in and opts out of model training. If you are happy to be used for training too, delete the last three groups.

# AI search: allowed, so assistants can find and cite you
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

# Everyone else, including Googlebot and Bingbot
User-agent: *
Allow: /

# Model training: opted out
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

A crawler follows the most specific group that names it, and ignores the * group when a named group exists. If you list a bot by name, give it every rule it needs in that group.

Check that it worked

robots.txt is not the only thing that blocks bots. Firewalls and bot protection often refuse AI crawlers before robots.txt is read, and you will not see it from your own browser. You can test the server's answer yourself:

curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; OAI-SearchBot)" https://yoursite.com/

A 200 means the page loaded. A 403 or 503 means something in front of your site is turning the bot away. Some firewalls check the bot's IP address as well as its name, so a 200 here is good but not proof.

Our free check runs both tests for every AI search bot in about 10 seconds.

Want this done for your site?

Roshan, founder of SearchMaxx

Every day we make one change to your website that helps AI engines name you, and a person checks each one. Email me your website and the question your buyers ask AI.

Email Roshan to get started

More from the blog

  1. The SearchMaxx experiment, day 0: growing a new site in public

    Oct 18, 2026 - searchmaxx.link is a new domain. It has no Google traffic and no links. We will grow it with the same work we sell, and publish the numbers every week.

    searchmaxx.link/blog/searchmaxx-experiment-day-0 - Experiment - 2 min read

  2. Case study: 515 to 2,573 Google clicks a day in 12 weeks

    Oct 17, 2026 - Real Google Search Console numbers from an open-source AI company. In the top 1,000 queries, 66% of clicks came from searches without the brand name.

    searchmaxx.link/blog/case-study-5x-google-clicks - Case studies - 2 min read

  3. AI crawlers don't run JavaScript. Here's how to see what they see

    Oct 16, 2026 - ChatGPT's, Claude's and Perplexity's crawlers read the HTML your server sends and skip the JavaScript. If your words only appear after JavaScript runs, those engines see an empty page.

    searchmaxx.link/blog/ai-crawlers-javascript - Guides - 2 min read

  4. Best AI visibility tracking tools for software companies in 2026

    Oct 14, 2026 - Self-serve tools that count how often ChatGPT, Perplexity and Google AI answers name your brand, with verified prices and a free manual method.

    searchmaxx.link/blog/best-ai-visibility-tracking-tools - Best of - 7 min read