cd /news/developer-tools/robots-check-see-what-your-robots-tx… · home topics developer-tools article
[ARTICLE · art-124087] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Robots-check: see what your robots.txt is serving (Cloudflare AI Crawl Control)

A new open-source tool called robots-check reveals that Cloudflare's AI Crawl Control feature silently appends its own rules to websites' robots.txt files, often blocking AI crawlers like GPTBot and Google-Extended without site owners' knowledge. The tool, created by developer Jani Bert and available via GitHub, fetches the live robots.txt over HTTPS and reports whether it is Cloudflare-managed, which AI bots are blocked or allowed, and whether a sitemap is declared. It requires Node 18+ and has no dependencies.

read2 min views1 publishedSep 9, 2026
Robots-check: see what your robots.txt is serving (Cloudflare AI Crawl Control)
Image: Michielbdejong (auto-discovered)

See what your site's robots.txt actually serves — including whether Cloudflare's "AI Crawl Control" feature is silently appending its own rules on top of yours.

While deploying a few small sites behind Cloudflare, we noticed our own robots.txt files weren't what was actually being served. Cloudflare injects a managed block (look for # BEGIN Cloudflare Managed content) that adds its own AI-crawler-blocking rules — real search engines are usually left alone, but plenty of site owners have no idea this is happening at all, and it's easy to assume the file in your repo/origin is the one being served when it isn't.

robots-check fetches the live file over HTTPS and tells you, in plain terms:

  • whether it's Cloudflare-managed (and where to check/adjust it)
  • whether real search engines (Googlebot, Bingbot, etc.) are actually allowed to crawl
  • which AI training/crawling bots (GPTBot, ClaudeBot, Google-Extended, CCBot, Bytespider, and others) are blocked vs. allowed
  • whether a sitemap is declared at all

No API keys, no signup, no dependencies — just Node's built-in https module.

npx github:janibert1/robots-check example.com

Or clone it and run directly:

git clone https://github.com/janibert1/robots-check
cd robots-check
node robots-check.js example.com

Requires Node 18+.

example.com — 47 non-blank lines

⚠ This robots.txt is (at least partly) Cloudflare-managed.
  Cloudflare's "AI Crawl Control" feature injects its own block into what's
  actually served — your origin server's own robots.txt file may say
  something different from what's shown below. Check your Cloudflare
  dashboard under Bots → AI Crawl Control if this doesn't match your intent.

Real search engines:
  (any not listed above default to the same as User-agent: * → allowed)

AI training/crawling bots:
  gptbot                         blocked
  google-extended                blocked
  ccbot                          blocked
  ...

Sitemap: https://example.com/sitemap.xml

It can't see your origin server's own robots.txt file directly — only what's actually served over HTTPS to a real request, which is what matters for crawling anyway. If Cloudflare (or another CDN/WAF) sits in front of your site, that's the version to trust regardless of what's in your repo.

MIT

── more in #developer-tools 4 stories · sorted by recency
── more on @cloudflare 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/robots-check-see-wha…] indexed:0 read:2min 2026-09-09 ·