AI SearchGuide

robots.txt AI crawlers: set training and search separately

Set robots.txt rules for AI crawlers by purpose. Training bots, search bots and user fetchers do different jobs, and blocking one type does not have to remove you from AI search answers.

By , Founder and editorEdited by Asif Syed

Published

14 min read

Last reviewed : facts rechecked against the sources below.

Illustration of a website gate sorting AI crawlers into three paths for training, search and user requests

Key points

  • Decide robots.txt rules for AI crawlers by purpose, not by company.
  • OpenAI and Google say training controls such as GPTBot and Google-Extended can be blocked without leaving ChatGPT search or Google Search.
  • Search crawlers such as OAI-SearchBot, Claude-SearchBot and PerplexityBot decide whether you appear in AI search answers.
  • User fetchers such as ChatGPT-User and Perplexity-User may not follow robots.txt, according to OpenAI and Perplexity.

What you need

Level
Intermediate
On this page

For robots.txt AI crawlers, decide by purpose, not by company. Training controls (GPTBot, ClaudeBot, Google-Extended) can be blocked without leaving ChatGPT search or Google Search, per OpenAI and Google. Search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) decide whether you appear in AI search answers. User fetchers such as ChatGPT-User and Perplexity-User may not follow robots.txt, according to OpenAI and Perplexity.

The short answer: decide by purpose, not by company

Set each AI crawler by what it does with your pages. OpenAI, Anthropic and Perplexity run separate user agents for AI search and for fetches a user triggers, and OpenAI and Anthropic add a training crawler. Google uses one token, Google-Extended, for Gemini training and grounding. Blocking a training crawler leaves the same company’s search crawler untouched.

The companies document this split themselves. OpenAI’s crawler documentation, read on 12 November 2026, says “a webmaster can allow OAI-SearchBot in order to appear in search results while disallowing GPTBot”.

A three-question worksheet

Answer these before you edit the file. Each answer sets one group of tokens.

  1. Should your pages train AI models? This sets GPTBot, ClaudeBot and Google-Extended. Google-Extended also covers Gemini grounding, so this answer sets that too.
  2. Should your pages appear, with links, in AI search answers? This sets OAI-SearchBot, Claude-SearchBot and PerplexityBot.
  3. Will you accept fetches a person triggers by asking about your page? This concerns ChatGPT-User, Claude-User and Perplexity-User, and robots.txt may not control all of them.

The example rules later in this guide turn the common answers into a working file. For changes to these crawler documents, with the official source linked, Get the briefing.

Three steps: decide on AI training, then on AI search answers, then on user-triggered fetches, each mapped to its crawler tokens
Answer each question once and it decides one group of robots.txt tokens.

Training, search and user fetches: three kinds of AI crawler

AI crawlers come in three kinds. Training crawlers collect pages that may be used to build future models. Search crawlers index pages so an assistant can show and link them in answers. User fetchers load a page when a person asks the assistant about it; OpenAI says its fetcher, ChatGPT-User, is not used for automatic crawling.

Training crawlers

GPTBot is OpenAI’s training crawler, according to OpenAI’s crawler page. ClaudeBot collects content that may be used for model training, according to Anthropic’s help centre.

Google-Extended works differently. Google’s common crawlers documentation, updated on 30 October 2026, describes it as a robots.txt control token with no separate user agent. It governs whether crawled content may be used to train future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI.

Google’s AI Overviews and AI Mode are not controlled by robots.txt tokens. Google’s generative AI optimisation guide says a site must be included in Search generative AI features in Search Console to be eligible for them, which is the default setting.

Search crawlers

OAI-SearchBot gathers pages for ChatGPT search results, per OpenAI. Claude-SearchBot indexes content to improve search results, per Anthropic. Perplexity’s bots page says PerplexityBot surfaces and links websites in Perplexity search results, and adds: “It is not used to crawl content for AI foundation models.”

User-triggered fetchers

ChatGPT-User, Claude-User and Perplexity-User load pages because a person asked. OpenAI’s page says of ChatGPT-User: “Because these actions are initiated by a user, robots.txt rules may not apply.” Perplexity says Perplexity-User generally ignores robots.txt for the same reason.

Google has a fetcher of this kind too. Its user-triggered fetchers page, updated 19 August 2026, lists Google-Agent for agents hosted on Google infrastructure that act on user request, and says user-triggered fetchers generally ignore robots.txt.

Anthropic takes a different line. Its help centre says its bots honour robots.txt, and that blocking Claude-User or Claude-SearchBot may reduce a site’s visibility in Claude’s user-directed search.

OpenAI’s ads agent

OpenAI also lists OAI-AdsBot, which visits only pages submitted as ads on ChatGPT to check them, and says its data is not used to train foundation models. Advertisers in ChatGPT should read OpenAI’s page before blocking it; our ChatGPT ads guide covers the ad product.

Comparison of training, search and user fetch crawlers by their tokens, the job each does and how each handles robots.txt
Each kind of AI crawler does a different job and has its own tokens.

Robots.txt AI crawlers by company: tokens and what each one does

The table below lists ten robots.txt tokens that OpenAI, Anthropic, Perplexity and Google document for their AI crawlers and controls. Each row comes from the company’s own page, read between 12 and 21 November 2026: its purpose, what the company says about robots.txt, and what a block costs. Token names are written as each company spells them.

Company Token Purpose Robots.txt, per the company What a block costs
OpenAI GPTBot Training Own setting, independent of OAI-SearchBot Opts out of training; ChatGPT search unaffected
OpenAI OAI-SearchBot ChatGPT search Own setting; changes take about 24 hours Not shown in ChatGPT search answers; may still appear as navigational links
OpenAI OAI-AdsBot Ad landing-page checks Visits only pages submitted as ads Relevant only if you advertise in ChatGPT
OpenAI ChatGPT-User User fetch Rules “may not apply” Not a reliable block
Anthropic ClaudeBot Training Honours robots.txt and Crawl-delay Opts out of training collection
Anthropic Claude-SearchBot Search indexing Honours robots.txt Content not indexed for search; may reduce Claude visibility
Anthropic Claude-User User fetch Honours robots.txt May reduce visibility in Claude’s user-directed search
Perplexity PerplexityBot Search results and links Own token Withdraws pages from the crawler that links sites in Perplexity search
Perplexity Perplexity-User User fetch Generally ignores robots.txt Not a reliable block
Google Google-Extended Gemini training and grounding Token only; no separate user agent No Gemini training or grounding use; Google Search inclusion and ranking unaffected

Source: OpenAI crawler page (read 12 and 14 November 2026); Anthropic help centre, Perplexity bots page and Google common crawlers documentation (read 21 November 2026).

Reading the table

Read it by the purpose column first. OpenAI and Anthropic each give their training crawler and their search crawler separate tokens, so one company can be allowed for search and refused for training.

Microsoft Bing has no row because the Bing post read for this guide describes AI training and grounding preferences, not a separate AI crawler. Those preferences are covered in the shared signal section below. Crawlers from other companies, such as Apple, Amazon and Meta, are outside this guide’s sources; check each company’s own documentation before adding a rule.

What blocking each crawler costs

OpenAI and Google each say their training control is separate from search, so blocking GPTBot or Google-Extended does not remove a site from ChatGPT search or Google Search. Blocking a search crawler is different: it can remove or reduce the site in that assistant’s search answers. A block on a user fetcher may not be honoured.

Training crawlers: GPTBot, ClaudeBot and Google-Extended

The main effect of a training block is that your pages are not used for future models. Google’s documentation says “Google-Extended does not impact a site’s inclusion in Google Search nor is it used as a ranking signal”.

One trade-off is easy to miss. Google-Extended also covers grounding in Gemini Apps and Grounding with Google Search on Vertex AI, so a block there reaches beyond model training.

Search crawlers: OAI-SearchBot, Claude-SearchBot and PerplexityBot

OpenAI says sites that block OAI-SearchBot are not shown in ChatGPT search answers, though they can still appear as navigational links. Anthropic says a Claude-SearchBot block “prevents our system from indexing your content for search optimization”, and may reduce visibility in Claude’s user-directed search.

Perplexity’s page describes PerplexityBot as the crawler that surfaces and links sites in Perplexity search, so a block withdraws your pages from that crawler. For context on ChatGPT search’s reach, see our report on OpenAI’s ChatGPT search figures.

User fetchers: ChatGPT-User, Claude-User and Perplexity-User

A rule for ChatGPT-User or Perplexity-User is a request that OpenAI and Perplexity say may not apply. A Claude-User block is honoured, per Anthropic, at the cost of possibly reduced visibility in Claude’s user-directed search.

A real file: Facebook

Facebook’s robots.txt, read on 11 November 2026, blocks GPTBot, ClaudeBot, PerplexityBot and Google-Extended site-wide, among other agents. Those four mix three training controls with one search crawler, PerplexityBot. The file itself gives no reason; our report on Facebook’s AI answer pages in Google’s index covers the wider story.

Example robots.txt rules

The three files below are illustrative: written for this guide, not taken from any live site or test. Place the rules in the robots.txt at the root of each host they should cover, because Anthropic says its bots must be blocked on every subdomain separately. Each group names a user agent, then the paths it may or may not crawl.

Example A: allow AI search, block training (illustrative)

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

Expected result: GPTBot, ClaudeBot and Google-Extended see Disallow: /, while the three search crawlers see Allow: /. Google says Google-Extended does not affect inclusion in Google Search, so Googlebot rules stay as they are.

Example B: block every listed AI crawler (illustrative)

User-agent: GPTBot
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: ClaudeBot
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Google-Extended
Disallow: /

This file asks every listed crawler to stay out, but OpenAI and Perplexity say ChatGPT-User and Perplexity-User may still fetch pages. It also takes the site out of ChatGPT search answers, apart from possible navigational links.

Example C: slow a crawler instead of blocking it (illustrative)

User-agent: ClaudeBot
Crawl-delay: 10
Allow: /

Anthropic says its bots honour the non-standard Crawl-delay directive. For any other company’s crawler, check that company’s own documentation before relying on Crawl-delay. The value 10 is illustrative.

Checks before you publish

  • The file loads at /robots.txt on each host. Anthropic’s instruction reads: “Please do this for every subdomain that you wish to opt out from.”
  • Each token matches the company’s spelling in the table above.
  • A crawler with no group of its own follows the User-agent: * group, under the Robots Exclusion Protocol, RFC 9309. A broad Disallow there also reaches AI crawlers you have not named.

The shared AI training signal and when it applies

A shared AI training signal is one machine-readable preference, based on the IETF AIPREF draft, that more than one AI company reads alongside its own tokens. As of 21 November 2026 it applies only in part: Anthropic began recognising it on 30 October 2026, and Google aims to support it in 2027. Microsoft Bing has announced its own training and grounding preferences, honoured from 1 February 2027.

Google

Google Search Central said on 30 October 2026 that it plans to support a shared AI training policy token in robots.txt: “We aim to support this new control along with other AI providers in 2027”. An opt-out with the shared token, on a site that does not name Google-Extended, will be read as a Google-Extended disallow. Existing company-specific controls keep working.

Anthropic

Anthropic’s help centre says: “As of October 30, 2026, Anthropic has begun recognizing a machine-readable signal”. The signal is the IETF aipref draft’s no AI training preference, and recognition is rolling out across Anthropic’s services over time. A robots.txt rule that names ClaudeBot takes priority over the general signal.

Microsoft Bing

Microsoft Bing announced on 30 October 2026 that from 1 February 2027 it will honour two preferences as it crawls. AI Training can be set in robots.txt with User-Agent: __usage_ai-training or at page level. AI Grounding is set per page with a meta tag or X-Robots-Tag header, using ai-grounding:disallow or ai-grounding:disallowextended.

Bing says: “Both default to Allow when no applicable preference is published.” A whole-site training opt-out in the robots.txt form Bing’s post gives:

User-Agent: __usage_ai-training
Disallow: /

Which rule wins

Keep company-specific lines even after adding a shared signal. Anthropic says a ClaudeBot rule beats the general signal, and Google reads the shared token as a Google-Extended disallow where Google-Extended is not named. This guide found no statement on the shared signal from OpenAI or Perplexity in the pages read for it.

Timeline: Google, Anthropic and Bing act on 30 October 2026, Bing honours preferences from 1 February 2027, Google aims for 2027
Dates from Google, Anthropic and Microsoft Bing's own announcements and help pages.

How to check AI crawlers are obeying your rules

Robots.txt asks crawlers to stay out; it cannot force them. Check what actually reaches your server: compare the user agents in your access logs with your rules, then confirm that a visitor claiming to be a known crawler comes from an address the company publishes. A user agent string on its own can be copied by anyone.

A repeatable check

  1. Load the file. Open /robots.txt on every host and subdomain, and confirm it returns your current rules.
  2. Allow time. OpenAI says robots.txt changes take about 24 hours to affect search results.
  3. Search your logs. Look for each token in the user agent field and note the paths requested after your change.
  4. Verify addresses. Match source IPs against published lists: Anthropic’s claude.com/crawling/bots.json, and Perplexity’s perplexitybot.json and perplexity-user.json, linked from its bots page. For other companies, check their crawler pages.
  5. Record the result. A verified crawler requesting disallowed paths after the waiting period is worth raising with the company.

What to expect from each token

Google-Extended never appears in logs, because Google says it has no separate user agent; check the rule in the file instead. Requests from ChatGPT-User or Perplexity-User on disallowed paths match what OpenAI and Perplexity document for those fetchers.

If you need a hard block

A firewall or WAF rule can refuse requests that robots.txt cannot stop. For Anthropic, though, the help centre says blocking by IP may not reliably opt a site out, so keep the robots.txt rule as the main control.

The layer in front of robots.txt can also block crawlers you meant to allow. Google warned on 11 November 2026 that blanket bot protection on a CDN or firewall can lock out its crawlers; our CDN guide covers the checks, and the same review applies to AI crawlers you allow.

To see whether a change moves your AI visibility, our guides to the Search Console generative AI report and AI visibility trackers cover measurement.

Checklist of six steps to confirm AI crawlers follow robots.txt, from loading the file to verifying crawler IP addresses
A repeatable check to run after every change to your AI crawler rules.

What is not known yet

Several points remain open as of 21 November 2026. The shared training signal rests on an IETF draft, Google has not started supporting it, and the pages read for this guide give no figures on what a block costs in traffic. Treat the items below as open until the companies publish more.

  • Final syntax. AIPREF is an IETF draft, so the token’s form may change before Google’s 2027 aim.
  • Who joins. Google refers to “other AI providers” without naming them in the passage quoted here.
  • Anthropic’s rollout. Anthropic says recognition is rolling out over time and gives no completion date.
  • OpenAI and Perplexity. This guide found no statement from either on reading the shared signal.
  • Traffic effects. None of the company pages read gives a figure for visits lost by blocking a search crawler.
  • Other crawlers. Apple, Amazon, Meta and others are outside this guide’s sources.

What to do now

  1. Answer the three-question worksheet at the top of this guide.
  2. Compare your current robots.txt on every host with the table of tokens.
  3. Add named groups using Example A or Example B.
  4. After about 24 hours, check logs and published IP lists.
  5. Review the file again after 1 February 2027, when Bing’s preferences take effect, and when Google confirms its 2027 date.

For changes to these documents, with the official source linked, Get the briefing.

Common questions

How do I block AI crawlers in robots.txt?

Add a group for each crawler’s token, such as User-agent: GPTBot, followed by Disallow: /, in the robots.txt at the root of every host. Name each token separately, because OpenAI, Anthropic, Perplexity and Google use different ones for training, search and user fetches. Anthropic says its bots must be blocked on each subdomain.

No. OpenAI’s crawler documentation says GPTBot and OAI-SearchBot have independent robots.txt settings, so a site can block GPTBot and still appear in ChatGPT search. Blocking OAI-SearchBot is what keeps a site out of ChatGPT search answers, though OpenAI says it can still appear as a navigational link.

Does Google-Extended affect AI Overviews?

No. Google’s common crawlers page says Google-Extended covers Gemini training and grounding in Gemini Apps and Vertex AI, and does not affect inclusion or ranking in Google Search. The control for AI Overviews and AI Mode is a separate Search generative AI setting in Search Console, covered in our Search Console guide.

Does Perplexity respect robots.txt?

For PerplexityBot, its search crawler, Perplexity recommends using robots.txt; for Perplexity-User, generally not. PerplexityBot has its own robots.txt token, but Perplexity says its user fetcher, Perplexity-User, generally ignores robots.txt because a user requested the page. Perplexity publishes IP lists for both bots so you can verify them.

What is the difference between ClaudeBot and Claude-SearchBot?

ClaudeBot collects content that may be used for model training, while Claude-SearchBot indexes content to improve Claude’s search results. Anthropic says blocking Claude-SearchBot may reduce a site’s visibility in Claude’s user-directed search. A site can block one and allow the other.

Can robots.txt stop ChatGPT-User?

Not reliably. OpenAI says ChatGPT-User handles some user-initiated visits and that robots.txt rules may not apply to it. OpenAI also says it is not used for automatic crawling.

What to do now

  1. Sort AI crawlers into training, search and user fetch groups before writing rules.
  2. Block training crawlers like GPTBot, ClaudeBot and Google-Extended if you do not want content used for training.
  3. Allow OAI-SearchBot, Claude-SearchBot and PerplexityBot if you want to appear in AI search answers.
  4. Do not rely on robots.txt alone to control user fetchers such as ChatGPT-User and Perplexity-User.
  5. Check that AI crawlers are obeying your robots.txt rules.

Get the briefing

Google and AI search changes, explained the day they land.

Unsubscribe from any email. Privacy policy

Sources

  1. developers.openai.comDocumentation

    OpenAI: Overview of OpenAI crawlers

    Checked

  2. developers.openai.comDocumentation

    OpenAI: Overview of OpenAI crawlers (ChatGPT-User and timing)

    Checked

  3. support.claude.comDocumentation

    Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler? (AI training signal)

    Checked

  4. support.claude.comDocumentation

    Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler? (three robots)

    Checked

  5. support.claude.comDocumentation

    Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler? (Crawl-delay, subdomains, IPs)

    Checked

  6. docs.perplexity.aiDocumentation

    Perplexity: Perplexity crawlers

    Checked

  7. developers.google.comDocumentation

    Google for Developers: Google's common crawlers

    Checked

  8. developers.google.comDocumentation

    Google Search Central Blog: AI training control

    Checked

  9. blogs.bing.comPost

    Microsoft Bing Blogs: Your content, your choice: clearer preferences for training and grounding

    Checked

  10. facebook.comPost

    Facebook: robots.txt

    Checked

  11. rfc-editor.orgPost

    IETF RFC Editor: RFC 9309, Robots Exclusion Protocol

    Checked

Previous coverage

Get the briefing

Google and AI search changes, explained the day they land.

Unsubscribe from any email. Privacy policy

Latest from AI SEO Wire

Read the latest news