virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
tools / robots.txt generator for ai crawlers

Robots.txt generator for AI crawlers

Allow or block each AI crawler by what it fetches for: training, search or a user's request. Add disallowed paths and your sitemap, then copy or download the file. Everything runs in your browser.

Training
GPTBotOpenAI: content that may be used to train its models. OpenAI docs
ClaudeBotAnthropic: content that could contribute to training its models. Anthropic help
Google-ExtendedGoogle: a control token for Gemini training and grounding, not a bot that visits. Google docs
Applebot-ExtendedApple: a control token for training its foundation models. Applebot does the crawling. Apple support
AmazonbotAmazon: improves its products and may be used to train its AI models. Amazon docs
meta-externalagentMeta: training foundation models, or improving products by indexing content. Meta docs
MistralAI-TrainingMistral: content for datasets that train its models. Mistral docs
CCBotCommon Crawl: an open web crawl archive that anyone can access and analyze. Common Crawl
Search
OAI-SearchBotOpenAI: shows sites in ChatGPT search. OpenAI docs
Claude-SearchBotAnthropic: indexes pages to improve search results for its users. Anthropic help
PerplexityBotPerplexity: shows and links sites in Perplexity results. Perplexity docs
Amzn-SearchBotAmazon: search experiences such as Alexa. Amazon docs
meta-webindexerMeta: improves Meta AI search and helps it cite and link pages. Meta docs
MistralAI-IndexMistral: indexes pages for Mistral search. Mistral docs
User request
ChatGPT-UserOpenAI: opens a page because a user asked. robots.txt rules may not apply. OpenAI docs
Claude-UserAnthropic: opens a page when a user asks a question. Anthropic help
Perplexity-UserPerplexity: opens a page because a user asked. Generally ignores robots.txt. Perplexity docs
Amzn-UserAmazon: live pages for questions to Alexa. May not follow all robots.txt directives. Amazon docs
meta-externalfetcherMeta: opens single links at a user's request. May bypass robots.txt. Meta docs
MistralAI-UserMistral: opens a page when a user asks a question. Mistral docs
DuckAssistBotDuckDuckGo: crawls pages in real time for AI-assisted answers. DuckDuckGo help

# AI crawlers asked to stay out
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Amazonbot
User-agent: meta-externalagent
User-agent: MistralAI-Training
User-agent: CCBot
Disallow: /

# AI crawlers allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Amzn-SearchBot
User-agent: meta-webindexer
User-agent: MistralAI-Index
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
User-agent: Amzn-User
User-agent: meta-externalfetcher
User-agent: MistralAI-User
User-agent: DuckAssistBot
Allow: /

Download robots.txt

The starting choice, blocking training and allowing the rest, is an example and not advice. Every token was checked on 2026-11-24 against the operator page linked in its row. Crawlers with no such page are not listed.

See which AI crawlers read your pages and which assistants send buyers

Virling counts the pages each AI company's crawlers read, next to the visitors and revenue its assistant sends you. Virling is open source under AGPLv3: self-host it free, or start a 14-day hosted trial.

Start free trial AI crawlers · See the demo

Training, search and user request: what each choice does

  • Training. Blocking asks the operator not to use your pages to train models. Google-Extended and Applebot-Extended do not visit: they tell Google and Apple how to use what their normal crawlers fetch. Google-Extended also covers grounding in some Gemini products. Common Crawl is listed here because its archive is open to anyone.
  • Search. These crawlers build the indexes AI search answers from. Blocking them can remove your site from AI answers: OpenAI says sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links.
  • User request. These open a page because someone asked about it. Blocking them can stop an assistant from reading the page it was asked about, and several operators say robots.txt may not apply.

robots.txt is a request, not enforcement. A crawler has to choose to follow it, and it hides nothing: the file is public, so anyone can read the paths you list. Keep private pages behind a login, and block unwanted bots at your server, firewall or CDN.

How to publish the file

  1. Choose Allow or Block for each crawler, and add the paths allowed crawlers should skip.
  2. If your site has no robots.txt, upload this one to the root of your domain. If it has one, first remove its old groups for the crawlers named here, then add these lines and keep the rest.
  3. Open /robots.txt on your own domain and check that the new lines are there. Each subdomain needs its own file.
  4. Paste the live file into the AI crawler checker, which shows the verdict and the deciding rule for most of these crawlers.

A crawler that has its own group ignores your User-agent: * group. If that group blocks paths, enter them as disallowed paths too, or the crawlers you allow will no longer be asked to skip them. The file has no * group of its own, so search engines and other bots keep following your current rules.

Changes are not instant: OpenAI says its search results can take about 24 hours to adjust, Amazon says about 24 hours, Perplexity and Meta say up to 24 hours, and DuckDuckGo says 72 hours. After that, run your access log through the AI crawler log analyzer to see which crawlers still request pages.

A worked example

Example: a site at example.com wants to stay out of model training, stay in AI search, and keep its members area out of both. It keeps the starting choices, enters /members/ as a disallowed path and adds its sitemap. The generator returns:

# AI crawlers asked to stay out
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Amazonbot
User-agent: meta-externalagent
User-agent: MistralAI-Training
User-agent: CCBot
Disallow: /

# AI crawlers allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Amzn-SearchBot
User-agent: meta-webindexer
User-agent: MistralAI-Index
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
User-agent: Amzn-User
User-agent: meta-externalfetcher
User-agent: MistralAI-User
User-agent: DuckAssistBot
Allow: /
Disallow: /members/

Sitemap: https://example.com/sitemap.xml

The eight training tokens share one Disallow: /. The other crawlers may read everything except /members/, because the longest matching path wins. The sitemap line is outside every group and applies to all crawlers.

After you publish: do AI visits pay?

What a block costs depends on what the assistant sends you. Compare the pages its crawlers read with the visits and payments that follow, before and after the change.

Related tools and guides

questions

AI robots.txt FAQ

How do I block AI crawlers in robots.txt?

Name each crawler in a User-agent line and put Disallow: / below it. Several User-agent lines can share one set of rules. Save the file as robots.txt at the root of your domain, such as https://example.com/robots.txt.

Can I block AI training and still appear in AI answers?

Often, because several operators use separate crawlers. OpenAI says you can disallow GPTBot and allow OAI-SearchBot, and each setting is independent. Not every token splits this cleanly: Google-Extended covers grounding as well as training, and meta-externalagent also covers indexing for Meta's products.

Does blocking search crawlers remove my site from AI answers?

It can. OpenAI says sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. Anthropic says disabling Claude-SearchBot or Claude-User may reduce your visibility in user searches.

Does robots.txt force AI crawlers to stay out?

No. It is a request that well-behaved crawlers follow, not enforcement. Perplexity says Perplexity-User generally ignores it, and OpenAI says the rules may not apply to ChatGPT-User. To keep a page private, put it behind a login. To stop a bot, block it at your server, firewall or CDN.

Does blocking Google-Extended affect Google Search?

No. Google says Google-Extended does not impact a site's inclusion in Google Search and is not used as a ranking signal.

Is anything I enter sent to a server?

No. The file is built in your browser, and the crawlers, paths and sitemap you enter stay on this page.

See what AI answers send you in revenue

robots.txt decides who may read. Virling shows what comes back: it links every visit to the payment it led to, so you see the customers and revenue each assistant brings. 14 days free.

Start free trial See the demo