Crawler Policy Tool

Job-Based AI Robots.txt Policy Generator

Build a clean, RFC 9309-compliant robots.txt file sorted by bot job—training, search indexing, live user fetching and SEO crawlers—so you protect content without losing AI search citations.

80%
Share of AI crawling used for training (Cloudflare, Aug 2025)
52
Verified crawler & control tokens supported
500 KiB
Minimum robots.txt size crawlers must parse (RFC 9309)

Interactive Policy Builder

Generate a job-based robots.txt file

Pick a policy preset or toggle individual crawlers. Private paths are repeated inside every named group so specific bot groups do not leak private routes (RFC 9309).

Toggle crawlers to block (13 blocked)

/robots.txt913 bytes
# Blocked crawlers and control tokens
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: Amazonbot
User-agent: CCBot
User-agent: Bytespider
User-agent: Diffbot
User-agent: FacebookBot
User-agent: omgili
User-agent: AI2Bot
User-agent: anthropic-ai
Disallow: /

# Explicitly allowed AI search and fetchers (private paths repeated per RFC 9309)
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Google-Agent
User-agent: Meta-ExternalFetcher
User-agent: Amzn-User
User-agent: cohere-ai
User-agent: MistralAI-User
User-agent: YouBot
User-agent: DuckAssistBot
User-agent: Meta-WebIndexer
Disallow: /admin/
Disallow: /api/

# Default rule for all other crawlers
User-agent: *
Disallow: /admin/
Disallow: /api/

Frequently Asked Questions

Why does the generator repeat Disallow: /admin/ inside named bot groups?
Under RFC 9309, a crawler follows only the most specific matching User-agent group and ignores User-agent: *. Repeating private paths prevents named search bots from crawling private routes.
Can I block AI model training without hurting Google Search or ChatGPT Search?
Yes, use the Block AI training only preset. It disallows training tokens like GPTBot, ClaudeBot, CCBot and Google-Extended while keeping Googlebot, OAI-SearchBot and Claude-SearchBot open.
Do all AI bots obey a robots.txt Disallow rule?
Operators state that major training and search bots obey robots.txt, while five of six major user-fetch bots (including ChatGPT-User and Perplexity-User) warn that robots.txt rules may not apply.

Primary Sources

Verified

Related Research Guides