How-to

AI crawlers and robots.txt: GPTBot, OAI-SearchBot, PerplexityBot, Google-Extended

AI companies run separate crawlers for search, for model training and for user requests, and you can set a robots.txt rule for each one. To stay visible in ChatGPT search, allow OAI-SearchBot. To keep your pages out of model training, disallow GPTBot, Google-Extended, ClaudeBot or Applebot-Extended. Allowing a search crawler and blocking a training crawler is a normal setup, and the example below does exactly that. Blocking is optional: whether to allow training is a business choice, not a requirement.

By Plato Belmont, founder of Magnet Mint, Boston. Updated

The short version: three kinds of AI crawler

Most AI companies no longer run one bot. They run several, and each does a different job. Your robots.txt file can treat them differently.

JobWhat it means for youExamples
SearchFinds and links your pages in an AI search product. Block it and you may not be shown there.OAI-SearchBot, PerplexityBot, Claude-SearchBot
TrainingCollects content that may be used to train models. Block it and your pages are asked to stay out of training.GPTBot, Google-Extended, ClaudeBot, Applebot-Extended
User requestVisits one page because a person asked a question.ChatGPT-User, Perplexity-User, Claude-User

If you want to appear in AI answers, the search row is the one that matters. It is one part of AI search optimization, and a quick one to check.

What each crawler does

OpenAI: OAI-SearchBot, GPTBot and ChatGPT-User

OpenAI’s crawler page lists three. OAI-SearchBot is used to surface websites in ChatGPT’s search features. OpenAI says sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. GPTBot crawls content that may be used to train OpenAI’s generative AI foundation models, and disallowing it indicates your content should not be used in training. ChatGPT-User visits pages when a user asks ChatGPT something or uses a custom GPT action. OpenAI says it is not used to crawl the web automatically, and that because a user starts the visit, robots.txt rules may not apply.

OpenAI also says each setting is independent. You can allow OAI-SearchBot and disallow GPTBot. For search, changes can take about 24 hours to take effect.

Google: Googlebot and Google-Extended

Googlebot is the crawler for Google Search, and Google says its robots.txt rules affect Google Search. For AI Overviews and AI Mode, Google says there are no additional requirements: a page has to be indexed and eligible to show in Search with a snippet. For managing how your sites are crawled for Search, Google names robots.txt directives for Googlebot as the control.

Google-Extended is a separate token. Google describes it as a standalone product token that controls whether content Google crawls may be used for training future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI. It has no separate user agent string, and Google says it does not impact a site’s inclusion in Google Search and is not a ranking signal.

To limit what Google shows from your pages in Search, including in AI features, Google points to preview controls such as nosnippet, data-nosnippet, max-snippet and noindex. Those also limit how much of you can be quoted, so use them only when you mean it.

Perplexity: PerplexityBot and Perplexity-User

Perplexity says PerplexityBot is designed to surface and link websites in Perplexity search results, and is not used to crawl content for AI foundation models. It recommends that sites allow it. Perplexity-User supports user actions: when someone asks a question, it may visit a page and link to it. Perplexity says that, since a user requested the fetch, it generally ignores robots.txt rules. Changes can take up to 24 hours.

Anthropic and Apple

Anthropic’s help article lists three crawlers. ClaudeBot collects web content for model training. Claude-User retrieves pages when a Claude user asks a question. Claude-SearchBot indexes content to improve search result quality. Anthropic says to add a rule for each bot in your top-level robots.txt and repeat it for every subdomain.

Apple’s Applebot gathers data for search features in Spotlight, Siri and Safari. Applebot-Extended does not crawl pages. It only controls whether Applebot’s data is used to train Apple’s generative AI models. Apple says pages that disallow Applebot-Extended can still appear in search results.

A robots.txt example: allow search, block training

This example is for a business that wants to appear in AI search but does not want its pages used for model training. It is an example, not a recommendation. Edit it to match your decision.

# Example robots.txt for a local service business
# Replace example.com with your domain

# Search and answer crawlers: allowed
User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Applebot
Allow: /

# Training controls: asked to stay out of model training
User-agent: GPTBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Applebot-Extended
Disallow: /

# Everyone else, including Googlebot and Bingbot
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://www.example.com/sitemap.xml

A few notes on reading it:

  • Each bot gets its own group. Google’s documentation says a crawler matches only one rule set: the first, most specific group that matches its user agent. So the * group does not add to the named groups. Repeat any rule you need inside a named group.
  • Lines starting with # are comments.
  • The /wp-admin/ lines are a common WordPress pattern. Delete them if you do not use WordPress.
  • The ChatGPT-User, Claude-User and Perplexity-User bots are left out on purpose. They act for a person, and OpenAI and Perplexity both say their robots.txt rules may not apply to them.

How to add or change your robots.txt file, step by step

  1. Open your current file. Go to yourdomain.com/robots.txt in a browser. Google says the file must sit at the root of the host it applies to, and it applies only to the protocol, host and port where it is posted. A file on www.example.com does not cover shop.example.com.
  2. Decide on training. There are two honest positions. You may be happy for AI companies to learn from your public pages, in which case you can leave the training bots alone. Or you may want them out, in which case you disallow them. Google says Google-Extended is not a ranking signal in Search.
  3. Check search access first. Make sure OAI-SearchBot and PerplexityBot are not disallowed, and that no broad rule blocks them by accident. Check any plugin, host or security setting that edits robots.txt or blocks bots for you.
  4. Edit the file. On WordPress, an SEO plugin usually has a robots.txt editor. On other platforms, look in site settings or ask your web host. Paste in the groups you want. Rules are case-sensitive, and a Disallow path must start with /.
  5. Save, then reload yourdomain.com/robots.txt and confirm the change is live.
  6. Wait about a day. OpenAI and Perplexity both say changes can take around 24 hours.
  7. Write the date and your decision in a note. Crawler names change. The next person who edits the file should know why it looks the way it does.

If you want a second pair of eyes on this, our GEO and AEO audit includes a crawl-access check.

Mistakes to avoid

  • Blocking everything with Disallow: / under User-agent: *. That also blocks Googlebot and the search bots you wanted.
  • Treating robots.txt as security. Google says robots.txt rules cannot enforce crawler behavior and that private files should be password-protected. It is also not a way to keep a page out of Google: Google says to use noindex for that.
  • Blocking by IP address. Anthropic says IP blocking may not reliably give an opt-out, because it can stop its bots from reading your robots.txt in the first place. If your firewall or security service blocks bots automatically, check it separately from robots.txt.
  • Blocking a search bot and expecting to be recommended. OpenAI says sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers.
  • Copying a list from a forum. Bot names change, and some lists mix up search and training bots. Use the vendors’ own pages (see sources below).
  • Expecting robots.txt alone to bring you into AI answers. It only decides who may read your pages. What the pages say, and whether other sites confirm it, is a separate job. See how to show up in ChatGPT.

How this fits with llms.txt and schema

robots.txt controls access. llms.txt is a proposed reading list, and Google says Google Search ignores it. Schema markup labels facts inside a page; see schema markup for local business. The three are different tools, and only robots.txt is a long-established, widely honored way to say who may crawl.

Nobody controls what ChatGPT, Google AI Overviews, AI Mode or Perplexity recommend. Letting a search bot in is a precondition, not a promise.

Work with Magnet Mint

We are a Boston studio that builds websites for local service businesses and works with clients across the US, remotely. We review robots.txt, sitemap and bot access as part of the GEO and AEO audit. Price: from $750. Not included: domain and hosting, new photography, third-party software subscriptions (billed at cost), and AI usage above a plan allowance. To see how customers and AI assistants view your site today, ask for a free demo.

Published . Updated .

Frequently asked questions

Should I block GPTBot?

It depends on whether you mind OpenAI using your public pages to train its models. OpenAI says disallowing GPTBot signals that your content should not be used in training. It says each crawler setting is independent, so blocking GPTBot does not remove you from ChatGPT search, which is controlled by OAI-SearchBot.

What is the difference between OAI-SearchBot and GPTBot?

OAI-SearchBot finds and surfaces websites in ChatGPT's search features. GPTBot collects content that may be used to train OpenAI's foundation models. You can allow one and disallow the other.

What is Google-Extended?

It is a standalone robots.txt token that controls whether content Google crawls can be used for training future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI. Google says it does not affect your inclusion in Google Search and is not a ranking signal.

Does blocking Google-Extended remove me from AI Overviews?

Google does not say that. Its Search Central pages say Google-Extended does not impact inclusion in Google Search, and that AI Overviews and AI Mode have no extra requirements beyond being indexed and eligible to show with a snippet. To limit how your text appears there, Google points to preview controls such as nosnippet.

Does PerplexityBot train AI models?

Perplexity says PerplexityBot is used to surface and link websites in Perplexity search results and is not used to crawl content for AI foundation models. Perplexity recommends allowing it.

Do all AI bots obey robots.txt?

No. robots.txt is a request, not a lock. OpenAI says ChatGPT-User robots.txt rules may not apply because a user starts the visit, and Perplexity says Perplexity-User generally ignores robots.txt. Google also notes that robots.txt cannot enforce crawler behavior. For private files, use a password.

How long do robots.txt changes take to work?

OpenAI and Perplexity each say their systems can take about 24 hours to adjust after a robots.txt update.

Will blocking AI crawlers hurt my Google rankings?

Blocking OpenAI, Anthropic, Perplexity or Apple crawlers does not change what Googlebot does. Do not block Googlebot, because that controls crawling for Google Search.

Sources

  1. OpenAI: Overview of OpenAI crawlers, October 2026
  2. Google Search Central: Google's common crawlers (Google-Extended), October 2026
  3. Google Search Central: AI features and your website, October 2026
  4. Google Search Central: Create and submit a robots.txt file, October 2026
  5. Google Search Central: Introduction to robots.txt, October 2026
  6. Perplexity: Perplexity crawlers, October 2026
  7. Anthropic Help Center: Does Anthropic crawl data from the web, and how can site owners block the crawler?, October 2026
  8. Apple Support: About Applebot, October 2026

Related reading

Start with a free demo

See how customers and AI assistants see your business today.

A short call, then a demo for your business: what customers find, what AI answers say, and where you lose leads. No obligation.