GeoPromptTracker

Free tool — no sign-up

robots.txt Generator for AI Bots

GPTBot

OpenAI · training

OAI-SearchBot

OpenAI · search

ChatGPT-User

OpenAI · search

ClaudeBot

Anthropic · training

Claude-User

Anthropic · search

Claude-SearchBot

Anthropic · search

PerplexityBot

Perplexity · search

Perplexity-User

Perplexity · search

Google-Extended

Google · training

CCBot

Common Crawl · training

Bytespider

ByteDance · training

Applebot-Extended

Apple · training

Amazonbot

Amazon · both

Meta-ExternalAgent

Meta · training

cohere-ai

Cohere · training

robots.txt output

User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Perplexity-User
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: CCBot
Allow: /

User-agent: Bytespider
Allow: /

User-agent: Applebot-Extended
Allow: /

User-agent: Amazonbot
Allow: /

User-agent: Meta-ExternalAgent
Allow: /

User-agent: cohere-ai
Allow: /

User-agent: *
Disallow: /admin/
Disallow: /cart/

Blocking or allowing AI crawlers used to mean digging up each company's user-agent string and hand-writing User-agent / Disallow blocks from scratch. This tool does that for you: toggle each bot individually, or apply a preset, and get a ready-to-deploy robots.txt.

Why it matters for AI search: every major AI product — ChatGPT, Claude, Perplexity, Gemini — either trains on crawled web content, answers questions by browsing live, or both, and each behavior is controlled by a separate crawler with its own user-agent. Getting this wrong in either direction has a cost: leaving training bots unblocked when you didn't intend to allow them, or accidentally blocking a search/browsing bot and disappearing from AI-generated answers entirely.

How this tool works: start from a preset — Allow all, Block training bots only, or Block all — or fine-tune each bot with an individual toggle. The tool covers the major AI crawlers (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-User, Claude-SearchBot, PerplexityBot, Perplexity-User, Google-Extended, CCBot, Bytespider, Applebot-Extended, Amazonbot, Meta-ExternalAgent, cohere-ai), labeled by operator and purpose (training vs. search) so you know exactly what each toggle controls. You can also add a standard User-agent: * block with your own disallowed paths, and include a Sitemap: line. The output updates live and can be copied or downloaded as robots.txt.

Limitations: this tool generates rules for AI bots plus one general-purpose block — it isn't a full robots.txt editor for complex multi-crawler setups with crawl-delay directives or dozens of path-specific rules for non-AI crawlers (like Googlebot-Image or Bingbot). If you already have a robots.txt with custom logic, treat this tool's output as a block to merge in rather than a full replacement. To check what your current, live robots.txt actually allows before making changes, use the companion AI Crawler Access Checker.

Frequently asked questions

How do I block GPTBot specifically?

Toggle GPTBot to 'Blocked' (or use the 'Block training bots only' preset), then copy or download the output and replace your site's robots.txt with it, or merge the GPTBot rule into your existing file.

What's the difference between the presets?

'Allow all' permits every AI bot. 'Block training bots only' blocks crawlers used to train models (like GPTBot and ClaudeBot) while leaving search/browsing bots (like OAI-SearchBot and Claude-User) allowed, so you can still appear in AI answers without contributing to model training. 'Block all' blocks every AI bot in the list.

Will this override my existing robots.txt?

This tool generates a complete file from scratch. If you already have custom rules (for other crawlers, disallowed paths, crawl-delay directives, etc.), merge the AI-bot blocks this tool outputs into your existing file rather than replacing it outright.

Should I block AI bots at all?

It depends on your goals — blocking training bots protects your content from being used in model training, but blocking search/browsing bots also removes you from AI-generated answers and citations. See our guide on the trade-offs before deciding.

Does robots.txt actually stop AI companies from using my content?

robots.txt is a voluntary standard that reputable crawlers respect, but it isn't an enforcement mechanism. It's the correct first step, but not a guarantee against every possible bot.

Related