Does robots.txt allow the main AI crawlers?
AI answers can only cite pages their crawlers are allowed to read. Citelog reads your robots.txt against 30 AI crawlers and fails the page if any main search or user-triggered crawler is blocked.
At a glance
| Check | robots.txt allows the main AI crawlers |
ID in --json output |
robots_ai |
| Why it matters | AI answers can only cite pages their crawlers are allowed to read. |
| Weight | 3 of 17 points in the 0-100 score (a warning earns 50% of them) |
What does Citelog check?
It reads /robots.txt and works out, for this page's path, whether each crawler in its catalog may fetch it, following the same matching rules crawlers use (the most specific group, the longest matching rule).
- Fail: a main crawler is blocked. The main crawlers are OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, Googlebot and Bingbot.
- Warn: Google-Extended is blocked (it also controls grounding in Gemini answers), or a training-only crawler is blocked: GPTBot, ClaudeBot, Applebot-Extended, MistralAI-Training, Amazonbot, Meta-ExternalAgent and CCBot.
- Pass: no robots.txt, or every main crawler may read the page. Other blocked crawlers are named in the detail.
The detail names the line that blocks, for example "User-agent: * / Disallow: /blog/" (line 4).
Why does blocking training crawlers only warn?
Training and search use separate tokens. Blocking GPTBot stops OpenAI training on your pages, but ChatGPT search uses OAI-SearchBot and ChatGPT-User, so it can still cite you. Many sites block training on purpose, so Citelog tells you rather than failing the page.
How do I allow AI search but block training?
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: OAI-AdsBot
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: Claude-Agent
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Googlebot
User-agent: Google-Extended
User-agent: Google-Agent
User-agent: Google-GeminiNotebook
User-agent: Google-NotebookLM
User-agent: Google-CloudVertexBot
User-agent: bingbot
User-agent: Applebot
User-agent: DuckAssistBot
User-agent: MistralAI-User
User-agent: MistralAI-Index
User-agent: Amzn-SearchBot
User-agent: Amzn-User
User-agent: meta-webindexer
User-agent: meta-externalfetcher
Allow: /
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: MistralAI-Training
User-agent: Amazonbot
User-agent: meta-externalagent
User-agent: CCBot
Disallow: /A crawler follows only the most specific group that names it. Once a group names a crawler, your User-agent: * rules stop applying to it, so copy any Disallow lines you still want into the groups above.
Each crawler has its own page with rules to copy: see the AI crawler list.
How do I fix a fail?
- Find the line the detail names. A broad
User-agent: *withDisallow: /blocks every crawler, AI search included. - Add a group for the blocked crawler with
Allow: /, or narrow theDisallowto the paths you mean. - Check your CDN or firewall too: a "block AI bots" setting (Cloudflare has one) can turn crawlers away even when robots.txt allows them.
npx citelog yoursite.comshows whether a firewall answers AI crawlers differently.
How do I test it?
npx citelog check https://yoursite.com/your-page
curl -s https://yoursite.com/robots.txtSources
- Google Search Central: Introduction to robots.txt
- RFC 9309: Robots Exclusion Protocol
- Each crawler's vendor docs, linked from its page in the AI crawler list.