← All posts

Post

Cloudflare AI Labyrinth: How It Works and Whether to Turn It On

Cloudflare AI Labyrinth feeds decoy pages to AI crawlers that ignore your rules. Learn how it works, how to switch it on or off, and who should skip it.

14 min read

Copy this article

Clipboard access is unavailable. Select the Markdown and copy it, then paste it into your chat.

Cloudflare AI Labyrinth is an opt-in setting that hides extra links in your pages and leads AI crawlers that ignore your crawl rules into a maze of decoy, AI-generated pages instead of your real content. It doesn’t block those bots. It wastes their time, and it helps Cloudflare learn what they look like. Whether you should turn it on depends on what you want from AI crawlers, so this post walks through the mechanics and lets you decide.

Everything below comes from Cloudflare’s own documentation and blog posts, linked beside each claim. This changes fast, so check the dates and current pages.

Quick answer

AI Labyrinth is a Cloudflare Bots feature that injects hidden honeypot links into your HTML and serves AI-generated decoy pages to crawlers that follow them, according to the AI Labyrinth docs. It targets crawlers that ignore “no crawl” directives, and Cloudflare’s launch post says legitimate users and verified crawlers browse normally. To switch it on, open Security Settings in the Cloudflare dashboard, filter by Bot traffic, find AI Labyrinth and turn it on. The March 2025 launch post said it was open to all customers, including Free, but the current docs don’t list plans, so confirm in your dashboard.

What Cloudflare AI Labyrinth is

AI Labyrinth is a Cloudflare mitigation for one problem: AI crawlers that scrape sites without respecting what the site owner wants. The Cloudflare launch post describes it as an approach that uses AI-generated content to slow down, confuse and waste the resources of crawlers that ignore “no crawl” directives.

Why not just block them? Because blocking tells the bot’s operator it was detected. The operator changes tactics and an arms race starts. Cloudflare’s stated goal was to thwart bots without letting them know.

Scale is part of the story. The post (March 19, 2025) says AI crawlers generate more than 50 billion requests to the Cloudflare network every day, just under 1% of all web requests.

The current docs describe the feature as adding invisible honeypot links with nofollow tags to your pages. A honeypot is a trap, something normal visitors never touch. Cloudflare’s docs currently label the feature Beta (checked 2026-10-21).

How AI Labyrinth works step by step

Put the docs page and the launch post together and you get this sequence.

  1. You switch it on. It’s a single toggle, and the launch post says it starts working immediately with no extra configuration.
  2. Cloudflare injects hidden links into the HTML of your pages. According to the docs, only bots can see them, and they do not affect SEO or how the page looks.
  3. Only suspected AI scrapers see them. The launch post says the links are hidden from humans using attributes and styling, and that legitimate users and verified crawlers browse the site as usual.
  4. A crawler that ignores your instructions follows a link and lands on a decoy page instead of your real content. The decoy links to more decoys, and so on.
  5. The decoy pages are pre-built. The post says the content is generated with Workers AI using an open-source model, sanitized against cross-site scripting, and stored in R2 (Cloudflare’s object storage), so it is not produced live for each request.
  6. Cloudflare learns from the visit. The post says bots that follow these links are flagged with high confidence, added to a list of known bad actors and used to improve machine learning detection. Its reasoning is that no real person would go four links deep into a maze of AI-generated pages unrelated to your site.
  7. The knowledge is shared. The docs say details about these crawlers are used by all Cloudflare customers who choose to block AI bots.

What’s inside the decoy pages

The launch post says the generated content is real scientific fact, just not relevant to or proprietary to the site being crawled. The goal was to avoid spreading misinformation. The post also says the generated pages carry meta directives that stop search engines from indexing them, which it says protects SEO.

What real visitors and good crawlers get

Per the launch post, humans and verified crawlers do not get the hidden links. Per the docs, crawlers that respect your no-crawl instructions ignore the honeypot.

How to turn Cloudflare AI Labyrinth on or off

The docs page, last updated September 17, 2026 at the time of writing, gives the dashboard steps:

  1. Open the Cloudflare dashboard and go to the Security Settings page.
  2. Filter by Bot traffic.
  3. Find AI Labyrinth.
  4. Turn AI Labyrinth on.

To turn it off, flip the same toggle back. The docs say Cloudflare stops injecting new honeypot links immediately. Links created while the feature was on stay valid for a limited time, though, and Cloudflare keeps serving labyrinth content for them. So you may still see AI Labyrinth events in Security Analytics for a while after you switch it off. The docs say that’s expected and doesn’t mean the feature is still on.

On plans, the launch post says it’s available to all customers, including the Free plan. The docs page does not discuss plans or entitlements, and it documents the dashboard route only. It gives no API instructions, so none are described here.

Running a site on Cloudflare Pages? Cloudflare’s docs do not say whether AI Labyrinth applies to Pages sites. The custom domains page for Pages says an apex custom domain must be a Cloudflare zone, while a subdomain does not have to be. Check whether the AI Labyrinth setting shows up for your zone instead of assuming.

What AI Labyrinth does and doesn’t do

It adds hidden honeypot links to your HTML for suspected AI scrapers, and it serves AI-generated decoy pages to crawlers that follow them. That’s the whole job.

Here’s what it leaves alone:

  • It does not block or challenge requests. The docs state that the Served and Crawls events are not mitigations, and that Cloudflare does not block or challenge the request.
  • It does not stop a crawler that never touches the hidden links.
  • It does not enforce your robots.txt. It’s a trap, not a policy engine.
  • It does not remove anything already collected. Content a crawler fetched before it hit the trap is still in its hands.

The launch post also says Cloudflare planned to make the links harder to spot and to fit each site’s structure better. Detection and evasion will keep moving.

Trade-offs and risks

False positives and legitimate crawlers

The docs and launch post both say the links shouldn’t affect SEO and that verified crawlers aren’t shown them. The sources checked do not publish a false positive rate, so there is no figure for how often a legitimate visitor or tool might be flagged. If you run link checkers or your own scripts against your site, test them after switching it on.

The arms race

Cloudflare frames this as a response to an arms race. A determined crawler operator can adapt, so AI Labyrinth works as one layer among several.

Your content may be used anyway

AI Labyrinth only affects crawlers that walk into it. Crawlers that ignore your rules but skip the hidden links still read your real pages. It will not protect you from AI training.

Alternatives and companions

AI Labyrinth is one of several controls Cloudflare documents. Only the short versions are here.

Start with robots.txt, the simplest instruction. Cloudflare’s managed robots.txt can add AI crawler directives for you, and it places its content before your existing rules. The docs say robots.txt compliance is voluntary, so it states your preference but does not technically block access. Cloudflare says it is available on all plans.

Next is AI Crawl Control (formerly AI Audit). Its docs describe a dashboard that shows which AI services access your content, lets you set allow or block rules for individual crawlers, and tracks robots.txt compliance. The page says it is available on all plans.

The older Block AI bots setting was marked “Deprecating on September 15, 2026”. The docs point to Configure AI bot policies under Security Settings, with Search, Agent and Training presets. Plan availability is not stated there, so check the dashboard. The companion post on Bot Fight Mode, SEO and AI crawlers covers the presets, defaults and deprecation.

Pay per crawl is part of AI Crawl Control. It lets site owners set a price per zone for AI crawler access. The docs (updated July 28, 2026) say it’s in closed beta, and that crawlers either pay or receive an HTTP 402 Payment Required response. Those docs also say that WAF or Bot Management blocks override the pay per crawl charge.

Rate limiting rules, noindex tags and an ai.txt file aren’t covered here because Cloudflare’s docs don’t present them as AI crawler controls.

My take: I’d leave AI Labyrinth off

This section is my opinion. The rest of the post isn’t.

My view is that AI products that crawl and use a site’s information usually credit the source, so I’d leave it off. Cloudflare’s data below shows that doesn’t hold for every operator.

Parts of it hold. Some AI products do show citations with links. Cloudflare’s Radar analysis from August 29, 2025 notes that Anthropic’s web search, introduced in March 2025, “introduced direct citations with clickable URLs, creating new referral pathways.” And the ratios vary a lot. In the same post’s January to July 2025 data, Google’s crawl-to-refer ratio was 3.8 in January and 5.4 in July, while Microsoft’s was 38.5 and 40.7. Those are single digit or double digit ratios, far smaller than the figures below. Cloudflare says its Google referral figures come from a dataset of news related customers, so they may not match every site.

Others look worse. The same post shows large gaps. Anthropic’s ratio was 286,930.1 in January 2025 and 38,065.7 in July 2025, OpenAI’s was 1,217.4 and 1,091.4, and Perplexity’s was 54.6 and 194.8. A ratio of 38,065.7 means roughly that many page crawls for each referred visit. Cloudflare’s earlier July 1, 2025 post measured Anthropic at 70,900:1 for June 19 to 26, 2025. It says its measure counts only referrals that carry a Referer header, and that Claude’s native app sends none. The ratios may be overstated by an unknown amount.

Purpose matters too. The August 2025 post puts the share of AI crawling for training at about 80% over the previous 12 months, with search at about 18% and user actions at about 2%. Cloudflare notes these labels rely on operator disclosures, not independent verification. I’d expect training crawls to produce the fewest visible citations, but Cloudflare does not measure that, so it is only my guess. Search and answer crawlers are the ones that cite, so my premise fits them best. Crawl-to-refer ratios compare crawl requests to referrals, and on their own they are not evidence of misuse.

One more wrinkle. AI Labyrinth doesn’t pick crawlers by purpose. It only targets crawlers that ignore your instructions. A well-behaved search crawler that cites you will never see it. The bots it catches are already ignoring the rules, and those may not credit anyone. So my premise bears only indirectly on the decision: whether most AI products cite sources says little about the specific crawlers Labyrinth affects.

In the end it depends on your site and its goals. A static personal blog that wants readers benefits from being found, and its content is free to read anyway. A publisher with paywalled or licensed content has a different calculation, because being crawled without payment can cost real revenue.

Should you turn it on? A decision checklist

Run through these for your own site.

  • Is my content free to read and meant to be found? If yes, the case for AI Labyrinth is weaker.
  • Is my content paywalled, licensed or the core product I sell? If yes, the case is stronger.
  • Does AI Crawl Control show crawlers that ignore my robots.txt? That’s the group AI Labyrinth targets.
  • Is my domain running through Cloudflare? If not, the setting doesn’t apply.
  • Do I want to measure first? If you try it, do it on a low risk site first, keep your sitemap and Search Console in view, and know that turning it off doesn’t stop labyrinth content immediately.

If most answers point toward “I want to be found,” leaving it off makes sense. If most point toward “my content is the product,” it’s worth trying, along with AI Crawl Control rules.

Did it actually work?

The docs say events are logged under the AI Labyrinth service and show up in Security Analytics and Security Events. There are two event types. AI Labyrinth Served means Cloudflare injected honeypot links into an HTML response. AI Labyrinth Crawls means a crawler followed an injected link and entered the maze.

A high ratio of Crawls to Served suggests non-compliant crawlers are actively following the links, per the docs. A Served count alone doesn’t mean a bot did anything. To check, filter Security Events by the AI Labyrinth service after it’s run for a while.

FAQ

What is Cloudflare AI Labyrinth?

It’s an opt-in Cloudflare Bots feature that injects hidden honeypot links into your HTML and serves AI-generated decoy pages to crawlers that follow them. It targets AI crawlers that ignore “no crawl” directives. Cloudflare’s launch post says legitimate users and verified crawlers browse normally. Cloudflare’s docs currently label it Beta.

Does AI Labyrinth hurt SEO?

Cloudflare’s docs say the hidden links don’t affect SEO, and its launch post says verified crawlers aren’t shown them. The decoy pages also carry meta directives that stop search engines from indexing them. The sources checked don’t publish a false positive rate, so test any link checkers or scripts you run against your site after switching it on.

Does AI Labyrinth block AI crawlers?

No. The docs say the Served and Crawls events aren’t mitigations, and Cloudflare doesn’t block or challenge the request. It doesn’t stop a crawler that never touches the hidden links, doesn’t enforce your robots.txt and doesn’t remove anything a crawler already collected. Crawlers that skip the links still read your real pages.

How do I turn AI Labyrinth on or off?

In the Cloudflare dashboard, open Security Settings, filter by Bot traffic, find AI Labyrinth and flip the toggle. The same toggle turns it off. Cloudflare stops injecting new honeypot links immediately, but links created earlier stay valid for a limited time, so you may still see AI Labyrinth events in Security Analytics for a while. The March 2025 launch post said it was open to all customers including Free, but the current docs don’t list plans, so confirm in your dashboard.

How can I tell whether AI Labyrinth is working?

Look in Security Analytics and Security Events, where events are logged under the AI Labyrinth service. Served means Cloudflare injected honeypot links into an HTML response, and Crawls means a crawler followed an injected link and entered the maze. A high ratio of Crawls to Served suggests non-compliant crawlers are following the links, while a Served count alone doesn’t mean a bot did anything.

Should I turn AI Labyrinth on?

It depends on what you want from AI crawlers. The case is weaker if your content is free to read and meant to be found, and stronger if it’s paywalled, licensed or the product you sell. My view, labelled as opinion in the post, is that I’d leave it off, though Cloudflare’s crawl to referral data shows citation practices vary a lot by operator.

Where to go next

Start with the AI Labyrinth docs for the current wording, then look at your own Security Analytics before deciding. For the other Cloudflare bot settings and how they affect search, read the companion post on Bot Fight Mode, SEO and AI crawlers. If you build tools that visit websites yourself, see how AI agents can browse, build and test through a browser. And if you want a habit for trying new tools like this one safely, there’s how to ship small AI projects.

  • #cloudflare
  • #ai-crawlers
  • #bots
  • #web-security