Skip to content

Cloudflare blocks AI crawlers by default. Here's how to check your site.

Your website can welcome ChatGPT and Claude while Cloudflare quietly turns them away. What the default does, how to test for it, and how to switch it off.

Joey Desai
· 3 min read

Cloudflare sits in front of a huge share of the web. It makes sites faster, absorbs attacks and filters out bad bots, and it’s part of how we host the sites we build.

Since July 2025, it has also blocked AI crawlers by default on new sites. Cloudflare announced the change on July 1, 2025 to give publishers more control over how AI companies use their content. For a newspaper or an online course, that may be exactly right. For a garage door company or a hair salon that wants ChatGPT to recommend it, it’s the opposite of what you want.

Why it’s easy to miss

The block is invisible to the people who would notice it. A normal visitor in a browser sees the site as usual. Only AI crawlers get turned away.

When an AI crawler is blocked, Cloudflare answers with a 403 error, which means “forbidden.” In our testing that applies to the crawlers that matter most: GPTBot (OpenAI), ClaudeBot (Anthropic), CCBot (Common Crawl, the public web archive many AI models learn from), Amazonbot and Bytespider.

It’s also why a website’s own settings don’t help. Most sites have a file called robots.txt that tells crawlers what they may read, and plenty of them say “everyone is welcome.” But Cloudflare’s block happens before the request ever reaches the website, so the crawler never sees that file. The site says yes, and Cloudflare says no on its behalf.

There’s a second, related setting that lets Cloudflare write its own “disallow” rules for AI bots into your robots.txt. If it’s switched on, even a crawler that gets through is told to leave.

How to check your own site

If you’re comfortable with a terminal, this one line asks your site for its homepage the way OpenAI’s crawler would:

curl -I -A "GPTBot/1.2" https://yourdomain.com/

Look at the first line of the reply. HTTP/2 200 means the crawler gets in. HTTP/2 403 means something is blocking it. Try it again with ClaudeBot/1.0 in place of GPTBot/1.2 to check Anthropic’s crawler too.

If a terminal isn’t your thing, free online header checkers let you set a custom user agent. Or ask whoever manages your website. It’s a one-minute check.

How to switch it off

In the Cloudflare dashboard, select your site, then go to Security, then Settings, and look for the AI crawler options under bot traffic. At the time of writing the option is labeled “AI Crawler and Agent access policies,” with a separate choice for training. Set it to allow. If you see a setting that lets Cloudflare manage your robots.txt for AI bots, turn that off as well.

Cloudflare updates its dashboard often, so labels may move. If you can’t find it, search Cloudflare’s docs for “AI Crawl Control.”

Cloudflare’s separate “Bot Fight Mode,” which fights spam bots, is a different setting. In our testing, the major AI crawlers still get through with it switched on.

Should you allow AI crawlers?

For most local businesses, yes. When someone asks ChatGPT or Claude “who does dumpster rentals in Roanoke?”, you want those tools to have read your website. A local service company has very little to lose from an AI model learning that it exists, what it does and which towns it covers, and a lot to gain.

The case for blocking is stronger when your content is the product. Publishers, course creators and anyone selling original writing or research may reasonably want it kept out of AI training. That’s a business decision, and Cloudflare’s default is designed for them.

The trouble is only that most small businesses inherit the publisher’s default without ever being asked. That’s why we check this on every site we manage and set it to match what the business actually wants, which for local businesses almost always means letting AI tools in.

If your site sits behind Cloudflare and you’re not sure how it’s set up, we’re happy to check. It’s also covered in our FAQ on AI and search.

Joey Desai is a co-founder of Rova Web, a web design, hosting and SEO company in Roanoke, Virginia, and a Virginia Tech computer science graduate. About us

Want help getting found?

We build fast websites and set them up so Google, Bing and AI tools can understand your business.