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.

Using this output

How to read an AI robots.txt draft

01

Allow and disallow are instructions, not a firewall

The draft is a robots.txt fragment for the AI crawlers you toggled: GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and the others in the list. Allow means you are willing to have that bot fetch the paths you named. Disallow means you are asking it not to. Well-behaved crawlers read this file from the host root. A bot that ignores robots.txt will ignore this draft too. The file is public. Do not treat a Disallow line as a security control for a private URL.

Read the user-agent groups separately. A rule under GPTBot does not apply to Googlebot unless you copied it there. Google-Extended is the control for some of Google's AI uses, and it is not the same token as Googlebot. Blocking one and allowing the other is a real choice. A trailing slash and a wildcard change which paths match. Disallow: / blocks the whole host. Disallow: /private/ blocks one prefix. The draft's comments say which you picked. Delete the comments if you like, but do not delete the blank line between groups.

02

Publish the file you meant

Merge this fragment with the robots.txt you already serve. Replacing a file that also lists sitemap and ordinary search rules will drop those rules. Put the AI groups beside them. Then run AI Bot Access Check. That page requests the site with each bot's user agent and shows the status code. A Disallow you just wrote can still be overruled by a firewall that returns 403 to everyone, or by a CDN that does not see the new file yet.

If you also publish llms.txt, decide whether the bots you allow there are the bots you allow here. An llms.txt that invites a crawler you disallow is a contradiction. Agents that follow both will believe the disallow.