AI Crawler robots.txt Generator - GPTBot/Claude/CC
Generate robots.txt rules for AI crawlers (GPTBot, ClaudeBot, CCBot): allow or block per bot with one-click presets.
This tool runs in your browser: what you enter is processed on your device and normally never appears in a request to any server.
Usage Guide
GPTBot, ClaudeBot, PerplexityBot, CCBot — AI company crawlers are reading your site for training and retrieval. Allow, block, or partially allow is a new webmaster decision. This tool ships a knowledge base of 12 mainstream AI crawlers (UA string, owner, purpose, official docs link); you set a three-way choice per crawler (allow / block / skip) and get a syntactically correct robots.txt snippet. Generation is fully local — your choices are reported to no one.
1. How to use
Everything is local. Remember robots.txt is a convention: reputable AI companies honor it, but it cannot stop non-compliant scrapers — those need server-side UA and rate policies.
- Browse the crawler list: each card shows the UA string, owner (OpenAI / Anthropic / Google…), purpose (training / search index / answer citation), and the official documentation link.
- Set the three-way choice: Allow (explicit), Disallow (explicit), or skip (no entry generated — no stance).
- Generate the snippet and paste it into your site’s robots.txt. Output is grouped by UA with placement notes.
2. The allow-vs-block trade-off
Blocking training crawlers (e.g., CCBot) keeps content out of model training sets — at the cost of losing referral traffic from AI search engines that cite with links. Since 2024 many publishers deliberately allow search/citation crawlers for AI-channel visibility while restricting pure training bots. There is no universal answer; it depends on the business model. Ad-driven tool sites often allow “search/citation” and restrict “training-only”; subscription content sites tend to block all. The purpose labels on each card exist to inform exactly this call.
3. robots.txt syntax essentials
- User-agent strings must match official spelling — the list is checked against each vendor’s docs.
- “Disallow: /” blocks the site; “Disallow: /private/” blocks a directory; an empty Disallow allows everything.
- Ordering does not create precedence — every UA matches its own block; don’t rely on allow-then-deny overrides.
- Crawlers re-fetch robots.txt on their own schedules (hours to days); changes are not instant.
4. Common questions
- “Content was already crawled — does blocking help?”: robots.txt affects future fetching only; recall or training opt-out goes through each vendor’s removal process (see their docs).
- “Is Googlebot an AI crawler?”: Google’s classic search crawler and AI-training crawlers (e.g., Google-Extended) are separate UAs — blocking training does not touch Google Search.
- “Skip vs. allow”: skip writes nothing (default: most crawlers may fetch); allow writes an explicit Allow line, typically combined with scoped Disallow lines.
- To verify your live robots.txt: curl your /robots.txt or use a vendor robots tester.
5. Relationship to llms.txt
robots.txt governs “may you fetch”; llms.txt governs “what should you read once you do” — a curated site guide for AI systems (see the llms.txt generator here). A sound combo: robots.txt for the permission boundary, llms.txt for content guidance. They complement, not replace, each other.
FAQ
Twelve mainstream ones — GPTBot, OAI-SearchBot, ClaudeBot, Claude-Web, anthropic-ai, CCBot, Google-Extended, PerplexityBot, Bytespider, YisouBot and more. Each card lists the UA string, the owner, the crawl purpose (training, search indexing, or answer citation), and a link to the official documentation.
Three limits worth knowing: it affects future fetching only, so removing already-crawled content or opting out of training goes through each vendor's official process; crawlers re-fetch the file on their own schedules, so changes land in hours to days rather than instantly; and it is fundamentally a gentleman's agreement — reputable AI companies honor it, while rogue fetchers call for server-side UA and rate-limit defenses.
No. Google's classic search crawler (Googlebot) and its AI-training crawler (Google-Extended) are separate user agents, so rejecting only the training kind leaves Google Search untouched; the UA strings in the list are all verified against official docs.
It depends on your business model. Ad-driven tool sites usually allow search/citation crawlers — Perplexity's citations carry links, buying exposure and backlinks from AI channels — while restricting pure-training ones like CCBot; subscription content sites tend to block everything. The purpose label on each crawler card exists for exactly this decision.
Skip writes no entry, which is the default and generally means fetch-permitted; allow writes an explicit Allow line, usually combined with directory-scoped Disallow rules to express partial access. Entry order carries no precedence — each UA independently matches its own block.
No — generation happens entirely in your browser, and your three-state selections are reported to no one.