Free Online Tool

Robots.txt Generator with AI Crawler Rules

Build a robots.txt in your browser: allow AI search crawlers such as OAI-SearchBot and PerplexityBot while blocking AI training bots like GPTBot.

AI crawlers


How to use it

  1. Choose what happens to crawlers you don’t list: allow them, or block the whole site.
  2. Add paths that no crawler should fetch, such as an admin area.
  3. Set each AI crawler to Allow or Block, or start from a preset.
  4. Save the result as robots.txt at the root of your host, for example https://example.com/robots.txt. Each subdomain needs its own file.

The file is built in your browser and nothing you type is uploaded. A crawler you set to Allow gets no group of its own, so it follows the rules for all crawlers, including the blocked paths.

Which AI crawler does what

CrawlerCompanyWhat it doesIf you block it
OAI-SearchBotOpenAIFinds pages for ChatGPT searchYour pages are not shown in ChatGPT search answers, though they can still appear as navigational links
ChatGPT-UserOpenAIVisits a page when a ChatGPT user asksOpenAI says robots.txt rules may not apply to these user-initiated visits
GPTBotOpenAICollects content that may be used to train OpenAI’s modelsTells OpenAI not to use your content for training; ChatGPT search uses OAI-SearchBot instead
Claude-SearchBotAnthropicIndexes pages to improve Claude’s search resultsYour pages may be less visible in Claude’s search results
Claude-UserAnthropicFetches a page when a Claude user asksClaude can’t retrieve your pages to answer user questions
ClaudeBotAnthropicCollects content that may help train Anthropic’s modelsYour future content is excluded from Anthropic’s training data
PerplexityBotPerplexityFinds and links pages in Perplexity’s search results; not used for trainingPerplexity recommends allowing it so your pages can appear in its results
Perplexity-UserPerplexityFetches a page when a Perplexity user asksPerplexity says this fetcher generally ignores robots.txt
Google-ExtendedGoogleNot a crawler: a token that controls whether Google’s crawl may be used for Gemini training and grounding in Gemini appsNo effect on inclusion or ranking in Google Search
Applebot-ExtendedAppleNot a crawler: controls whether Applebot’s data trains Apple’s foundation modelsYour pages can still appear in Apple’s search results
CCBotCommon CrawlBuilds Common Crawl’s open web archiveYour pages are left out of future Common Crawl crawls
meta-externalagentMetaCrawls for uses such as training foundation models or indexing content for Meta productsBlocks those uses; Meta says its user-requested fetcher may bypass robots.txt

Sources: OpenAI, Anthropic, Perplexity, Google, Apple, Common Crawl and Meta crawler documentation, checked November 18, 2026.

What robots.txt can’t do

  • It is a request, not a lock. Firewalls and CDN bot settings work separately. If your site is behind a CDN such as Cloudflare, check its bot settings too: they can block a crawler that your robots.txt allows.
  • User-initiated fetchers may not follow it. OpenAI, Perplexity and Meta say so for their fetchers that visit a page because a person asked.
  • It has no separate switch for Google’s AI Overviews or AI Mode. Google treats them as part of Search and points to nosnippet, data-nosnippet, max-snippet and noindex to limit what is shown. You can build those tags with our meta tag generator.

Frequently Asked Questions

Can I block AI training but stay in AI search?

Yes. Block the training crawlers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot and meta-externalagent) and allow the search crawlers (OAI-SearchBot, Claude-SearchBot and PerplexityBot). The “AI search yes, training no” preset does exactly that.

Does blocking Google-Extended remove my site from Google?

No. Google says Google-Extended does not affect a site’s inclusion in Google Search and is not a ranking signal.

Is this tool free?

Yes, this tool is free to use without signup. This tool page does not load our advertising or session-recording scripts.

Looking for more tools? Check out our complete tools collection or try our AI-powered tools.