Skip to content
AskFairly
All posts

AI crawlers and robots.txt: are you blocking ChatGPT?

What GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended do, which affect AI recommendations, and robots.txt examples.

· 4 min read

You can have the best website in your industry, and AI assistants still won't recommend it if they can't read it. One of the most common reasons is surprisingly mundane: a line in robots.txt that blocks AI crawlers, often added by a plugin or a CDN setting nobody remembers turning on.

This guide explains which AI crawlers exist, which ones matter for being recommended, and how to set up robots.txt the way you actually intend.

Crawler names change. The list below reflects the major providers' public documentation as of October 2026. Before making important changes, check each provider's official crawler page.

Training crawlers vs search crawlers

The key idea: most AI companies run more than one crawler, each with a different purpose.

  • Training crawlers collect content that may be used to train future AI models.
  • Search crawlers build the index an assistant searches when answering questions in real time. These are the ones that decide whether the AI can find and cite you today.
  • User-triggered fetchers visit a page when a person asks the assistant to look at a specific link or when the assistant browses on their behalf.

Because they're separate, you can make a deliberate choice, for example: "use my site to answer questions and link to me, but don't train on it."

The main AI crawlers

User agent Company Purpose
OAI-SearchBot OpenAI Powers search results in ChatGPT
GPTBot OpenAI Collects data for training models
ChatGPT-User OpenAI Fetches pages on behalf of a ChatGPT user
Claude-SearchBot Anthropic Improves Claude's search results
ClaudeBot Anthropic Collects data for training models
Claude-User Anthropic Fetches pages when a Claude user asks
PerplexityBot Perplexity Indexes pages for Perplexity's search answers
Perplexity-User Perplexity Fetches pages on behalf of a Perplexity user
Google-Extended Google Controls use of content for Gemini models (not Search)
Googlebot Google Regular Google Search, including AI Overviews
Bingbot Microsoft Bing search, which also feeds Microsoft Copilot

If you only remember one thing: blocking OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot or Bingbot can make you invisible to AI search, while blocking training crawlers like GPTBot or ClaudeBot mainly affects future model training.

How to check your robots.txt right now

  1. Open https://yourdomain.com/robots.txt in your browser.
  2. Look for User-agent: lines naming any of the bots above, followed by Disallow: /.
  3. Look for a blanket rule like this, which blocks everyone, including search engines and AI:
User-agent: *
Disallow: /

This is common on sites that were set to "private" during development and never switched back.

  1. If you use a CDN or security service, check its bot settings too. Some offer one-click "block AI bots" toggles that sit outside your robots.txt file entirely.

Copy-paste examples

Allow everything (most small businesses)

If you want to be found and recommended everywhere, the simplest file is:

User-agent: *
Allow: /

Sitemap: https://yourdomain.com/sitemap.xml

Allow AI search, opt out of AI training

If you want assistants to find, cite and recommend you, but prefer your content not be used to train models:

User-agent: *
Allow: /

# Opt out of model training
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

Sitemap: https://yourdomain.com/sitemap.xml

Search crawlers like OAI-SearchBot, Claude-SearchBot and PerplexityBot fall under the User-agent: * rule here and remain allowed.

Keep private areas private

Block only what isn't meant for the public, and leave the rest open:

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /account/

Sitemap: https://yourdomain.com/sitemap.xml

Should you block AI training?

It's a genuine trade-off, and there's no single right answer.

  • Allowing training may help models "know" your business in the long run, though there's no guarantee your content is used or remembered.
  • Blocking training keeps more control over your content, and with search crawlers still allowed, assistants can still find and cite you in live answers.

For most small businesses whose main goal is to be recommended, the priority is simply this: don't block the search crawlers. The training decision is secondary.

robots.txt is only step one

Being crawlable means AI can read your site. Whether it recommends you depends on what it reads, both on your site and across the web. See how AI assistants decide which businesses to recommend and our checklist for getting recommended by AI for what comes next.

Frequently asked questions

Does blocking GPTBot remove me from ChatGPT answers?

Not by itself. OpenAI uses GPTBot for collecting training data and a separate crawler, OAI-SearchBot, for ChatGPT's search features. To be findable in ChatGPT search, OAI-SearchBot needs access. Check OpenAI's crawler documentation for the current details.

Does Google-Extended affect my Google rankings or AI Overviews?

Google states that Google-Extended controls whether content is used to improve Gemini models, and that it does not affect inclusion or ranking in Google Search. AI Overviews are part of Search and rely on the regular Googlebot.

How long does a robots.txt change take to apply?

Crawlers re-read robots.txt periodically, so changes are not instant. Expect anywhere from a few hours to a day or more, depending on the crawler.

Is robots.txt legally binding?

No. It's a widely respected convention, and the major AI companies say their crawlers follow it, but it's not an access control. Anything that must stay private should be behind a login.

See why AI picks someone else. Then fix it.

Enter your website for a free check on ChatGPT and Gemini. See who they recommend instead of you, and what to fix first.

Free · No sign-up · Results in about a minute