AI CRAWLERS BLOCKED? CHECK ROBOTS.TXT, CLOUDFLARE AND JS

Alex Kiritschenko
Alex Kiritschenko
NOV 25, 2026 | UPDATED: NOV 26, 2026 // 17 MIN READ
AI CRAWLERS BLOCKED? CHECK ROBOTS.TXT, CLOUDFLARE AND JS

AT A GLANCE

KEY TAKEAWAYS
  • AI invisibility has three causes: a “keep out” sign in your robots.txt, a bouncer in the form of a firewall or CDN, and content that only appears via JavaScript. Each one needs its own test.
  • Search and training crawlers are separate: at OpenAI, GPTBot is used for training and OAI-SearchBot for search in ChatGPT. Which block costs you visibility depends on exactly this split.
  • Since July 2025, Cloudflare has announced and documented new default settings for AI crawlers several times. Only your own dashboard shows what applies to your domain.
Contents

You ask ChatGPT for providers in your industry, and your website doesn't show up. Is that down to your content, or can the AI not even get to it?

You can answer the second question yourself in a few minutes, no developer needed. Think of your website as a shop that an AI crawler wants to visit. Three things can stop it: a “keep out” sign on the door (your robots.txt), a bouncer who turns it away (a firewall, your hosting provider or Cloudflare) and empty shelves, because the goods are only stocked via JavaScript once a real browser walks in. There's a simple test for each of the three.

All information as of November 25, 2026. The providers are changing their documentation quickly right now, so I link every statement to its source.

The 5-minute quick test: can AI reach your website?

For a first overview, all you need is a browser. Run these three tests on your home page and on one important subpage, such as a service or product page.

  1. Read the sign: Open yourdomain.com/robots.txt in your browser and use Ctrl+F (Mac: Cmd+F) to search for GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and for User-agent: *. If Disallow: / sits directly below one of them, the door is closed for that crawler. I'll explain what each name means in a moment.
  2. Get past the bouncer: Enter your URLs in my AI Bot Check and select OAI-SearchBot, Claude-SearchBot and PerplexityBot one after the other. The tool reads your robots.txt and fetches the page with the identifier of the respective bot. If it gets any status code other than 200, such as 403, your server is turning the bot away.
  3. Look at the shelves: Open the page in your browser, press Ctrl+U (Mac: Cmd+Option+U) to view the page source and use Ctrl+F to search for a sentence that absolutely has to be found. If it isn't there, it's only created via JavaScript, and some AI crawlers will see empty shelves.

If all three tests come back clean, I'd say your website is hardly the problem from a technical point of view. If one of them flags something, you'll find the explanation and the next step below.

Which AI crawlers are there, and which block costs you visibility?

An AI crawler is a program an AI provider uses to fetch web pages automatically. OpenAI and Anthropic send out different crawlers for different jobs: one for their search, one for fetches when a user asks about your page in the chat, and one for training their models. For your visibility in AI answers, the first two matter most.

What each crawler does and what a block does, according to the providers:

  • OpenAI, OAI-SearchBot: search in ChatGPT. A block means no more ChatGPT search answers, at most a navigational link.
  • OpenAI, ChatGPT-User: fetches on a user's request. robots.txt rules may not apply here.
  • OpenAI, GPTBot: model training. A block signals: don't use the content for training.
  • Anthropic, Claude-SearchBot: search in Claude. A block means the content isn't indexed for search.
  • Anthropic, Claude-User: fetches on a user's request. A block means Claude doesn't fetch the page when a user asks.
  • Anthropic, ClaudeBot: model training. A block signals: don't use future content for training.
  • Perplexity, PerplexityBot: search, no training. Perplexity recommends allowing it for its search results.
  • Perplexity, Perplexity-User: fetches on a user's request. It generally ignores robots.txt.
  • Google, Googlebot: Google Search. A block means the page isn't crawled (step 2).
  • Google, Google-Extended: not a crawler, just a control token. It affects training, not search (step 2).

Sources: OpenAI, Anthropic, Perplexity, Google, accessed on November 25, 2026.

What this means for you: for fetches on a user's request, robots.txt is a reliable lever only at Anthropic. According to the providers, it may not apply to ChatGPT-User and generally doesn't apply to Perplexity-User; there, the bouncer is more likely to decide. I've summarized what else OpenAI is preparing for businesses in ChatGPT in my post on “Claim your business in ChatGPT”.

Step 1: What does the sign on your door say?

The robots.txt is a simple text file in the root directory of your domain. It states which crawlers may fetch which areas. It works like a sign on the door: reputable crawlers follow it, but it doesn't lock anything. The IETF standard RFC 9309 from September 2022 says so explicitly: the rules are not a form of access authorization.

How to read the file:

  • Each group starts with User-agent: and the name of a crawler. * stands for all crawlers that don't have a group of their own.
  • Disallow: / means the whole website is off limits for this crawler. Allow: / means everything is allowed.
  • Important: If a crawler has its own group, only that group applies to it, and it ignores the rules under * (Google specification). So if * has Disallow: /, every crawler without its own group is locked out, including the ones nobody thought of when the file was created.

Here's what a robots.txt looks like that lets AI search in and keeps training out:

User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /

User-agent: *
Allow: /

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

This is an example of the syntax, not a template for every website. Whether you allow training is a separate decision, more on that at the end. You can test individual rules with my robots.txt Validator, where you can also enter an AI crawler under “Custom”.

One pitfall: sometimes your robots.txt contains rules that nobody on your team wrote. Cloudflare can prepend its own blocks, which you'll recognize by the line # BEGIN Cloudflare Managed content (Cloudflare docs). More on this in step 3. What happens if the file is missing or the server returns an error is covered in the FAQ at the end.

Step 2: What applies at Google for AI Overviews and AI Mode?

Google has no separate AI crawler that you could block for AI Overviews or AI Mode. Instead, there's a switch for this in Google Search Console.

The setting is called “Search generative AI” and covers AI Overviews, AI Mode and the generative AI features in Google Discover. According to the Search Console Help, it has been rolled out to all websites worldwide since August 31, 2026. By default, your content is included. Here's how to check it:

  1. In Search Console, go to Settings.
  2. Open Search generative AI.
  3. Check whether “Include” is active or whether the property inherits the value from a parent property, for example a URL-prefix property from the domain property.

And Google-Extended? According to Google, it isn't a crawler of its own but a name you can use in your robots.txt. It controls whether your content is used for training future generations of the foundation models behind Google's generative AI products and for grounding in Google's AI products outside of Search. According to Google, Google-Extended has no effect on inclusion in Google Search, and it isn't a ranking signal either.

My take: if you lock out Googlebot, you lose Google Search and with it its AI features. So use the quick test above to make sure Googlebot doesn't accidentally end up under a Disallow: /.

Step 3: Does the bouncer let AI crawlers in?

The bouncer is everything that stands between the crawler and your website: your hosting provider's firewall, a security plugin in your CMS or a service like Cloudflare. It can turn a crawler away no matter what the sign says. You'll notice because the bot gets an error (usually 403 or 429) or a challenge page, while your browser sees the page as normal.

The fastest test for this is the AI Bot Check from the quick test. For each URL, it shows the status code your server returns to the respective bot.

Every test of this kind has one limitation: it only pretends to be an AI crawler, it isn't one. Many firewalls also check which IP address a request comes from, and OpenAI explicitly recommends allowing requests from its published IP ranges. In my view, the test reliably shows whether a block by name kicks in. What the real crawlers experience only shows up in your server logs or in Cloudflare's analytics.

If your website runs through Cloudflare

Since July 2025, Cloudflare has announced new default settings for AI crawlers several times. According to the current documentation, they're set to “Allow (do not block)” for new domains. What applies to your domain, however, depends on when it joined Cloudflare, which plan you're on, whether your pages show ads and whether anyone ever changed the settings. That's why only a look at the dashboard helps:

  1. Security, Settings, filter “Bot traffic”: Under “AI Crawler and Agent access policies”, you'll find the actions for Search, Agent and Training (Cloudflare docs). If it says “Block”, Cloudflare rejects matching requests for the whole domain before they even reach your server. According to Cloudflare, the Training setting also applies to crawlers that are used for both search and training.
  2. Bot Preference Sync: If this feature is active and at least one setting is on Block or Disallow, Cloudflare writes its own rules at the top of your robots.txt (Cloudflare docs). Those are the unfamiliar lines from step 1.
  3. Bot Fight Mode: According to Cloudflare, you can't bypass this mode with your own WAF rules. In its guide, Perplexity points out that Bot Fight Mode can still challenge its bots even if an exception rule exists.
  4. AI Crawl Control: According to Cloudflare, this analytics view is available on all plans. It shows you which AI services fetch your pages and whether they follow your robots.txt.
For the curious: how Cloudflare's defaults have evolved
  • July 1, 2025: According to Cloudflare, the service blocks AI crawlers that access content without permission or compensation by default. New domains are asked at sign-up whether they want to allow AI crawlers (press release).
  • September 24, 2025: Launch of the Content Signals Policy for robots.txt. According to Cloudflare, the managed robots.txt was active on more than 3.8 million domains at that point (Cloudflare blog).
  • July 1, 2026: Split into Search, Agent and Training for all plans. Announced: from September 15, 2026, new domains were to block Training and Agent on pages with ads and allow Search, as were existing Free customers who hadn't changed their settings by then (changelog, press release).
  • September 15, 2026: The “Block AI Bots” toggle is replaced by three settings. New websites see suggested settings depending on their business model: with ads, Training on Disallow and Agents blocked on ad pages; without ads, everything allowed. The managed robots.txt is now called “Bot Preference Sync” (press release).
  • Documentation as of November 2, 2026: For new domains, Search, Agents and Training are set to “Allow (do not block)” by default (documentation).

The sources don't make it clear whether the announced switch for existing accounts was implemented as planned.

If your website doesn't run through Cloudflare

Then the bouncer is standing somewhere else, but he isn't necessarily gone. I'd treat hosting firewalls, other providers' web application firewalls and CMS security plugins as possible causes in exactly the same way, there's just no central dashboard for them. The AI Bot Check helps here, along with a look at your server logs to see whether requests from AI crawlers are being rejected.

Be careful with blanket IP blocks: Anthropic writes that blocking its IP addresses doesn't work reliably as an opt-out, because the bots then can't read your robots.txt either (Anthropic).

For your developer team or hosting provider

You can also run the fetch test in the terminal. The first command fetches the home page with the OAI-SearchBot identifier (taken from the OpenAI documentation; the version number in it may change), the second with a regular browser identifier. If the bot gets a different status code than the browser, that points to a targeted block.

curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot" https://www.yourdomain.com/

curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" https://www.yourdomain.com/

With curl -sI and the same identifier, you can see the response headers. If they include server: cloudflare, it's worth checking the Cloudflare dashboard; otherwise, a block is more likely to sit with the hosting provider, the web server or a plugin.

If you'd rather not do this yourself, you can forward this message:

“Please check whether our website lets the AI crawlers OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot and Perplexity-User through. I'd like to know whether our firewall, CDN or security plugins reject these bots with a 403, a 429 or a challenge, and whether requests from these bots arrive in the server logs with status code 200.”

Step 4: Are your shelves stocked without JavaScript?

Many modern websites first deliver an almost empty skeleton. Texts, prices or links are only loaded afterwards in the browser via JavaScript. A crawler that doesn't execute JavaScript then faces empty shelves.

READY TO GROW?

Let's review your setup and uncover untapped potential.

START YOUR PROJECT

Google executes JavaScript, using an up-to-date version of Chromium. Even so, Google writes in its JavaScript SEO basics that server-side rendering or pre-rendering is still a good idea, because not all bots can run JavaScript.

And the AI crawlers? The evidence is thinner than many posts suggest:

  • The crawler documentation from OpenAI, Anthropic and Perplexity says nothing about whether their bots execute JavaScript (checked on November 25, 2026).
  • One public measurement comes from Vercel and MERJ, dated December 17, 2024. At that time, none of the major AI crawlers executed JavaScript; the ones named are OAI-SearchBot, ChatGPT-User, GPTBot, ClaudeBot, Meta-ExternalAgent, Bytespider and PerplexityBot. According to the analysis, Gemini uses Googlebot's infrastructure and renders fully, and Applebot renders as well.

My take: the measurement is almost two years old, and the providers can change their crawlers at any time. Still, I don't think betting on an AI crawler running your JavaScript is a good idea. Whatever is already in the delivered HTML reaches every crawler.

How to check your shelves more closely:

  1. Pick a key sentence: one that absolutely has to be found, such as your service with your location or a product with its price.
  2. Search the page source: Ctrl+U, then Ctrl+F. Really use the page source, not the developer tools. The developer tools show the page after JavaScript has run.
  3. Turn off JavaScript: Disable JavaScript in your browser settings and reload the page. Whatever is missing now is missing for crawlers without JavaScript.
  4. Check the usual suspects: main text, page title, internal links in the navigation, product data and structured data. Online shops and single-page apps in particular like to load these later.

If something is missing, that's a job for your developer team: the usual solution is server-side rendering or pre-rendering. I'd add exactly this test to every SEO audit, at the latest when you switch shop systems or CMS.

What does your result mean, and what do you do now?

Here's how typical findings from the four steps translate into your next move:

  • Disallow: / under a search crawler: You're missing from that AI search. Change the group to Allow: /.
  • Disallow: / under *, no AI group: Crawlers that follow robots.txt stay outside. Add groups for the search crawlers.
  • Disallow: / under GPTBot or ClaudeBot: A signal against training; according to the providers, search uses a separate crawler. Nothing to do if that's intended.
  • # BEGIN Cloudflare Managed content: Cloudflare is writing along. Check the dashboard.
  • 403 or 429 in the AI Bot Check: The bouncer is turning bots away. Check Cloudflare, your hosting provider and plugins.
  • Search Console set to “Exclude”: You're out of AI Overviews and AI Mode. Make a conscious decision.
  • Key sentence missing from the page source: Empty shelves. Server-side rendering.

My advice: repeat the quick test after every relaunch, CMS update or change of hosting provider or CDN. Security settings tend to change along the way without anyone thinking about AI visibility.

Block or allow: what's the right setting?

If you want to be mentioned in ChatGPT, Claude or Perplexity, allow the search crawlers and the fetches on a user's request. Whether you allow training is a separate decision that you can make for each provider individually.

My take: there's no one-size-fits-all answer for training. A publisher with paywalled content does the math differently from a machine manufacturer that wants every model to know its products. I've compiled how German publishers actually handle this in my own analysis of 49 robots.txt files: Which AI crawlers German publishers block in robots.txt.

If your website targets the EU, there's a legal side as well. Article 4 of the EU Directive 2019/790 on copyright in the Digital Single Market allows text and data mining of lawfully accessible works unless the rightholder has expressly reserved this use “in an appropriate manner, such as machine-readable means in the case of content made publicly available online”. Germany implemented this as § 44b of its Copyright Act (UrhG): for works accessible online, a reservation is only effective there if it is made in machine-readable form. Cloudflare explicitly refers to Article 4 of the directive in its Content Signals. Whether a line in your robots.txt counts as an effective reservation in a specific case is a legal question I can't answer, and this isn't legal advice. Please clarify it with a lawyer.

An interesting new, cross-provider approach: on October 30, 2026, Google announced that it will support a shared signal against AI training in robots.txt from 2027. It's based on work by the IETF's AIPREF working group, and the Google-Extended documentation says early 2027. Anthropic writes that it has been honoring the signal since October 30, 2026 and is rolling it out gradually. A rule that explicitly names ClaudeBot takes precedence. Until this has reached all providers, the individual crawler names in robots.txt remain the reliable route.

And if all the doors are open and AI systems still don't mention you? Then, in my view, it's more about content, mentions and how clearly AI systems can place what you offer. That's exactly what I look at in my work on Generative Engine Optimization.

Sources

All sources accessed on November 25, 2026:

06. FAQ

How quickly does a robots.txt change take effect?
Not immediately. OpenAI says about 24 hours for ChatGPT search, Perplexity says up to 24 hours. Google generally caches the robots.txt for up to 24 hours, and longer if it can't fetch the file.
How can I tell whether a request really came from GPTBot?
Not reliably from the user agent alone, because any client can set it freely, as the fetch test in this post shows. OpenAI, Perplexity and Anthropic publish the IP addresses of their crawlers. Compare the IP in your server log against these lists. For Google, the reverse DNS lookup that Google itself describes helps as well.
Do I need a robots.txt at all?
No. If your server returns a 404 for the robots.txt, Google assumes there are no restrictions. Server errors are the tricky part: on a 5xx, Google initially stops crawling for 12 hours, and the RFC 9309 standard even says to assume a complete block in that case.
Does Crawl-delay work for AI crawlers?
Partly. Anthropic supports the non-standard Crawl-delay directive for its bots, while Google doesn't support it according to its specification. For other providers, the answer is only in their own documentation.
Alex Kiritschenko
ABOUT THE AUTHOR

I'm Alex Kiritschenko, an SEO & GEO consultant for B2B and e-commerce. I help websites get found in Google and cited in AI answers such as ChatGPT, Gemini and Google AI Overviews.


HANDS-ON INSIGHTS ON SEO & AI

Strategies on AI tools and SEO. Straight from practice to your inbox.

Your subscription could not be saved. Please try again.
Almost there – please confirm the link in your email now.
STATUS: ACTIVE FOCUS: SEO & AI