Skip to main content
FreeIs your website in AI answers?Get a free audit

GEO · 9 min read

Is Cloudflare hiding your website from AI search?

It can, though for many small business sites it doesn't by default. Cloudflare's current defaults block AI training bots and AI "agent" bots on pages that show ads, and leave search bots alone. Problems start when the older "Block AI bots" switch is on, or Training is set to Block, because Cloudflare now applies that block to crawlers that do search and training together. Here's how to check your settings in about five minutes.

Published 31 October 2026
A website owner at a laptop sees a friendly search robot stopped by a security gate in front of their website.

What Cloudflare does with AI bots

Cloudflare can turn a bot away before it ever reaches your website, which is a much harder block than robots.txt.

Cloudflare is a service that sits in front of many websites. It speeds them up and filters out bad traffic. Because every visit passes through it first, it can refuse a bot outright. robots.txt, the small file that tells bots what they may read, is only a request. A Cloudflare block is a locked door.

Since 1 July 2026, Cloudflare sorts AI bots by what they do, in three groups:

  • Search: bots that read and index your pages so an assistant can answer questions with them later. OpenAI's OAI-SearchBot, Anthropic's Claude-SearchBot and PerplexityBot do this job.
  • Agent: bots acting for a person in real time, such as the fetch an assistant makes when someone asks it about your page. OpenAI's ChatGPT-User and Perplexity-User work this way.
  • Training: bots that collect pages to train or fine-tune AI models, such as GPTBot and ClaudeBot. Cloudflare's docs say this group also includes "mixed-purpose crawlers" used for both training and search.

For each group you can pick Block (on all pages), Block on pages with ads or Allow (do not block). Cloudflare says these controls are available on every plan, including Free.

What changed, and when

Cloudflare has changed its AI bot defaults twice in just over a year, so a site set up in 2024 can behave differently from one set up last month.

  • 1 July 2025: Cloudflare began asking every new domain at sign-up whether it wanted to allow AI crawlers.
  • 1 July 2026: the single "Block AI bots" switch was replaced by the Search, Agent and Training settings above.
  • 15 September 2026: new domains get new defaults. Training and Agent bots are blocked on pages that display ads. Search stays allowed. The same date, mixed-purpose crawlers that combine search and training started being blocked by every setting that blocks training, including the old "Block AI bots" switch, which Cloudflare is phasing out.

Two details come from news coverage rather than Cloudflare's own docs. Search Engine Journal reported that existing Free plan sites that hadn't changed their settings were also moved to the new defaults, and that Googlebot, Bingbot and Applebot count as mixed-purpose crawlers. Cloudflare's documentation that we read doesn't name the bots in each group. If that report is right, a site that blocks training on Cloudflare could also be blocking Google.

Who this actually affects

The new defaults mostly touch sites that show ads, while the bigger risk is an old training block you've forgotten about.

Look at two examples. A food blog in Pune that runs display ads: by default, ChatGPT-User and similar agent bots are blocked on its ad pages. When someone asks ChatGPT about one of its recipes, ChatGPT may not be able to open the page. A dentist in Austin with no ads on the site: the ad-page defaults don't change anything, because Cloudflare only applies them to pages it detects ads on.

Now the trap. If anyone ever switched on "Block AI bots" for that dentist, or set Training to Block, mixed-purpose crawlers are caught by it. That's the setting to look for first. A developer or agency may have switched it on during setup without telling you.

Search bots are allowed by default, so on a site nobody has touched, ChatGPT, Claude and Perplexity search can usually still read your pages. Cloudflare publishes how it labels each bot in the Cloudflare Radar bots directory, if you want to look one up.

Check your Cloudflare settings, click by click

You need two screens: the AI bot policies under Security, and the per-crawler list in AI Crawl Control.

The AI bot policies

  1. Log in at dash.cloudflare.com and choose your account, then your website (Cloudflare calls it a domain or zone).
  2. In the left menu, open Security, then Settings.
  3. Filter the list by Bot traffic.
  4. Find Configure AI bot policies. On some accounts you may still see the older Block AI bots switch.
  5. Set Search to Allow (do not block). This is the one that keeps you findable in AI search.
  6. Set Agent to Allow (do not block) if you want assistants to open your pages when people ask about them. For a local business, that's usually what you want.
  7. Choose Training yourself (see the next section before you pick Block).
  8. Select Save.

The per-crawler list

  1. In the left menu, open AI Crawl Control.
  2. Open the Security tab (the crawler list may also be labelled Crawlers).
  3. Look at the Action column. Make sure OAI-SearchBot, Claude-SearchBot and PerplexityBot are set to Allow.
  4. Check the Category column too. Cloudflare's own docs warn that blocking bots marked as search engine crawlers can hurt your SEO.

Bot Fight Mode

Under Security, Settings, Bot traffic, you'll also see Bot fight mode. On the Free plan it challenges traffic that looks like known bots, and Cloudflare says you can't add exceptions for specific bots. If AI search bots still can't get through after the steps above, this is the next switch to test.

Diagram of Cloudflare as a gatekeeper in front of a website, sorting arriving bots into three lanes: search, agent and training, each with its own allow or block sign.

The safe way to block AI training on Cloudflare

If you want to keep training bots out without touching Google, don't set Training to Block. Use robots.txt lines, or Cloudflare's Disallow option, instead.

Cloudflare's docs say a Training block also covers mixed-purpose crawlers. Cloudflare's robots.txt feature works differently. With Enable Bot Preference Sync turned on and Training set to Disallow, Cloudflare adds "do not train" lines to your robots.txt and blocks AI training crawlers at the door, and its docs say mixed-use crawlers are left out of that block.

The other route is to write the lines yourself. Name the training bots (GPTBot, ClaudeBot, CCBot and Google-Extended) and allow the search bots. The AI robots.txt generator makes that file for you. Google says Google-Extended doesn't affect inclusion in Google Search, so it's safe to block.

Blocking training is a choice about how your content is reused later. It neither helps nor hurts your rankings.

Cloudflare may also be editing your robots.txt

Depending on your settings, Cloudflare can add lines to the top of your robots.txt, or serve one for you if you don't have one.

When Bot Preference Sync is on and any AI policy is set to block, Cloudflare puts its own "managed" lines at the top of your robots.txt. If your site has no robots.txt, Cloudflare creates one. Free plan sites with no robots.txt of their own may also show Cloudflare's Content Signals Policy, which lists categories such as search, ai-input and ai-train. Cloudflare says that policy sets no preference on its own.

So the robots.txt bots see may not be the one your developer wrote. Open yoursite.com/robots.txt in a browser to see the real thing, or let the checker read it for you.

The checker reads robots.txt. A block at Cloudflare's firewall doesn't appear there, which is why the next step matters.

Confirm the change worked

Wait about a day, then check what bots actually did, not just what your settings say.

  • In Cloudflare: AI Crawl Control lists each AI crawler with its request count and trend. Cloudflare notes that unsuccessful requests can come from any rule, not only AI Crawl Control, so a crawler with many failed requests is still worth a look. On the Free plan it spots AI crawlers by the name they give.
  • In your access log: your server writes a line for every visit, bots included. Look for OAI-SearchBot, ChatGPT-User and PerplexityBot, and check they get a 200 (OK) answer, not a 403 (blocked). Since 30 September 2026, Cloudflare's Logpush, which exports request logs, is available on every plan, with 25 GB a month included before charges.
  • The easy way: open your log file in our AI bot log checker. It reads the file in your browser, shows which AI bots came and which pages returned errors, and nothing is sent to us. It reads common server log formats and Cloudflare's JSON request logs.

OpenAI says robots.txt changes for ChatGPT search take about 24 hours to take effect. When a bot actually comes back depends on the bot, so give it a few days before you worry.

Do you need Cloudflare's AI blocking at all?

For most small businesses that want customers to find them, the safe setup is to leave search and agent bots alone, and block training only if you want to.

A jeweller in Jaipur, a plumber in Leeds or a clinic in Austin wins when an assistant reads their page and names them in an answer. Blocking the search bots or the agent bots works against that. Training is a separate question about how your content is reused, and either answer is fine.

Cloudflare's block is useful in one case: some bots don't follow robots.txt. Cloudflare and Anthropic both say robots.txt compliance is voluntary. If a scraper keeps ignoring your file, a firewall block is the tool for it.

And if you don't use Cloudflare at all, none of this applies. Check robots.txt and your website builder's settings instead. Our GEO guide covers the rest of what makes AI assistants trust and name a business.

Questions people ask

Does Cloudflare block ChatGPT by default?

Not ChatGPT search. Since 15 September 2026, Cloudflare's default for new domains allows Search bots such as OAI-SearchBot, but blocks Training bots like GPTBot and Agent bots like ChatGPT-User on pages that show ads.

Will Cloudflare's AI blocking hurt my Google rankings?

It can if you block training. Cloudflare says training blocks also cover mixed-purpose crawlers, and Search Engine Journal reported that Googlebot is treated as one. Leave Training on Allow or Disallow, or use robots.txt lines instead.

Where is the Block AI bots setting in Cloudflare now?

Go to Security, then Settings, filter by Bot traffic, and open Configure AI bot policies. The old Block AI bots switch is being phased out from 15 September 2026.

What does Block on pages with ads mean?

Cloudflare detects which of your pages show ads and blocks the chosen bot group only on those pages. Pages without ads aren't affected.

Does Bot Fight Mode block AI crawlers?

It challenges traffic that matches known bot patterns, and on the Free plan you can't add exceptions. If AI search bots can't reach your site after you've allowed them, test with Bot Fight Mode off.

How do I check if Cloudflare is blocking AI bots on my site?

Look at AI Crawl Control in your Cloudflare dashboard for failed requests per crawler, or open your access log in a free log checker and look for 403 answers to OAI-SearchBot or ChatGPT-User.

About this guide

A Vectura Digital team guide

Our guides bring together the work of several people on the team, from SEO and AI search to web development and Google Business Profiles, so they carry the company name. The sources we used are listed below, and the date at the top shows when the guide was last updated. Meet the team.

Sources: Cloudflare Docs, Block AI Bots (Configure AI bot policies, new defaults on 15 Sept 2026); Cloudflare Changelog, New options to manage AI traffic (1 Jul 2026); Cloudflare Docs, AI bots classification; Cloudflare Docs, Verified bots; Cloudflare Docs, robots.txt setting (managed robots.txt, Bot Preference Sync, Content Signals); Cloudflare Docs, Manage AI crawlers (AI Crawl Control); Cloudflare Docs, Bot Fight Mode; Cloudflare Docs, WAF feature interoperability (Free plan, Bot Fight Mode exceptions); Cloudflare Changelog, Logpush available on all plans (30 Sept 2026); Search Engine Journal, Cloudflare's AI crawler rules can block Googlebot (2 Jul 2026); TechCrunch, Cloudflare's new policy pushes AI companies to pay for publishers' content (1 Jul 2026); ITPro, Cloudflare lets website owners block AI crawlers by default (1 Jul 2025); OpenAI, Overview of OpenAI crawlers; Google Search Central, List of Google's common crawlers; Anthropic, Does Anthropic crawl data from the web.

Run your first audit now.

See how Google and AI tools read your business, with a score and what to fix first. Free to start, no card needed.