AI Ranked
Reference

AI crawlers list: every user agent for robots.txt

The user agent tokens OpenAI, Anthropic, Perplexity, Google, Apple, Microsoft, Meta and others publish, what eight major sites actually do with them, and how to block training without disappearing from AI search.

Short answerAI crawlers are the bots AI companies use to fetch web pages, and each has a user agent name you can allow or block in robots.txt. There are three kinds: training crawlers (GPTBot, ClaudeBot), search crawlers that decide whether you can be cited (OAI-SearchBot, Claude-SearchBot, PerplexityBot), and user-triggered fetchers (ChatGPT-User, Perplexity-User), which may ignore robots.txt.
Key takeaways
  • Of the 59 major sites that block GPTBot in our 261-site study, 31 still allow OAI-SearchBot: they refuse OpenAI training and keep ChatGPT search citations.
  • OAI-SearchBot and GPTBot do different jobs: block the first and you disappear from ChatGPT search answers, block the second and you've only opted out of training.
  • Of eight major sites whose robots.txt we fetched for this guide, the New York Times, CNN and the BBC block OAI-SearchBot too, while Medium blocks training bots and leaves AI search crawlers alone.
  • In our November recrawl of 259 major sites, CCBot and Bytespider were each blocked by 29.0% and OAI-SearchBot by just 11.6%. Training crawlers get refused far more often than AI search crawlers.
  • Google says Google-Extended has no bearing on Search inclusion, so blocking it won't take you out of AI Overviews or AI Mode.
  • OpenAI, Anthropic and Perplexity publish JSON lists of their crawler IPs, so a request claiming to be GPTBot can be checked in seconds.

What is an AI crawler?

An AI crawler is a bot run by an AI company that requests web pages automatically, either to collect training data for its models, to build the search index its assistant answers from, or to fetch one page a user asked about. Each one announces itself with a user agent token, such as GPTBot or ClaudeBot, which is the name you use in robots.txt to allow or block it.

Technically they work like Googlebot: an HTTP request, a user agent header, a robots.txt check first. What differs is what happens to your page afterwards. Googlebot's fetch can turn into a blue link and a click. A training crawler's fetch can only shape what a future model knows, with no link back. That's why the training share of AI crawling matters so much to publishers, and why Cloudflare's numbers are so lopsided:

Share of AI crawling by purpose across Cloudflare's network, 12 months to July 2025: training 80%, search 18%, user action 2%Training: 80% of AI crawlingSearch: 18% of AI crawlingUser action: 2% of AI crawlingShare of AI crawling by purpose, 12 months to July 2025Training 80%Search 18%User action 2%
Figure 1. AI crawler requests by purpose across Cloudflare's network, 12 months to July 2025. Source: Cloudflare, August 29, 2025.
Crawl purpose (Cloudflare, 12 months to July 2025)Share of AI crawlingExample agents
Training80%GPTBot, ClaudeBot, CCBot, meta-externalagent
Search18%OAI-SearchBot, Claude-SearchBot, PerplexityBot
User action2%ChatGPT-User, Claude-User, Perplexity-User

Four of every five AI crawls feed training, and the 2% that come from real users are the ones closest to a person reading you. If you only take one idea from this page, take that split: the bots that cost you bandwidth and the bots that can send you visitors are mostly different bots, with different names, and robots.txt lets you treat them differently.

What are the three kinds of AI crawler?

Training crawlers, search crawlers and user-triggered fetchers. Each does a different job, so each block costs you something different. A robots.txt that lumps them together as "AI bots" usually throws away search visibility to stop training. Our month-over-month crawler blocking data shows big sites refusing training far more often than search.

Training crawlers such as GPTBot, ClaudeBot, meta-externalagent and MistralAI-Training collect public pages that may train future models. Blocking them changes what future models learn and, per the operators' own docs, doesn't change whether search answers cite you today.

Search crawlers build the index an AI engine retrieves from: OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot and bingbot. Block one of these and you drop out of that engine's answers.

User-triggered fetchers (ChatGPT-User, Claude-User, Perplexity-User) load a specific page because someone asked about it or pasted the link. Several operators say robots.txt may not apply to them, since a person started the request.

Two entries aren't crawlers at all. Google-Extended and Applebot-Extended never fetch pages; they tell Google and Apple how pages already crawled by Googlebot or Applebot may be used.

Which AI crawler user agents should I know?

The table lists every AI-related user agent token we could verify in the operator's own documentation. "Respects robots.txt" is what each operator states, which isn't independent proof. Use the token exactly as written in the first column of your robots.txt.

User agent tokenOperatorPurposeRespects robots.txt (per docs)Official docs
GPTBotOpenAITrainingYes. Disallow signals content should not be used for trainingOpenAI crawlers
OAI-SearchBotOpenAISearch index (ChatGPT search)Yes. Opted-out sites are not shown in ChatGPT search answersOpenAI crawlers
ChatGPT-UserOpenAIUser-triggered fetchNot always. OpenAI says robots.txt rules may not applyOpenAI crawlers
OAI-AdsBotOpenAIChecks landing pages submitted as ads on ChatGPT; not trainingNot stated. OpenAI says it only visits pages submitted as adsOpenAI crawlers
ClaudeBotAnthropicTrainingYes, including Crawl-delayAnthropic help center
Claude-SearchBotAnthropicSearch index (Claude search)YesAnthropic help center
Claude-UserAnthropicUser-triggered fetchYesAnthropic help center
PerplexityBotPerplexitySearch index (not training)Docs recommend allowing it in robots.txt; compliance disputed (see below)Perplexity crawlers
Perplexity-UserPerplexityUser-triggered fetchGenerally ignores robots.txtPerplexity crawlers
GooglebotGoogleSearch index, including AI Overviews and AI ModeYesGoogle crawlers
Google-ExtendedGoogleControl token for Gemini training and grounding (does not crawl)Yes. Token only, crawling is done by other Google agentsGoogle crawlers
Google-CloudVertexBotGoogleCrawls requested by site owners building Vertex AI AgentsYes. No effect on Google SearchGoogle crawlers
ApplebotAppleSearch (Spotlight, Siri, Safari); may also train Apple modelsYes. Falls back to Googlebot rules if Applebot is not namedAbout Applebot
Applebot-ExtendedAppleControl token for training on Applebot data (does not crawl)Yes. Token onlyAbout Applebot
bingbotMicrosoftBing index, which grounds CopilotYesBing crawlers
meta-externalagentMetaTraining and product indexingYes, block with a disallow ruleMeta web crawlers
meta-externalfetcherMetaUser-triggered fetchMay bypass robots.txtMeta web crawlers
CCBotCommon CrawlOpen repository of web crawl dataYesCCBot
AmazonbotAmazonProduct improvement; may train Amazon AI modelsYes. No Crawl-delay supportAmazonbot
Amzn-SearchBotAmazonSearch (for example Alexa); not trainingYesAmazonbot
Amzn-UserAmazonUser-triggered fetch (live Alexa answers)May not follow all directivesAmazonbot
DuckAssistBotDuckDuckGoReal-time AI-assisted answers; not trainingYes, applied within 72 hoursDuckAssistBot
MistralAI-UserMistral AIUser-triggered fetch; not trainingNot detailed in docsMistral robots
MistralAI-IndexMistral AISearch index; not trainingNot detailed in docsMistral robots
MistralAI-TrainingMistral AITrainingYesMistral robots

Under RFC 9309, the Robots Exclusion Protocol standard, crawlers match user agent tokens case-insensitively, and a crawler that finds a group naming it obeys that group and ignores User-agent: *. That trips people up constantly: if you give GPTBot its own group, every shared disallow line from your * group has to be repeated inside it. The reverse trap is just as common. In our 261-site study, 11 of the 38 sites blocking Claude-SearchBot never named it; their * group said Disallow: / and the newer bot fell through to it. For the Google side of the same file, see what "Blocked by robots.txt" means in Search Console and how to clear it.

Meta, Mistral AI and Amazon split their bots the same way OpenAI does. Meta separates its training and indexing crawler from meta-externalfetcher, which may bypass robots.txt for user requests. Mistral AI documents separate training, index and user agents. Microsoft lists bingbot as its standard crawler.

Which AI crawlers are blocked most often?

Training crawlers, by a wide margin. In our November recrawl of 259 major websites, CCBot and Bytespider were each blocked by 75 sites (29.0%) and ClaudeBot by 69 (26.6%), while OpenAI's search crawler, OAI-SearchBot, was blocked by only 30 (11.6%). Googlebot, the control, was blocked by one site.

Share of 259 major websites whose robots.txt blocks each AI crawler, November 2026TrainingAI searchUser fetchControlCCBotCCBot (Training): blocked by 75 of 259 sites (29.0%)29.0%BytespiderBytespider (Training): blocked by 75 of 259 sites (29.0%)29.0%ClaudeBotClaudeBot (Training): blocked by 69 of 259 sites (26.6%)26.6%GPTBotGPTBot (Training): blocked by 61 of 259 sites (23.6%)23.6%Applebot-ExtendedApplebot-Extended (Training): blocked by 59 of 259 sites (22.8%)22.8%meta-externalagentmeta-externalagent (Training): blocked by 58 of 259 sites (22.4%)22.4%Google-ExtendedGoogle-Extended (Training): blocked by 54 of 259 sites (20.8%)20.8%AmazonbotAmazonbot (Training): blocked by 54 of 259 sites (20.8%)20.8%PerplexityBotPerplexityBot (AI search): blocked by 51 of 259 sites (19.7%)19.7%ChatGPT-UserChatGPT-User (User fetch): blocked by 42 of 259 sites (16.2%)16.2%Claude-UserClaude-User (User fetch): blocked by 42 of 259 sites (16.2%)16.2%Perplexity-UserPerplexity-User (User fetch): blocked by 40 of 259 sites (15.4%)15.4%Claude-SearchBotClaude-SearchBot (AI search): blocked by 39 of 259 sites (15.1%)15.1%OAI-SearchBotOAI-SearchBot (AI search): blocked by 30 of 259 sites (11.6%)11.6%GooglebotGooglebot (Control): blocked by 1 of 259 sites (0.4%)0.4%
Figure 2. Share of 259 major websites whose robots.txt disallows the path / for each agent, November 2026, colored by the agent's role. Googlebot is shown as a control. Source: AI Ranked monthly AI search report, data pulled November 1, 2026.
User agentRoleSites blocking it, OctoberSites blocking it, NovemberNovember share (of 259)
CCBotTraining747529.0%
BytespiderTraining747529.0%
ClaudeBotTraining666926.6%
GPTBotTraining586123.6%
Applebot-ExtendedTraining575922.8%
meta-externalagentTraining575822.4%
Google-ExtendedTraining525420.8%
AmazonbotTraining515420.8%
PerplexityBotAI search495119.7%
ChatGPT-UserUser fetch424216.2%
Claude-UserUser fetch424216.2%
Perplexity-UserUser fetch394015.4%
Claude-SearchBotAI search383915.1%
OAI-SearchBotAI search303011.6%
GooglebotControl110.4%

Three things stand out. Every training agent sits above every AI search agent, so big sites are refusing training far more readily than they refuse citations. The user fetchers cluster at 15 to 16%, even though two of them, ChatGPT-User and Perplexity-User, say they may not follow robots.txt at all. And the month barely moved anything: 22 blocks added and 2 lifted across 259 sites, most of them from Facebook, Instagram and AliExpress adding training bots in one go. No site in the panel blocks an AI search crawler while allowing training.

Our takeThe blocked-most list is a list of crawlers people resent, not a list you should copy. CCBot and Bytespider top it because they give nothing back. ClaudeBot is third mostly because of news publishers. If you sell software, the numbers that matter for you are at the bottom of the chart: keep OAI-SearchBot, Claude-SearchBot and PerplexityBot open, and most of your peers already do.

What does blocking each AI crawler cost you?

Blocking a training crawler costs little visibility today. Blocking a search crawler takes you out of that engine's answers. Blocking a user fetcher stops the engine reading a page a user explicitly asked about. The table uses each operator's own wording where it has one.

If you blockYou loseYou keep
OAI-SearchBotAppearing in ChatGPT search answers (OpenAI: such sites "will not be shown")Navigational links can still appear
GPTBotFuture OpenAI training on your new pagesChatGPT search eligibility; settings are independent
Claude-SearchBotIndexing "for search optimization"; possibly visibility in Claude's resultsClaude-User fetches if allowed
ClaudeBotFuture Anthropic training on your materialsClaude search eligibility
PerplexityBotBeing surfaced and linked in Perplexity resultsNothing in Perplexity search; it is not a training crawler
GooglebotGoogle Search, including AI Overviews and AI Mode, and likely Brave Search tooNothing in Google
Google-ExtendedGemini training and grounding in the Gemini app and Vertex AIGoogle Search, AI Overviews and AI Mode
Applebot-ExtendedUse in Apple foundation model trainingApple search features
bingbotBing and Copilot citations (Microsoft Learn)Nothing in Bing; use the ai-training and ai-grounding robots values for finer control (Bing)
DuckAssistBotDuckDuckGo's AI-assisted answersOrganic DuckDuckGo rankings, per DuckDuckGo

The Googlebot row has a side effect most people miss. Brave Search, which Claude appears to use for web search, says its crawler won't fetch anything Googlebot isn't allowed to (Brave Search). For the full engine-by-engine picture, read how AI engines choose which sources to cite.

Which AI crawlers do the New York Times, BBC, Reddit and GitHub block?

The big news publishers block AI search crawlers along with training bots, while GitHub and Wikipedia leave AI search open. That split holds at scale. In our study of 261 major websites' robots.txt files, 88% of news sites block at least one training crawler and 69% block an AI search crawler, against 12% and 1% of B2B SaaS sites.

We fetched the live robots.txt of eight well-known sites with curl while researching this guide and pulled out the AI-related lines. The files are public and change often, so open them yourself before copying anything.

The New York Times blocks training and AI search, with one exception

The file opens with a comment listing prohibited uses, including the development of "machine learning, artificial intelligence (AI), and/or large language models." Then it gives most AI agents their own Disallow: / group:

User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: PerplexityBot
Disallow: /

ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User and Perplexity-User get the same treatment. Amazonbot is the odd one out: its group only says Disallow: /wirecutter/. That matches the multiyear AI licensing deal the Times signed with Amazon in May 2025, which reportedly excluded Wirecutter. Robots.txt here reads like a contract summary.

CNN puts 77 user agents in one block

CNN uses a single group: 77 User-agent lines, from AI2Bot to YouBot, sharing one Disallow: /. It includes GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Google-Extended, PerplexityBot, Perplexity-User, Amzn-SearchBot and DuckAssistBot. Googlebot isn't on the list, so CNN stays in Google Search and AI Overviews while opting out of nearly every other AI engine.

The BBC bans AI search in plain words

The BBC's header is the most explicit we found. Among its listed prohibitions:

# - No retrieval-augmented generation (RAG), AI-powered search, agentic AI or grounding using BBC content

The rules follow through, with a carve-out for one path:

User-agent: OAI-SearchBot
Disallow: /
Allow: /storyworks
Allow: /storyworks/

GPTBot, ChatGPT-User and Google-Extended get the same /storyworks exception; PerplexityBot and Perplexity-User are blocked outright. StoryWorks is the BBC's branded-content studio, so the one section made for advertisers who want reach stays open to AI engines.

The Guardian blocks Claude and Perplexity but not OpenAI

The Guardian's big disallow group names ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, CCBot, Applebot-Extended, meta-externalagent, Amazonbot, DuckAssistBot and Google-CloudVertexBot, among others. GPTBot and OAI-SearchBot aren't in it. In February 2025 the Guardian and OpenAI announced a content partnership that brings Guardian reporting into ChatGPT with attribution and links. We can't see the contract, but the robots.txt lines up with it.

Reddit blocks everyone

The file Reddit served to our request, minus comments, is two lines:

User-agent: *
Disallow: /

Reddit made this change in mid-2024, and Microsoft confirmed Bing stopped crawling it. Reddit threads still show up heavily in AI answers because Reddit licenses its data instead, including a partnership with Google announced in February 2024. For everyone else, robots.txt is the only lever they've got.

Medium blocks training and leaves AI search open

Medium's AI group is close to what we'd recommend for most publishers:

User-Agent: Amazonbot
User-Agent: Applebot-Extended
User-Agent: Bytespider
User-Agent: ClaudeBot
User-Agent: FacebookBot
User-Agent: GoogleOther
User-Agent: GPTBot
User-Agent: meta-externalagent
Disallow: /
Allow: /about
Allow: /membership

(The real group allows a few more marketing paths.) OAI-SearchBot, Claude-SearchBot and PerplexityBot aren't named, so they fall through to Medium's normal * rules and can index articles for AI search.

GitHub rate-limits AI bots and fences off repo internals

GitHub groups GPTBot, OAI-SearchBot, ClaudeBot, anthropic-ai and PerplexityBot together, sets Crawl-delay: 1, explicitly allows marketing pages such as /about, /pricing and /features, and disallows a long list of repository views like /*/blame/, /*/raw/ and /*/commits/*?author. It's the clearest example of path-level control on the list: let AI bots read what you want repeated, keep them off the expensive or noisy URLs.

Wikipedia has no AI rules at all

Wikipedia's robots.txt is mostly about misbehaving crawlers that go "way too fast" and internal paths like /w/ and /wiki/Special:. It doesn't name a single AI agent. That openness pays off in citations. In Profound's analysis of ChatGPT citations from August 2024 to June 2025, Wikipedia was the single most cited source, with 7.8% of all citations.

Publishers that sell or license content (the Times, CNN, the BBC) block AI search crawlers too, accepting absence from ChatGPT search as the price of their licensing position. Old tokens also linger: anthropic-ai still appears in the Times, CNN, BBC, Guardian and GitHub files even though Anthropic no longer documents it, and Claude-Web shows up in three of them. Robots.txt files get copied from lists and rarely pruned.

Our takeDon't copy a newspaper's robots.txt. The Times, CNN and the BBC are negotiating with AI companies over content they sell, so blocking AI search is a bargaining chip for them. If you sell software or services, the same file would hide you from ChatGPT, Claude and Perplexity in exchange for nothing. Medium's pattern (block training agents by name, leave search crawlers on the default rules) is the better starting point for almost everyone else.

Should you block GPTBot?

Block GPTBot if your content is what you sell; allow it if your content exists to sell something else.

Blocking GPTBot (and ClaudeBot, CCBot, Google-Extended) makes sense when at least one of these is true:

  1. Your pages are the product: paywalled journalism, paid research, course material, proprietary datasets.
  2. You license content to AI companies or plan to, and an open door would weaken that negotiation.
  3. A legal or contractual obligation (client agreements, rights you don't own) bars machine reuse of the content.

Leave it allowed when all of these hold:

  1. You sell software, a service or a physical product, and your public pages are marketing, docs or help content. Most B2B SaaS companies already sit here: only 4 of the 95 SaaS sites in our study block GPTBot.
  2. You want ChatGPT to describe you correctly when it answers without searching. In Slate's 1,000-question test, 372 of ChatGPT's answers carried no link at all (Slate), so the model's training data was the only thing those answers had.
  3. Nothing on the allowed paths is confidential (if it is, robots.txt is the wrong tool; put it behind a login).

Mixed cases get path rules. A SaaS company with a paid research library can allow GPTBot on / and disallow /reports/, the way the BBC carves out /storyworks in the other direction:

User-agent: GPTBot
Disallow: /reports/
Allow: /

Whatever you decide about GPTBot, don't touch OAI-SearchBot unless you actually want out of ChatGPT search. Blocking it removes you from ChatGPT search answers and has no effect on training, which GPTBot governs. Run a few buyer questions in ChatGPT before and after any robots.txt edit to see if the answers shift; any of the free AI visibility checkers we compared will do that faster.

Does blocking Google-Extended remove you from AI Overviews?

No. Google's crawler documentation states that "Google-Extended does not impact a site's inclusion in Google Search nor is it used as a ranking signal in Google Search". AI Overviews and AI Mode are Search features, and Google's AI features guide names Googlebot's robots.txt rules as the control.

Google-Extended manages whether content may train future Gemini models and be used for grounding (supplying content to the model at prompt time) in the Gemini app and Grounding with Google Search on Vertex AI. So blocking it is a clean training opt-out with one real cost: Gemini app citations. CNN, the Times and the BBC all block it; the Guardian and Medium don't name it. Across the 261 sites in our study, 53 (20.3%) block Google-Extended, the second least-blocked of the eight training agents we tested.

To limit what appears in AI Overviews specifically, Google points to nosnippet, data-nosnippet, max-snippet and noindex. These also trim your regular search snippets, and a page has to be snippet-eligible to be an AI supporting link at all. For a site-wide opt-out that leaves regular results alone, Search Console's Search generative AI setting (under Settings), available to every site since 31 August 2026, excludes a site from AI Overviews, AI Mode and AI features in Discover without removing it from regular Search or the Discover feed.

Which robots.txt rules should I use?

Most sites that want AI visibility should allow search crawlers and user fetchers and make the training call as a separate decision. The recipes below cover the three common positions. Swap in your sitemap URL and test the result with our robots.txt AI checker.

Recipe 1: allow AI search, block training

# Training crawlers and training-control tokens: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: CCBot
User-agent: MistralAI-Training
Disallow: /

# AI search crawlers and user fetchers: allowed
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: DuckAssistBot
User-agent: MistralAI-Index
User-agent: MistralAI-User
User-agent: Amzn-SearchBot
Allow: /

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

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

Blocking Google-Extended also removes you from grounding in the Gemini app, so drop that line if Gemini citations matter. Applebot and Amazonbot may feed training too, per Apple and Amazon, but blocking them also hits Apple search features and Amazon products, so they stay allowed here. Stacking several User-agent lines over one rule is valid under RFC 9309.

Recipe 2: allow everything

User-agent: *
Allow: /

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

This is the same as having no rules, training crawlers included. It's the right file for most B2B software sites. Check that your CDN's bot-management settings aren't challenging AI crawlers at the network level, because robots.txt can't override a firewall. AI Ranked Monitor repeats that check every day, requesting your homepage as seven AI agents, so a new firewall block shows up within a day.

Recipe 3: block all AI crawlers

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
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: meta-externalfetcher
User-agent: CCBot
User-agent: Amazonbot
User-agent: Amzn-SearchBot
User-agent: Amzn-User
User-agent: DuckAssistBot
User-agent: MistralAI-User
User-agent: MistralAI-Index
User-agent: MistralAI-Training
Disallow: /

User-agent: *
Allow: /

This is roughly what CNN does. You'll disappear from ChatGPT search, Claude search, Perplexity and DuckDuckGo's AI answers. Googlebot and bingbot stay allowed, so AI Overviews, AI Mode and Copilot can still cite you; blocking those would take you out of Google and Bing entirely. User fetchers that ignore robots.txt need a firewall or CDN rule.

How do you block AI crawlers that ignore robots.txt?

Block them at the server or CDN by user agent, and verify the IP if you need a hard guarantee. Robots.txt is a request, so a fetcher that ignores it (ChatGPT-User, Perplexity-User and meta-externalfetcher all say they may) needs a rule that returns a 403. Exempt /robots.txt from that rule, so bots that do listen can still read your policy.

That exemption is the detail most copy-paste snippets miss. Anthropic warns that blocking its IP addresses "may not work correctly or persistently" as an opt-out, because the block stops it reading your robots.txt. A bot that can't read the file can't learn that you've disallowed it. Serve the file to everyone, block the pages.

On Nginx, a map in the http block flags the agents you name, and the server block turns them away everywhere except robots.txt:

# http block
map $http_user_agent $ai_block {
    default 0;
    ~*(GPTBot|ClaudeBot|CCBot|Bytespider|meta-externalagent) 1;
}

# server block: robots.txt stays readable for every bot
location = /robots.txt {
    try_files $uri =404;
}
location / {
    if ($ai_block) { return 403; }
    # ...your existing directives
}

On Apache, the same rule in .htaccess with mod_rewrite:

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/robots\.txt$
RewriteCond %{HTTP_USER_AGENT} (GPTBot|ClaudeBot|CCBot|Bytespider|meta-externalagent) [NC]
RewriteRule ^ - [F]

Edit the list to match your decision. The example names training crawlers only, which is the block that rarely costs visibility. Put an AI search agent in it and you've taken yourself out of that engine's answers, exactly as if you'd disallowed it in robots.txt, only faster and with no way for the bot to know why.

Know what a user agent rule can and can't do. It stops a bot that tells the truth about its name, and honest bots already obey robots.txt, so for them the server rule mostly buys speed (instant, against OpenAI's and Amazon's 24 hours or DuckDuckGo's 72). It does nothing against a scraper that sends a browser user agent. For those, a CDN bot-management product or a rule keyed to behaviour and IP reputation is the only real tool, and it's also the tool most likely to block the AI agents you wanted to keep. Before you switch one on, check which verified AI crawlers it challenges, which our Cloudflare settings guide, linked in the log section below, maps out.

MethodStopsDoesn't stopUse it for
robots.txt DisallowCrawlers that follow robots.txt, within about a dayUser fetchers that ignore it, scrapersYour policy, read by every honest bot
Server rule on user agent (Nginx, Apache)Any bot that sends its real name, immediatelyScrapers using a browser user agentUser fetchers that ignore robots.txt, instant enforcement
IP allow or deny list (published JSON lists)Spoofers claiming a real bot's nameUnlisted scrapers; also stops a blocked bot reading robots.txtVerifying who is who before you allow or count
CDN bot managementUnknown automated traffic, by behaviourNothing by design, which is the riskAbuse and load, with verified AI bots explicitly allowed

What is the __usage_ai-training token?

It's a shared robots.txt group that says whether your content may be used to train AI models, without naming any crawler. You write User-Agent: __usage_ai-training followed by Disallow: / to say no. It comes from an IETF Internet-Draft published on October 30, 2026, and so far Anthropic and Bing say they will read it.

The draft, draft-kelley-aipref-training-preference-signal, is written by Kevin Kelley of Anthropic and builds on the IETF aipref working group. It adds no directive: a Disallow line opposes training on those paths and an Allow line supports it. Because the token is a usage policy and not a crawler, a User-agent: * group never matches it and it doesn't change who can fetch your pages.

# No AI training on anything except the press kit
User-Agent: __usage_ai-training
Disallow: /
Allow: /press-kit/
OperatorWhat it says about the tokenFrom
AnthropicRecognizes the "no AI training" signal, rolling out across its services. A robots.txt rule that names ClaudeBot takes priority over it.October 30, 2026 (details in our ClaudeBot guide)
Microsoft BingReads a __usage_ai-training Disallow group as its AI Training preference; grounding is controlled separately, page by page.Honored from February 1, 2027
OpenAI, GoogleNeither crawler page mentions the token. Keep using GPTBot and Google-Extended rules.Not documented

Adoption is still a rounding error. When we re-fetched robots.txt for 251 of the large sites in our crawler panel on November 8, 2026, three carried the group: Facebook, IMDb and X. The older idea in this space, Cloudflare's Content-Signal line, had reached 21 of 250 sites (8.4%) in our October 28 recrawl, 17 of them B2B SaaS companies. Neither OpenAI's nor Anthropic's crawler page mentions Content-Signal.

Our advice is to add the token if you want a training opt-out and keep your named training rules too. The shared group is a draft that may change, it only covers training, and for Anthropic a named ClaudeBot group overrides it. Two extra lines cost nothing and say the same thing to everyone who reads the draft.

Where robots.txt stops working

Robots.txt runs on the honor system. Operators that follow it say so in their docs, but anyone can put "GPTBot" in a user agent string, which is why the major operators publish IP ranges (next section).

Changes take time to land. OpenAI says about 24 hours for ChatGPT search, Amazon says about 24 hours, and DuckDuckGo says up to 72. Each subdomain needs its own file, as Anthropic and Amazon both point out, so docs. and help. hosts are easy to forget. And a block doesn't reach back in time: Anthropic describes a ClaudeBot block as a signal about future materials.

Compliance is disputed for at least one operator. In August 2025 Cloudflare reported that Perplexity used undeclared crawlers to get around no-crawl rules; Perplexity rejected the findings. And a disallowed URL can still be listed: OpenAI's publisher FAQ says it may show the link and title of a blocked page found through a third-party search provider, and recommends noindex if you want it gone. If you'd also like to hand AI tools a curated map of your site, see our explainer on llms.txt.

How do I verify AI crawlers in my server logs?

Find the hits by user agent, then prove they're real by IP. Start by counting requests per bot and IP in your access log (this assumes the common combined log format, where the IP is the first field):

awk 'match($0, /GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User|bingbot|Googlebot/) {
  print $1, substr($0, RSTART, RLENGTH) }' access.log | sort | uniq -c | sort -rn | head -30

What should you expect to see once the filter runs? On our own site, the mix looks like this. Over ten days AI Ranked Monitor logged 1,453 requests from 11 AI agents to airanked.ai, and the order is nothing like the blocked-most chart above:

Requests to airanked.ai by AI agent, October 25 to November 3, 2026TrainingAI searchUser fetchOAI-SearchBotOAI-SearchBot: 406 requests (27.9%)406ChatGPT-UserChatGPT-User: 311 requests (21.4%)311ClaudeBotClaudeBot: 240 requests (16.5%)240PerplexityBotPerplexityBot: 228 requests (15.7%)228AmazonbotAmazonbot: 127 requests (8.7%)127BytespiderBytespider: 62 requests (4.3%)62ApplebotApplebot: 41 requests (2.8%)41GPTBotGPTBot: 17 requests (1.2%)17Claude-UserClaude-User: 10 requests (0.7%)10meta-externalagentmeta-externalagent: 7 requests (0.5%)7MistralAI-UserMistralAI-User: 4 requests (0.3%)4
Figure 3. Requests to airanked.ai by AI agent, 10:55 UTC October 25 to 23:59 UTC November 3, 2026, 1,453 in total. One site over ten days, so a case study, not a web-wide share. Source: AI Ranked bot traffic study.
AgentRoleRequestsShare of 1,453
OAI-SearchBotAI search40627.9%
ChatGPT-UserUser fetch31121.4%
ClaudeBotTraining24016.5%
PerplexityBotAI search22815.7%
AmazonbotTraining1278.7%
BytespiderTraining624.3%
ApplebotAI search412.8%
GPTBotTraining171.2%
Claude-UserUser fetch100.7%
meta-externalagentTraining70.5%
MistralAI-UserUser fetch40.3%

Search and user agents made the most requests, and OpenAI alone sent 734 (50.5%). GPTBot, the bot most sites worry about, made 17. Raw counts mislead, though: 224 of ClaudeBot's 240 requests were for robots.txt and the sitemap, so split control files from page requests before you compare bots.

For Google, Bing, Apple and Common Crawl, use the two-step DNS check. Reverse-resolve the IP, confirm the hostname is on the operator's domain, then forward-resolve that hostname and confirm it returns the same IP. We ran it on two IPs from the published ranges:

$ host 66.249.66.1
1.66.249.66.in-addr.arpa domain name pointer crawl-66-249-66-1.googlebot.com.
$ host 157.55.39.1
1.39.55.157.in-addr.arpa domain name pointer msnbot-157-55-39-1.search.msn.com.

OpenAI, Anthropic and Perplexity don't document reverse DNS, so check the IP against their JSON lists instead. A few lines of Python do it:

import ipaddress, json, urllib.request
req = urllib.request.Request("https://openai.com/searchbot.json", headers={"User-Agent": "Mozilla/5.0"})
ranges = json.load(urllib.request.urlopen(req))["prefixes"]
nets = [ipaddress.ip_network(p.get("ipv4Prefix") or p.get("ipv6Prefix")) for p in ranges]
ip = ipaddress.ip_address("203.0.113.7")   # the IP from your log
print(any(ip in n for n in nets))
OperatorPublished IP listReverse DNS should end in
OpenAIgptbot.json, searchbot.json, chatgpt-user.jsonNot documented; use the IP lists
Anthropicclaude.com/crawling/bots.jsonNot documented; use the IP list
Perplexityperplexitybot.json, perplexity-user.jsonNot documented; use the IP lists
Googlecommon-crawlers.json and the other files listed on Verifying Googlebotgooglebot.com, google.com or googleusercontent.com
Microsoftbingbot.json, plus the Verify Bingbot toolsearch.msn.com (Bing Webmaster)
Appleapplebot.jsonapplebot.apple.com
Common Crawlccbot.json, linked from its CCBot pagecrawl.commoncrawl.org (IPv4 only)

Then read the status codes. A verified OAI-SearchBot or PerplexityBot IP getting 403s or challenge pages means a firewall rule is overriding your robots.txt; Perplexity's docs tell Cloudflare users to create an Allow rule for its IP ranges. Our Cloudflare AI crawler settings guide maps every setting that can produce those 403s. Verified hits from ChatGPT-User or Claude-User are worth watching for another reason: each one is a real person asking an assistant about that URL. Pair the log work with prompt testing, since a crawler visit shows access and only a citation shows use; our guide to measuring AI visibility covers that half.

Which user agents did we leave out?

We include a token only when its operator documents it. Three widely copied tokens miss that bar. anthropic-ai isn't in Anthropic's current crawler documentation, which lists ClaudeBot, Claude-User and Claude-SearchBot, yet five of the eight major sites above still block it. We couldn't find first-party documentation from ByteDance for Bytespider or from Cohere for cohere-ai. Blocking them does no harm, but we can't tell you what they do in their operators' own words.

One documented agent is missing on purpose. Claude-Agent is the token Anthropic adds to browsers it hosts so Claude products can complete a task a user asked for. It isn't a crawler, Anthropic doesn't say it reads robots.txt, and its IP addresses sit in a separate file at claude.com/.well-known/sail. Treat it like a customer's browser: blocking it stops your users having Claude do things on your site.

Frequently asked questions

What is the difference between GPTBot and OAI-SearchBot?

GPTBot crawls content that may be used to train OpenAI's foundation models. OAI-SearchBot crawls content to surface websites in ChatGPT's search features. OpenAI says the settings are independent, so you can block GPTBot to opt out of training and still allow OAI-SearchBot, which keeps your pages eligible to appear and be cited in ChatGPT search answers.

Does blocking Google-Extended remove my site from AI Overviews?

No. Google states that blocking Google-Extended changes nothing about whether you appear in Search, and that the token plays no part in ranking. AI Overviews and AI Mode are part of Search and are crawled by Googlebot. Google-Extended controls whether your content trains Gemini models and grounds answers in the Gemini app and Vertex AI, so blocking it costs Gemini app visibility only.

Do AI user agents like ChatGPT-User follow robots.txt?

Not reliably. OpenAI says robots.txt rules may not apply to ChatGPT-User because a user started the visit, Perplexity documents that Perplexity-User will usually not follow robots.txt, and Meta says meta-externalfetcher may bypass it. Anthropic says its bots honor robots.txt. If you need a hard block on user-triggered fetchers, use a CDN or firewall rule matched to the operator's published IP ranges.

Should I block GPTBot?

Block it if your content is the product you sell or license, as with paywalled news, paid research or course material. Keep it allowed if you sell software or services and want ChatGPT to describe you accurately when it answers without searching, which happened on 372 of 1,000 answers in one 2026 test. Either way, keep OAI-SearchBot allowed if you want ChatGPT search citations.

How do I know a request claiming to be GPTBot is real?

Match the request IP against the operator's published list: openai.com/gptbot.json for GPTBot, with separate files for OAI-SearchBot and ChatGPT-User. Google, Bing, Apple and Common Crawl also support reverse DNS: the IP should resolve to their crawler domain, and that hostname should resolve back to the same IP. A user agent string alone proves nothing, since anyone can send it.

Which bot does Microsoft Copilot use?

Copilot sends generated search queries to Bing, so bingbot is the crawler that matters. Blocking bingbot removes your pages from Bing and from Copilot citations. To keep a page in Bing results but out of AI answers, use the ai-grounding:disallow robots value (or ai-grounding:disallowextended to allow only Microsoft's own products, such as Copilot). After March 1, 2027, Bing no longer reads NOCACHE and NOARCHIVE as AI preferences. Real bingbot traffic reverse-resolves to a search.msn.com hostname.

How many websites block AI crawlers?

About a third of large sites block at least one. In AI Ranked's study of 261 major websites, 35% disallow at least one AI training crawler and 21% disallow at least one AI search crawler. News publishers block the most heavily, with 88% blocking a training bot, and news sites make up nearly half of all GPTBot blockers; meanwhile 94 of 95 B2B SaaS sites leave all three AI search crawlers open.

What is an AI crawler?

An AI crawler is a bot run by an AI company that fetches web pages automatically, to collect training data, build an AI search index or load a page a user asked about. Each has a user agent token, such as GPTBot, ClaudeBot or PerplexityBot, that you can allow or block in robots.txt. Cloudflare found 80% of AI crawling was for training in the year to July 2025.

How do I block AI crawlers that ignore robots.txt?

Return a 403 at the server or CDN for the user agents you name, with an Nginx map or an Apache mod_rewrite rule, and keep /robots.txt readable so compliant bots still see your policy. A user agent rule only stops bots that send their real name, so pair it with the operators' published IP lists, and check that your firewall isn't blocking the AI search crawlers you want.

What does User-Agent: __usage_ai-training mean in robots.txt?

It's a shared usage token from an IETF draft published on October 30, 2026. A Disallow line under it says you don't want those paths used for AI training, without naming any crawler, and it doesn't change who can fetch your pages. Anthropic says it recognizes it, Bing will honor it from February 1, 2027, and a rule naming ClaudeBot overrides it for Anthropic.

Cite this page Marksman, Robin. "AI crawlers list: every user agent for robots.txt." AI Ranked, October 11, 2026. https://airanked.ai/guides/ai-crawlers-robots-txt