BrowserLeaksUSBrowserLeaksUS

robots.txt Generator for AI Crawlers

Control AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, +15 more). 100% client-side, no AI call needed.

Configure

Comma or newline-separated: /admin, /private/

robots.txt

10 AI-search crawlers allowed (on-demand fetchers) and 13 training-only crawlers blocked. Good balance between discoverability and training opt-out.

# robots.txt - generated by BrowserLeaksUS /ai/robots-ai/

User-agent: *
Disallow:

# GPTBot - OpenAI (Crawls content to train GPT models.)
User-agent: GPTBot
Disallow: /

# ChatGPT-User - OpenAI (Fetches pages on-demand when ChatGPT users click links.)
User-agent: ChatGPT-User
Disallow:

# OAI-SearchBot - OpenAI (Indexes pages for ChatGPT Search.)
User-agent: OAI-SearchBot
Disallow:

# ClaudeBot - Anthropic (Crawls content for Claude training and retrieval.)
User-agent: ClaudeBot
Disallow:

# anthropic-ai - Anthropic (Anthropic training crawler (legacy name).)
User-agent: anthropic-ai
Disallow: /

# Claude-Web - Anthropic (On-demand fetcher for Claude conversations.)
User-agent: Claude-Web
Disallow:

# PerplexityBot - Perplexity (Indexes pages for Perplexity search.)
User-agent: PerplexityBot
Disallow:

# Perplexity-User - Perplexity (Fetches pages when Perplexity users click links.)
User-agent: Perplexity-User
Disallow:

# Google-Extended - Google (robots.txt-only token - controls use for Gemini / Vertex AI (does NOT affect Google Search).)
User-agent: Google-Extended
Disallow: /

# Applebot-Extended - Apple (robots.txt-only token - controls use for Apple AI model training.)
User-agent: Applebot-Extended
Disallow: /

# CCBot - Common Crawl (Common Crawl archive - widely used in LLM training sets.)
User-agent: CCBot
Disallow: /

# Bytespider - ByteDance (ByteDance / TikTok AI training crawler.)
User-agent: Bytespider
Disallow: /

# Meta-ExternalAgent - Meta (Meta / Facebook AI training crawler.)
User-agent: Meta-ExternalAgent
Disallow: /

# Meta-ExternalFetcher - Meta (Meta on-demand fetcher.)
User-agent: Meta-ExternalFetcher
Disallow:

# Amazonbot - Amazon (Amazon / Alexa AI training crawler.)
User-agent: Amazonbot
Disallow: /

# YouBot - You.com (You.com search crawler.)
User-agent: YouBot
Disallow:

# cohere-ai - Cohere (Cohere training crawler.)
User-agent: cohere-ai
Disallow: /

# DuckAssistBot - DuckDuckGo (DuckDuckGo AI assistant fetcher.)
User-agent: DuckAssistBot
Disallow:

# MistralAI-User - Mistral (Mistral on-demand fetcher.)
User-agent: MistralAI-User
Disallow:

# FacebookBot - Meta (Facebook AI / translation crawler.)
User-agent: FacebookBot
Disallow: /

# Diffbot - Diffbot (Diffbot web extraction / AI training.)
User-agent: Diffbot
Disallow: /

# Omgilibot - Webz.io (Webz.io / Omgili data collection for AI.)
User-agent: Omgilibot
Disallow: /

# Timpibot - Timpi (Timpi decentralized search / AI.)
User-agent: Timpibot
Disallow: /
Place the file at the root of your domain: /robots.txt. Test with Google Search Console.

Bot Rules

GPTBotOpenAI
DISALLOW
ChatGPT-UserOpenAI
ALLOW
OAI-SearchBotOpenAI
ALLOW
ClaudeBotAnthropic
ALLOW
anthropic-aiAnthropic
DISALLOW
Claude-WebAnthropic
ALLOW
PerplexityBotPerplexity
ALLOW
Perplexity-UserPerplexity
ALLOW
Google-ExtendedGoogle
DISALLOW
Applebot-ExtendedApple
DISALLOW
CCBotCommon Crawl
DISALLOW
BytespiderByteDance
DISALLOW
Meta-ExternalAgentMeta
DISALLOW
Meta-ExternalFetcherMeta
ALLOW
AmazonbotAmazon
DISALLOW
YouBotYou.com
ALLOW
cohere-aiCohere
DISALLOW
DuckAssistBotDuckDuckGo
ALLOW
MistralAI-UserMistral
ALLOW
FacebookBotMeta
DISALLOW
DiffbotDiffbot
DISALLOW
OmgilibotWebz.io
DISALLOW
TimpibotTimpi
DISALLOW

What this tool does

Generates a complete robots.txt with explicit rules for 22 AI crawlers (GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Bytespider, Meta-ExternalAgent, and more). Pure client-side - no AI call, instant output.

Who it's for: Any site owner who wants to control whether AI companies train on their content, index it for AI search, or both.

When to use

  • •Block all AI training crawlers while keeping AI-search bots (for referral traffic).
  • •Opt out of Google Gemini / Apple AI training without affecting Google Search ranking.
  • •Whitelist specific bots for partnerships.
  • •Audit existing robots.txt and upgrade to current AI bot list.

How it works

  1. 1Pick a policy: Allow all, Allow search-only, Block all, or Custom per-bot.
  2. 2Optionally add extra disallow paths and a sitemap URL.
  3. 3File is generated instantly in your browser.
  4. 4Download or copy and upload to /robots.txt at your domain root.

Tips

  • •'Allow search-only' is the balanced default - opts out of training, stays in AI answers.
  • •Google-Extended only affects Gemini/Vertex AI, not Google Search.
  • •Combine with the Content Signals header for stronger opt-out signaling.