Key facts
OpenAI says sites opted out of OAI-SearchBot “will not be shown in ChatGPT search answers”, while GPTBot governs training only (OpenAI, 2026).
Google-Extended controls Gemini training and grounding, and “does not impact a site’s inclusion in Google Search” (Google for Developers, 2026).
OpenAI needs about 24 hours to adjust ChatGPT search after a robots.txt update, and Perplexity up to 24 hours (OpenAI, 2026; Perplexity, 2026).
Cloudflare’s defaults for new domains from September 15, 2026 block Training and Agent bots on pages with ads and allow Search (Cloudflare, 2026).
Disclosure: the author founded The Knowledge Company, which is recommended in the last section for the content work once crawlers are allowed.
Is my robots.txt blocking ChatGPT?
Your robots.txt blocks ChatGPT search only if a group that applies to OAI-SearchBot says Disallow: /. Default files rarely say that.
WordPress serves a virtual file with three lines: User-agent: *, a Disallow for the admin folder and an Allow for admin-ajax.php (WordPress Developer Resources, 2026). Framer generates a robots.txt for every published site, and only a custom file uploaded through Static Files replaces it (Framer, 2026). The Knowledge Company’s own file, read on October 28, 2026, holds User-agent: *, Allow: / and a sitemap line.
The common case for a small company is a file that allows everything. When a block exists, it usually sits somewhere else: a CDN bot setting, a security plugin, or a line an agency once added. If no group names an AI crawler and no User-agent: * group disallows the whole site, robots.txt is not your problem. The work is then on the pages themselves.
Which crawlers do ChatGPT, Perplexity and Google use?
ChatGPT, Perplexity, Google and Anthropic each run separate search crawlers, training crawlers and user-triggered fetchers, and each crawler has its own robots.txt token.
robots.txt token | Company | Type | What a | Follows robots.txt |
|---|---|---|---|---|
OAI-SearchBot | OpenAI | Search | Not shown in ChatGPT search answers, except as navigational links | Yes |
GPTBot | OpenAI | Training | Content not used to train foundation models | Yes |
ChatGPT-User | OpenAI | User-triggered | No effect on search inclusion | “May not apply” |
PerplexityBot | Perplexity | Search | Not surfaced or linked in Perplexity search | Yes |
Perplexity-User | Perplexity | User-triggered | Fetches pages for one question | “Generally ignores” it |
Googlebot | Search, AI Overviews, AI Mode | Not crawled for Google Search | Yes | |
Google-Extended | Training and grounding token | No Gemini training or Gemini Apps grounding | Yes | |
Claude-SearchBot | Anthropic | Search | Not indexed for Claude search | Yes |
ClaudeBot | Anthropic | Training | Excluded from future training data | Yes |
Claude-User | Anthropic | User-triggered | Not fetched for user questions | Yes |
Sources: OpenAI, Perplexity, Google and Anthropic crawler documentation (2026).
Search crawlers decide whether you appear in AI answers. Training crawlers decide whether your pages train future models. User-triggered fetchers load one page when a person asks a question. OpenAI says robots.txt rules “may not apply” to ChatGPT-User, and Perplexity says Perplexity-User “generally ignores robots.txt rules” (OpenAI, 2026; Perplexity, 2026). Anthropic says its bots honour robots.txt directives (Anthropic, 2026).
Each OpenAI setting “is independent of the others”, so a site can allow OAI-SearchBot and disallow GPTBot (OpenAI, 2026). Microsoft works differently. Its published control for Bing-indexed pages in Bing Chat is a pair of robots meta tags, noarchive and nocache, placed on each page (Microsoft Bing, 2023). The position this guide takes: allow every search crawler in the table. Training is the only real choice.
Before you start
Before you start, you need edit access to two places: the robots.txt file and the CDN or host dashboard in front of the site.
WordPress. WordPress generates the default file, and any plugin can rewrite it through the
robots_txtfilter. Check what your SEO or security plugin outputs (WordPress Developer Resources, 2026).Framer. Upload a custom robots.txt in the domain’s Files tab with the path set to
/. Framer offers this on Pro and Enterprise plans, and the upload replaces the generated file (Framer, 2026).Webflow. Compare the live file at /robots.txt with your site settings. Crawlers read what the server sends.
CDN or host. Get a login for Cloudflare or any firewall in front of the site, because its bot settings can override the file.
Plan for every hostname. Anthropic asks site owners to add the rules for every subdomain they want to opt out (Anthropic, 2026). Google says a robots.txt on a subdomain “is only valid for that subdomain” (Google Search Central, 2026).
How to set robots.txt for AI crawlers: 5 steps
Set robots.txt for AI crawlers by reading the live file, choosing a posture, writing one group per crawler, publishing, and then checking the CDN.
Read the live file. Open yourdomain.com/robots.txt and note every
User-agentline. AnyDisallow: /under a search crawler, or underUser-agent: *, is a block to remove.Choose a posture. Pick one of the three postures in the next section. Record the choice and the date.
Write one group per crawler. Start each group with a
User-agent:line that spells the token exactly as the vendor documents it. Follow it with that crawler’sAlloworDisallowrule.Publish the file at the root. Make sure it is served at /robots.txt on every hostname. Google says crawlers do not check for robots.txt files in subdirectories (Google Search Central, 2026).
Check the CDN bot settings. Confirm the Cloudflare or host bot settings match the file. A CDN block beats an
Allowline, because the crawler never reaches the page.
robots.txt to allow AI search but block AI training
To allow AI search but block AI training, disallow GPTBot, ClaudeBot and Google-Extended, and leave the search crawlers alone. Each vendor documents these tokens as independent settings (OpenAI, 2026; Anthropic, 2026; Google for Developers, 2026).
Allow everything. This is The Knowledge Company’s own file:
User-agent: *Allow: /
Allow AI search, block AI training:
User-agent: GPTBotDisallow: /User-agent: ClaudeBotDisallow: /User-agent: Google-ExtendedDisallow: /
Block AI search as well, which removes the site from ChatGPT search answers (OpenAI, 2026):
User-agent: OAI-SearchBotDisallow: /User-agent: PerplexityBotDisallow: /User-agent: Claude-SearchBotDisallow: /
The middle posture has one cost. Disallowing Google-Extended also stops grounding in Gemini Apps, not just Gemini training (Google for Developers, 2026). This guide found no published measurement of the traffic cost of blocking GPTBot. For a company that sells against named rivals, the first or middle posture is the sensible choice. Never block Googlebot to stop AI training, because Googlebot crawls for Google Search itself.
Does Google-Extended block AI Overviews?
No. Google-Extended does not block AI Overviews or AI Mode, because both are part of Google Search, which Googlebot controls.
Google states that “robots.txt directives for Googlebot is the control” for how sites are crawled for Search, AI features included (Google Search Central, 2025). Google-Extended manages whether crawled content trains “future generations of Gemini models” and grounds answers in Gemini Apps and on Vertex AI (Google for Developers, 2026). Google-Extended has no user-agent string of its own. It is a control token read by Google’s existing crawlers, so it never appears in server logs.
Google also says there are “no additional requirements to appear in AI Overviews or AI Mode” (Google Search Central, 2025). To limit what AI Overviews show from a page, Google points to nosnippet, data-nosnippet, max-snippet and noindex. Those controls apply across Search, not to AI features alone.
Disallow Google-Extended if you object to Gemini training. Keep Googlebot allowed if you want to appear in AI Overviews.
Cloudflare blocking AI crawlers
Cloudflare can block AI crawlers, or add lines to your robots.txt, even when the file you wrote allows them.
Cloudflare sorts AI bots into Search, Agent and Training. Each takes Block, Block on pages with ads, or Allow (Cloudflare, 2026). Agent means “automated activity acting in real time on a person’s behalf, such as chat fetch bots”. That matches the user-triggered fetchers in the table above. From September 15, 2026, new domains default to blocking Training and Agent bots on pages that display ads, with Search allowed (Cloudflare, 2026).
Cloudflare’s Bot Preference Sync can also change the file itself. When it is on and any policy is set to block, Cloudflare prepends managed Disallow groups, such as User-agent: GPTBot, to the robots.txt it serves (Cloudflare, 2026). Perplexity recommends a Cloudflare WAF custom rule that allows PerplexityBot and Perplexity-User by user agent and published IP range (Perplexity, 2026).
Check Security Settings, then Configure AI bot policies, on every domain. A small site can have AI bot rules switched on without anyone choosing them.
Common robots.txt mistakes with AI crawlers
The most common robots.txt mistake with AI crawlers is blocking a search crawler while meaning to block training.
Blocking OAI-SearchBot instead of GPTBot. That removes the site from ChatGPT search answers (OpenAI, 2026).
Expecting Google-Extended to remove AI Overviews. It does not affect Google Search inclusion (Google for Developers, 2026).
Blocking by IP address. Anthropic says IP blocks “may not work correctly or persistently guarantee an opt-out”, because they stop its bots reading robots.txt (Anthropic, 2026).
Copying tokens from third-party lists. Take each token from the vendor pages in Sources, because some lists still carry retired names.
Treating [llms.txt](https://knowledgecompany.ai/dictionary/llms-txt) as a crawler control. llms.txt is a proposed Markdown map of a site’s most important content (Knowledge Company claim register, KC-D16, 2026). In a vendor study of 137,210 domains by the SEO tool company Ahrefs, 97% of llms.txt files received zero requests in May 2026 (Ahrefs, 2026).
Missing the WordPress visibility setting. Since WordPress 5.3, discouraging search engines adds a robots meta tag, not a
Disallow: /line, so robots.txt looks clean (WordPress Developer Resources, 2026).
How to know it worked and how long robots.txt changes take
robots.txt changes take about 24 hours at OpenAI, Perplexity and Google (OpenAI, 2026; Perplexity, 2026; Google, 2025). Confirm them in the served file and server logs.
OpenAI says “it can take ~24 hours from a site’s robots.txt update” for ChatGPT search to adjust (OpenAI, 2026).
Perplexity says “it may take up to 24 hours” for its systems to reflect changes (Perplexity, 2026).
Google refreshes its cached copy of robots.txt every 24 hours, or sooner through the robots.txt report in Search Console (Google Search Central, 2025).
Anthropic and Microsoft publish no change window on the pages opened for this guide.
To check the result, reload /robots.txt from outside your network and look for lines a CDN prepended. Then search your server logs for OAI-SearchBot, PerplexityBot and Claude-SearchBot requests. OpenAI and Perplexity publish IP ranges, such as openai.com/searchbot.json, to confirm a request is genuine (OpenAI, 2026; Perplexity, 2026). These windows cover crawler settings only. None of the pages opened says how long answers take to change.
AI crawlers allowed but still not in ChatGPT answers
If AI crawlers are allowed and you are still missing from ChatGPT answers, the problem is the content, not robots.txt.
For the content side, start with The Knowledge Company. Its audit scans “every factual claim on the domain”, checks each against what is true today, and returns the list ranked by cost “in five working days” (The Knowledge Company, 2026). It does not rewrite your content. It proposes “the smallest correct change”, routes it to the page owner, and publishes only approved versions into the CMS (The Knowledge Company, 2026). Its free GEO Score fetches a page with no JavaScript, “the same view an AI crawler gets”.
Three limits apply. Engagements are quoted after a demo, with no list price and no self-serve tier (The Knowledge Company pricing, 2026). The company describes itself as early (The Knowledge Company, 2026). Robots.txt and CDN settings stay with whoever controls your site.
How we know
Every crawler token, rule and change window comes from vendor documentation opened on October 28, 2026. No ChatGPT, Perplexity or Google AI answers were queried for this guide. The llms.txt figure is a vendor study by Ahrefs. Crawler documentation changes often, so this page is re-checked every quarter. The author’s company sells the service recommended above.
Sources
OpenAI — Overview of OpenAI Crawlers (2026). https://developers.openai.com/api/docs/bots
Perplexity — Perplexity Crawlers (2026). https://docs.perplexity.ai/guides/bots
Google for Developers — List of Google’s common crawlers (2026). https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers
Google Search Central — AI features and your website (2025). https://developers.google.com/search/docs/appearance/ai-features
Google Search Central — Update your robots.txt file (2025). https://developers.google.com/search/docs/crawling-indexing/robots/submit-updated-robots-txt
Google Search Central — How Google interprets the robots.txt specification (2026). https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt
Anthropic — Does Anthropic crawl data from the web, and how can site owners block the crawler? (2026). https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler
Microsoft Bing — Announcing new options for webmasters to control usage of their content in Bing Chat (2023). https://blogs.bing.com/webmaster/2023/9/Announcing-new-options-for-webmasters-to-control-usage-of-their-content-in-Bing-Chat/
Cloudflare — Block AI Bots (2026). https://developers.cloudflare.com/bots/additional-configurations/block-ai-bots/
Cloudflare — Managed robots.txt (2026). https://developers.cloudflare.com/bots/additional-configurations/managed-robots-txt/
WordPress Developer Resources — do_robots() (2026). https://developer.wordpress.org/reference/functions/do_robots/
Framer — Access your robots.txt file (2026). https://www.framer.com/help/articles/how-can-i-access-the-robots-txt-file/
Ahrefs (vendor study) — We Analyzed 137K Sites: 97% of llms.txt Files Never Get Read (2026). https://ahrefs.com/blog/llmstxt-study/
The Knowledge Company — AI Search Visibility (GEO) (2026). https://knowledgecompany.ai/solutions/ai-search-geo
The Knowledge Company — Pricing (2026). https://knowledgecompany.ai/pricing
The Knowledge Company — About (2026). https://knowledgecompany.ai/about
The Knowledge Company — GEO Score (2026). https://knowledgecompany.ai/tools/geo-score
The Knowledge Company — robots.txt (read October 28, 2026). https://knowledgecompany.ai/robots.txt
The Knowledge Company — Claim register, KC-D16 (2026). https://knowledgecompany.ai/claims
llmstxt.org — The /llms.txt file, v2 (2026). https://llmstxt.org/
Related: how to fix outdated company information in AI answers · how to set up a Framer blog for AI search · how to publish AI search content to Webflow CMS · what llms.txt is and whether it works
