AI crawlers and robots.txt when you want AI citations
Decide whether to allow or block GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended. Check for firewall blocks robots.txt won't show.
Key takeaways
- AI companies send three kinds of bots, and each one has its own robots.txt token.
- The bot names are the tokens to use in robots.txt.
- OpenAI documents four bots, and OAI-SearchBot is the one that surfaces websites in ChatGPT's search features.
- Anthropic says all three of its bots follow standard robots.txt directives.
Training, search and user-triggered bots are separate
AI companies send three kinds of bots, and each one has its own robots.txt token. Training crawlers such as GPTBot and ClaudeBot collect pages that may be used to train future models. Search crawlers such as OAI-SearchBot, Claude-SearchBot and PerplexityBot build the index that ChatGPT, Claude and Perplexity search. User-triggered fetchers such as ChatGPT-User, Claude-User, Perplexity-User and Google-Agent open a page because a person asked an assistant to.
OpenAI says its settings are independent, so a site can allow OAI-SearchBot and disallow GPTBot. OpenAI also says a site that opts out of OAI-SearchBot will not be shown in ChatGPT search answers, though it can still appear as a navigational link. Anthropic says a blocked Claude-SearchBot means your content is not indexed for search, and Perplexity recommends allowing PerplexityBot so your site can appear in its results.
If you want AI citations, allow search crawlers and user-triggered fetchers in robots.txt and at the firewall. Decide separately whether to allow training crawlers. OpenAI, Google and Apple each document a training opt-out with its own controls.
Answer engines need crawler access before they can cite you. What they quote depends on your pages and the third-party sources they trust. See the generative engine optimization guide for how they choose sources.
AI crawler list with a suggested rule for each
The bot names are the tokens to use in robots.txt. The rules draw on each operator's documentation as of November 2026. Use them if you want AI citations and are still deciding whether to allow training.
| Bot | Company | What it does | Obeys robots.txt? | Suggested rule for AI citations |
|---|---|---|---|---|
| OAI-SearchBot | OpenAI | Surfaces websites in ChatGPT search results | Yes | Allow in robots.txt and at the firewall for its published IP ranges |
| GPTBot | OpenAI | Crawls content that may be used to train OpenAI's foundation models | Yes | Allow or block for training. ChatGPT search works either way. |
| ChatGPT-User | OpenAI | Opens pages for actions a ChatGPT or Custom GPT user starts | OpenAI says robots.txt rules may not apply | Allow at the firewall |
| Claude-SearchBot | Anthropic | Crawls to improve the quality of Claude's search results | Yes, under Anthropic's general robots.txt statement | Allow |
| ClaudeBot | Anthropic | Collects content that could help train Anthropic's models | Yes, and it supports Crawl-delay | Your choice |
| Claude-User | Anthropic | Fetches a page when a Claude user's question calls for it | Yes, under Anthropic's general robots.txt statement | Allow |
| PerplexityBot | Perplexity | Surfaces and links websites in Perplexity search; not used for foundation model training | Yes, and Perplexity recommends allowing it | Allow |
| Perplexity-User | Perplexity | Visits a page to answer a user's question and can link it in the answer | Perplexity says it generally ignores robots.txt | Allow at the firewall |
| Googlebot | Crawls for Google Search, including AI Overviews and AI Mode | Yes; Google calls Googlebot rules the control for Search | Allow | |
| Google-Extended | A token with no crawler of its own that controls Gemini training and grounding | It exists only as a robots.txt token | Your choice; Google says it does not affect Search | |
| Google-Agent | Agents on Google infrastructure that browse and act on a user's request | Google's guidance is to allow it by IP range at the firewall | Allow its IP ranges and skip challenges for it | |
| Bingbot | Microsoft | Bing's crawler; Bing reports page citations in Copilot and Bing AI summaries | Bing says it respects robots.txt preferences | Allow |
| Applebot | Apple | Crawls for search in Spotlight, Siri and Safari; data may help train Apple models | Yes, and it ignores crawl-delay | Allow |
| Applebot-Extended | Apple | A token for opting out of Apple's generative model training; it does not crawl | It exists only as a robots.txt token | Allow or block for training. Apple says your site can still appear in search. |
| CCBot | Common Crawl | Builds an open repository of web crawl data | Its page shows a Disallow rule to block it | Your choice |
OpenAI: GPTBot, OAI-SearchBot and ChatGPT-User
OpenAI documents four bots, and OAI-SearchBot is the one that surfaces websites in ChatGPT's search features. OpenAI recommends allowing it in robots.txt and permitting requests from its published IP ranges. GPTBot crawls content that OpenAI may use to train its generative AI foundation models. Disallow GPTBot to tell OpenAI to keep your content out of training. If you allow both bots, OpenAI may use one crawl for both purposes.
ChatGPT-User handles actions a person starts in ChatGPT or a Custom GPT, such as opening a page to answer a question or calling a GPT Action. OpenAI says ChatGPT-User is used only for those requests and plays no part in automatic crawling or search inclusion. Its robots.txt rules may not apply. OAI-AdsBot visits only landing pages submitted as ChatGPT ads to check them against ad policy. OpenAI says it keeps that data out of foundation model training.
To block GPTBot and stay in ChatGPT search, give GPTBot its own group with Disallow: / and add no block for OAI-SearchBot. OpenAI says its search systems can take about 24 hours to reflect a robots.txt change. It publishes an IP list for each bot at openai.com/searchbot.json, openai.com/gptbot.json, openai.com/chatgpt-user.json and openai.com/adsbot.json, and it may add a robots.txt marker to the user agent when it fetches your robots.txt file.
Anthropic: ClaudeBot, Claude-SearchBot and Claude-User
Anthropic says all three of its bots follow standard robots.txt directives. ClaudeBot collects web content that could contribute to training Anthropic's generative AI models. Disallowing ClaudeBot should keep future material from your site out of training datasets. Claude-SearchBot crawls to improve Claude's search results. Anthropic says blocking it prevents your content from being indexed for search and may make your site less visible in those results.
Claude-User fetches pages Claude needs to answer a person's question. Anthropic says blocking Claude-User prevents it from fetching your content for those requests and may make your site less visible in user-directed web searches.
To block ClaudeBot, add a User-agent: ClaudeBot group with Disallow: / to the robots.txt at the top of your domain, and repeat it on each subdomain. Anthropic supports Crawl-delay for pacing. It advises against blocking its IP addresses, because an IP block can stop the bot from reading robots.txt and does not reliably opt you out. Anthropic publishes those addresses at claude.com/crawling/bots.json so you can check whether a visitor comes from Anthropic, and it says its bots do not bypass CAPTCHAs.
Perplexity: PerplexityBot and Perplexity-User
PerplexityBot surfaces and links websites in Perplexity search results, and Perplexity says it is not used to crawl content for AI foundation models. Perplexity recommends allowing it in robots.txt. Perplexity-User visits a page when a user's question calls for it and can link that page in the answer. Because a user triggered the fetch, Perplexity says Perplexity-User generally ignores robots.txt rules.
On Cloudflare, create a custom rule that matches each user agent with its own IP ranges. Set the action to Skip for the security features it should bypass. Place the rule above any block or challenge rules. Perplexity notes that custom rules cannot skip Bot Fight Mode, so it may still challenge its bots. On AWS WAF, build an IP set for each bot. Add an Allow rule that requires both the IP set and the user agent string, and give it a lower priority number than your block rules.
The IP lists are at perplexity.ai/perplexitybot.json and perplexity.ai/perplexity-user.json. Perplexity says robots.txt changes can take up to 24 hours to take effect, and it tells site owners to refresh firewall rules from those files because the ranges change.
Google: Googlebot, Google-Extended and Google-Agent
Google says a page can appear as a supporting link in AI Overviews or AI Mode if it's indexed and eligible for a snippet in Google Search. Those features have no separate requirements. Use your Googlebot rules in robots.txt to control crawling for Search. To limit what Google shows from a page, it points to nosnippet, data-nosnippet, max-snippet and noindex.
Google-Extended is a standalone product token without its own crawler or user agent string. It lets publishers manage whether content Google crawls may be used to train Gemini models and for grounding. Google states that Google-Extended does not affect a site's inclusion in Google Search and is not used as a ranking signal, so a Disallow for Google-Extended leaves AI Overviews and AI Mode to your Googlebot rules. Google-CloudVertexBot crawls only when a site owner requests it to build Vertex AI Agents, and Google says it has no effect on Search.
Agents hosted on Google infrastructure use Google-Agent to browse the web and take actions at a user's request. They send Google-Agent in the User-Agent header and use the IP ranges in Google's user-triggered-agents.json file. Google recommends skipping interactive CAPTCHAs and JavaScript challenges for these agents. Run the allow rule before data center blocks, managed bot rules and AI agent category blocks. Exempt those IP ranges from per-IP rate limits because many users share the same addresses.
Google also asks site owners to keep the pages and API calls an agent needs accessible beyond the homepage. That includes search, filters, detail pages, add-to-cart and booking. Configure load balancers and proxies to pass on the client IP and the User-Agent header. The agent-ready website checklist covers what an agent needs once it reaches those pages.
Applebot, Bingbot and CCBot
Applebot crawls for search in Spotlight, Siri and Safari. Apple says it may also use the data Applebot collects to train its foundation models. Applebot follows robots.txt and uses your Googlebot rules when there's no Applebot group. It ignores crawl-delay. Applebot-Extended is a separate token for opting out of Apple's generative model training and has no crawler of its own. Apple says pages that disallow it can still appear in search results and that its rules do not factor into rankings.
Bing's February 2026 Webmaster post says Bing respects content owner preferences set through robots.txt and other supported controls. The post introduced AI Performance in Bing Webmaster Tools, which counts how often Microsoft Copilot and AI-generated summaries in Bing cite your pages. Keep Bingbot, Bing's crawler, allowed if you want those citations.
Common Crawl is a nonprofit that uses CCBot to build an open repository of web crawl data anyone can access and analyze. Its documentation tells you to block it with a User-agent: CCBot group containing Disallow: / and warns that other crawlers falsely identify themselves as CCBot. Common Crawl describes a research dataset and names no search or answer product. Decide whether to allow CCBot based on whether you want your pages in that dataset.
What a Content-Signal line adds
A Content-Signal line states what crawlers may do with your content after they fetch it. Cloudflare's Content Signals Policy defines three signals. The search signal covers building a search index and providing search results such as links and short excerpts. The ai-input signal covers putting content into AI models in real time, such as retrieval augmented generation and grounding for generative AI search answers. The ai-train signal covers training or fine-tuning AI models.
Use yes to allow collection for a given use and no to withhold permission. If you leave a signal out, the policy says you're leaving permission for that use unspecified. Cloudflare's search signal excludes AI-generated search summaries. Set ai-input to yes if you want to allow that use. If you want AI citations and want to opt out of training, put Content-Signal: search=yes, ai-input=yes, ai-train=no in your User-Agent: * group.
Cloudflare's managed default is Content-signal: search=yes, ai-train=no, use=reference, which leaves ai-input unstated. The use field belongs to a content-use extension Cloudflare is testing. These signals tell crawlers your preferences. Cloudflare says robots.txt compliance is voluntary, so the file alone cannot enforce a block.
Anthropic describes a machine-readable preference for opting out of AI training based on an IETF draft. It says a robots.txt rule that names ClaudeBot takes priority over that preference. Google says it intends to support the shared AIPREF machine-readable training preference signal in early 2027.
CDN and firewall blocks that robots.txt does not show
A CDN or firewall can block an AI crawler without leaving any sign in the robots.txt file that allows it. Cloudflare recommends using robots.txt to state preferences and AI Crawl Control to enforce blocks on selected AI crawlers. Its AI Crawler and Agent access policies group traffic into Search, Agent and Training. Each group has a Block and a Block on pages with ads option. Training also has a Disallow option.
With Bot Preference Sync turned on, Cloudflare prepends managed rules and its Content Signals Policy to your robots.txt whenever a policy blocks, and a Training Disallow also blocks training crawlers at Cloudflare's edge, except mixed-use crawlers. If your origin has no robots.txt, Cloudflare serves one with managed Disallow rules for known AI crawlers. In Cloudflare's own example, the managed file disallows Amazonbot, Applebot-Extended, Bytespider, CCBot, ClaudeBot, Google-Extended, GPTBot and meta-externalagent, and none of the search crawlers in the table above.
If a search bot can't reach your site, open the robots.txt your domain serves. It can differ from the file on your server if your CDN prepends rules. Check the AI bot settings in the CDN dashboard next, then review your WAF rules, rate limits and challenge pages. Perplexity warns that Bot Fight Mode can still challenge its bots. Anthropic says its bots do not bypass CAPTCHAs, so they'll stop at a challenge page.
How to verify a bot's identity
Check the IP address as well as the user agent before you allow a bot past the firewall. Perplexity tells site owners to verify both, and Common Crawl warns that other crawlers falsely identify themselves as CCBot. OpenAI, Anthropic, Perplexity, Google, Apple and Common Crawl each publish IP lists for their bots, and Perplexity advises refreshing allow rules from those files because the ranges change.
To verify Applebot by reverse DNS, check for a hostname in the applebot.apple.com domain. Then use a forward lookup to confirm that the name points back to the same IP address. Apple also publishes CIDR prefixes in applebot.json. Common Crawl runs CCBot on dedicated IP ranges whose addresses resolve to crawl.commoncrawl.org hostnames. Common Crawl says it doesn't yet support reverse DNS over IPv6 and publishes its ranges at index.commoncrawl.org/ccbot.json.
Web Bot Auth lets your site verify a bot's signed requests against the operator's published public keys. Google is testing it for Google-Agent with the identity agent.bot.goog. Signed requests carry a Signature-Agent header plus Signature and Signature-Input headers. Google publishes its key directory at agent.bot.goog/.well-known/http-message-signatures-directory. Any proxies in front of your site must pass through all three headers for the check to work.
A sample robots.txt for a company that wants AI citations
Use this sample to allow search and user-triggered bots and opt out of model training. If you want to allow training, leave out the training groups and set ai-train=yes. Put these rules in the robots.txt file at the root of your domain.
User-Agent: *thenContent-Signal: search=yes, ai-input=yes, ai-train=nothenAllow: /, followed by your usual Disallow lines for admin or checkout pathsUser-Agent: GPTBotthenDisallow: /User-Agent: ClaudeBotthenDisallow: /User-Agent: Google-ExtendedthenDisallow: /User-Agent: Applebot-ExtendedthenDisallow: /User-Agent: CCBotthenDisallow: /Sitemap:followed by the full address of your XML sitemap
Leave the search crawlers unblocked
Write no Disallow group for OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot, Bingbot or Applebot. Applebot falls back to your Googlebot rules when it has no group of its own, so any Googlebot group you add should stay open.
Block training crawlers one token at a time
Give each training crawler you want to block a separate group with Disallow: /. OpenAI, Google and Apple say you can block GPTBot, Google-Extended and Applebot-Extended while remaining eligible for ChatGPT search, Google Search and Apple search, respectively.
Handle user-triggered fetchers at the firewall
Add no Disallow groups for ChatGPT-User, Claude-User, Perplexity-User or Google-Agent. OpenAI and Perplexity say robots.txt may not apply to their user-triggered fetchers, so firewall rules, rate limits and challenge pages decide whether they get through.
Check the file your domain serves
Open /robots.txt on your live domain after you publish. A CDN such as Cloudflare can prepend its own managed rules, so the served file can differ from the one on your server.
Give the change a day
OpenAI says its search systems can take about 24 hours to reflect a robots.txt update, and Perplexity says changes can take up to 24 hours.
How Flectic can help
Flectic's agent-ready website service builds sites that AI search engines and AI agents can fetch and read. The work covers crawler access, server-rendered HTML and structured data, plus accessible forms agents can use to take action. The same team handles website builds, SEO and AI search through the websites and AI search division.
On its own site, flectic.com answers Accept: text/markdown with a Markdown version of each page, publishes /llms.txt, sets per-bot robots.txt rules with a Content-Signal line, and ships JSON-LD on its pages. Flectic also tracks AI answers daily on ChatGPT, Gemini and Google AI Overviews in the US and Canada.
A named senior consultant leads the work. Book a free discovery call. After the call, Flectic sends a written proposal with a fixed price for each phase before work starts.
Sources
OpenAI documents OAI-SearchBot for ChatGPT search, GPTBot for content that may train its foundation models, ChatGPT-User for user-initiated actions where robots.txt rules may not apply, and OAI-AdsBot for ad landing pages. The settings are independent; sites opted out of OAI-SearchBot are not shown in ChatGPT search answers but can appear as navigational links. Search systems can take about 24 hours to reflect a robots.txt update. IP lists are published per bot.
developers.openai.comChecked 2026-11Anthropic runs ClaudeBot (training), Claude-SearchBot (search quality) and Claude-User (user requests), and says its bots honor industry standard robots.txt directives and support Crawl-delay. Blocking Claude-SearchBot means content is not indexed for search; blocking Claude-User stops retrieval for user queries. Anthropic advises against IP blocking, publishes its crawler IPs, says its bots do not bypass CAPTCHAs, and says a robots.txt rule naming ClaudeBot overrides its general AI-training preference setting.
support.claude.comChecked 2026-11PerplexityBot surfaces and links websites in Perplexity search and is not used to crawl content for AI foundation models; Perplexity recommends allowing it. Perplexity-User supports user actions and generally ignores robots.txt rules. Changes can take up to 24 hours. The page gives Cloudflare and AWS WAF allow-rule steps, notes that Bot Fight Mode cannot be skipped with custom rules, and publishes IP lists in JSON.
docs.perplexity.aiChecked 2026-11Google-Extended is a standalone product token for managing whether crawled content may be used to train Gemini models and for grounding; it does not affect inclusion in Google Search, is not a ranking signal, and has no separate user agent string. Google intends to support the AIPREF shared machine-readable training preference signal in early 2027. Google-CloudVertexBot crawls on site-owner request for Vertex AI Agents and has no effect on Search.
developers.google.comChecked 2026-11To appear as a supporting link in AI Overviews or AI Mode, a page must be indexed and eligible to be shown in Google Search with a snippet, and there are no additional requirements. Robots.txt rules for Googlebot are the control for Search crawling; nosnippet, data-nosnippet, max-snippet and noindex limit what is shown.
developers.google.comChecked 2026-11Google-Agent is used by agents hosted on Google infrastructure to navigate the web and perform actions on user request. Requests use the IP ranges in user-triggered-agents.json. Google is experimenting with Web Bot Auth under the identity https://agent.bot.goog, with Signature-Agent, Signature and Signature-Input headers. Site owners should skip CAPTCHAs and JavaScript challenges for it, place the allow rule before broad blocks, exempt its ranges from per-IP rate limits and preserve client IP and signature headers.
developers.google.comChecked 2026-11Cloudflare's Content Signals Policy defines search, ai-input and ai-train, says an omitted signal neither grants nor restricts permission, and says search does not include AI-generated search summaries. The managed default line is Content-signal: search=yes, ai-train=no, use=reference. Robots.txt compliance is voluntary; AI Crawl Control enforces blocks. With Bot Preference Sync, a Training Disallow also blocks training crawlers at the edge, except mixed-use crawlers, and managed rules are prepended to an existing robots.txt.
developers.cloudflare.comChecked 2026-11Applebot powers search in Spotlight, Siri and Safari and its data may help train Apple foundation models; it follows Googlebot rules when no Applebot rule exists and ignores crawl-delay. Applebot-Extended does not crawl webpages; pages that disallow it can still be included in search results, and its rules are not considered in ranking. Applebot is verified by reverse DNS in applebot.apple.com or by the CIDR prefixes in applebot.json.
support.apple.comChecked 2026-11CCBot is Common Crawl's crawler for an open repository of web crawl data. It is blocked with a User-agent: CCBot group and Disallow: /. Some crawlers falsely identify as CCBot. CCBot runs on dedicated IP ranges with reverse DNS to crawl.commoncrawl.org hostnames, except over IPv6, and the ranges are published at index.commoncrawl.org/ccbot.json.
commoncrawl.orgChecked 2026-11Bing's 10 February 2026 post says Bing respects all content owner preferences expressed through robots.txt and other supported control mechanisms, and introduces AI Performance in Bing Webmaster Tools, which reports citations shown as sources in Microsoft Copilot and AI-generated summaries in Bing.
blogs.bing.comChecked 2026-11
Frequently asked questions
Should I block GPTBot if I want to show up in ChatGPT?
You can block GPTBot and keep your site eligible for ChatGPT search. OpenAI says GPTBot collects content it may use to train foundation models. OAI-SearchBot determines search eligibility, and OpenAI handles the two settings independently. If you want to opt out of training, block GPTBot and allow OAI-SearchBot in robots.txt and at the firewall.
Does blocking Google-Extended remove my site from AI Overviews?
No. Google-Extended controls whether Google can use crawled content to train Gemini models or for grounding. Google says the setting has no effect on inclusion in Google Search or on rankings. Your Googlebot rules control Search crawling. AI Overviews and AI Mode use pages that are indexed and eligible for a Google Search snippet.
What is the difference between OAI-SearchBot and ChatGPT-User?
OAI-SearchBot crawls to surface websites in ChatGPT search results and follows robots.txt. ChatGPT-User opens a page only when a person in ChatGPT or a Custom GPT starts an action, and OpenAI says robots.txt rules may not apply to it because the request is user-initiated. OpenAI also says ChatGPT-User does not decide whether content appears in search.
Why can't AI search engines see my site when robots.txt allows their bots?
A CDN or firewall can block a crawler even when the robots.txt file allows it. The file won't show you that block. Cloudflare's AI Crawler and Agent access policies let you set Block for Search, Agent or Training traffic. A WAF rule, a per-IP rate limit or a CAPTCHA can also stop a bot. Anthropic says its bots do not bypass CAPTCHAs, and Perplexity says Cloudflare's Bot Fight Mode may still challenge its bots.
How can I verify an AI crawler's identity?
Match the IP address against the operator's published list as well as checking the user agent, which anyone can copy. OpenAI, Anthropic, Perplexity, Google, Apple and Common Crawl publish IP lists. Apple and Common Crawl also support reverse DNS checks, and Google is testing Web Bot Auth, a signed-request method, for Google-Agent.
Does a Content-Signal line stop AI companies from training on my content?
Cloudflare says that following robots.txt is voluntary. A Content-Signal line tells crawlers your preference but cannot enforce it. Pair ai-train=no with Disallow groups for the training crawlers you want to stop. Use a CDN or firewall rule when you need to enforce the block.
How long does a robots.txt change take to reach AI search?
OpenAI says its search systems can take about 24 hours to reflect a robots.txt update, and Perplexity says its changes can take up to 24 hours. Cloudflare says its managed robots.txt content appears within a few seconds of saving the policy, though each crawler still has to fetch the new file.