Skip to main content
CodeLint.Dev AI · Dev · Finance

AI Crawler robots.txt Builder

Decide which AI crawlers may access your site, by purpose, and generate the robots.txt rules. Paste your current file to see what it already allows.

Preset

AI user agents

8 of 21 blocked Checked against each operator's documentation on
Known AI user agents grouped by purpose, with an allow or block choice for each
AgentAccess
Model training and data collection
Crawlers that gather pages for training datasets.
GPTBot OpenAI Honours robots.txt docs

Crawls content that may be used to train OpenAI's generative AI foundation models.

ClaudeBot Anthropic Honours robots.txt docs

Collects web content that could contribute to training Anthropic's models.

meta-externalagent Meta Honours robots.txt docs

Crawls for use cases such as training foundation AI models or improving products by indexing content directly.

Amazonbot Amazon Honours robots.txt docs

Used to improve Amazon products and services; the crawled content may be used to train Amazon AI models.

MistralAI-Training Mistral AI Honours robots.txt docs

Crawls web content to help build datasets for training Mistral generative AI models.

CCBot Common Crawl Honours robots.txt docs

Builds the Common Crawl corpus, an open repository of web crawl data that anyone can download and analyse.

AI search indexing
Crawlers that build the index an assistant searches and cites from.
OAI-SearchBot OpenAI Honours robots.txt docs

Surfaces websites in ChatGPT's search features.

Claude-SearchBot Anthropic Honours robots.txt docs

Indexes web content to improve the quality of search results for Claude users.

PerplexityBot Perplexity Honours robots.txt docs

Surfaces and links websites in Perplexity search results. Perplexity says it is not used to crawl content for AI foundation models.

meta-webindexer Meta Honours robots.txt docs

Crawls the web to improve the quality of Meta AI search results.

Amzn-SearchBot Amazon Honours robots.txt docs

Improves search experiences in Amazon products such as Alexa. Amazon says it does not crawl for generative AI model training.

MistralAI-Index Mistral AI Honours robots.txt docs

Indexes content for Mistral search, which helps answer user questions in Vibe. Mistral says the content is not used for generative AI training.

DuckAssistBot DuckDuckGo Honours robots.txt docs

Crawls pages in real time for DuckDuckGo's AI-assisted answers, which cite their sources. DuckDuckGo says the data is not used to train AI models.

User-initiated fetching
A person asked an assistant to open or look up a page.
ChatGPT-User OpenAI May ignore robots.txt docs

Visits a page when a ChatGPT or Custom GPT user asks a question that needs it. Not used for automatic crawling.

OpenAI: because these actions are initiated by a user, robots.txt rules may not apply.

Claude-User Anthropic Honours robots.txt docs

Fetches a page when a Claude user asks a question that needs it.

Perplexity-User Perplexity May ignore robots.txt docs

Visits a page when a Perplexity user asks a question that needs it. Not used for crawling or for training.

Perplexity: since a user requested the fetch, this fetcher generally ignores robots.txt rules.

meta-externalfetcher Meta May ignore robots.txt docs

Fetches individual links at a user's request to support product functions.

Meta: this crawler may bypass robots.txt because it performs fetches that were requested by the user.

Amzn-User Amazon May ignore robots.txt docs

Fetches live information for user actions such as Alexa queries. Amazon says it does not crawl for generative AI model training.

Amazon: because its actions can be initiated by a user, it may not follow all robots.txt directives.

MistralAI-User Mistral AI Honours robots.txt docs

Visits a page when a Vibe user asks a question that needs it. Not used for automatic crawling or for training.

Control tokens
Not crawlers. A robots.txt token that changes how already-crawled content is used.
Google-Extended Google Control token docs

Controls whether content Google has crawled may be used to train future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI.

Google: it has no user-agent string of its own — crawling is done by Google's existing crawlers. It does not affect a site's inclusion in Google Search and is not a ranking signal.

Applebot-Extended Apple Control token docs

Opts content out of being used to train Apple's generative foundation models.

Apple: Applebot-Extended does not crawl webpages; it only determines how data crawled by Applebot is used. Pages that disallow it can still appear in search results.

Rules

Block applies to

robots.txt

32 lines
# Model training and data collection: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: MistralAI-Training
User-agent: CCBot
Disallow: /

# AI search indexing: allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: meta-webindexer
User-agent: Amzn-SearchBot
User-agent: MistralAI-Index
User-agent: DuckAssistBot
Allow: /

# User-initiated fetching: allowed
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
User-agent: meta-externalfetcher
User-agent: Amzn-User
User-agent: MistralAI-User
Allow: /

# Control tokens: blocked
User-agent: Google-Extended
User-agent: Applebot-Extended
Disallow: /

Merging into an existing file. A crawler that finds a group with its own name ignores User-agent: * completely. If your * group disallows paths such as /admin/, the agents named here stop inheriting those rules. Copy the lines you still want into the generated groups, or switch off the Allow groups so that allowed agents stay under your * group.

robots.txt is a request, not access control. Agents marked "May ignore robots.txt" say so in their own documentation.

Check your current robots.txt

Paste a robots.txt, or use Load example. Each known AI agent is matched the way RFC 9309 describes: a group that names the agent applies on its own; otherwise the User-agent: * group; otherwise no rules.

AI user agents and what they do

Each row is taken from the operator's own documentation, last read on 2026-11-22. Tokens are written as the operator writes them; matching is case-insensitive.

User-agent tokenOperatorCategoryWhat the operator says it doesrobots.txt
GPTBotOpenAIModel training and data collectionCrawls content that may be used to train OpenAI's generative AI foundation models.Documented as controlled by robots.txt
ClaudeBotAnthropicModel training and data collectionCollects web content that could contribute to training Anthropic's models.Documented as controlled by robots.txt
meta-externalagentMetaModel training and data collectionCrawls for use cases such as training foundation AI models or improving products by indexing content directly.Documented as controlled by robots.txt
AmazonbotAmazonModel training and data collectionUsed to improve Amazon products and services; the crawled content may be used to train Amazon AI models.Documented as controlled by robots.txt
MistralAI-TrainingMistral AIModel training and data collectionCrawls web content to help build datasets for training Mistral generative AI models.Documented as controlled by robots.txt
CCBotCommon CrawlModel training and data collectionBuilds the Common Crawl corpus, an open repository of web crawl data that anyone can download and analyse.Documented as controlled by robots.txt
OAI-SearchBotOpenAIAI search indexingSurfaces websites in ChatGPT's search features.Documented as controlled by robots.txt
Claude-SearchBotAnthropicAI search indexingIndexes web content to improve the quality of search results for Claude users.Documented as controlled by robots.txt
PerplexityBotPerplexityAI search indexingSurfaces and links websites in Perplexity search results. Perplexity says it is not used to crawl content for AI foundation models.Documented as controlled by robots.txt
meta-webindexerMetaAI search indexingCrawls the web to improve the quality of Meta AI search results.Documented as controlled by robots.txt
Amzn-SearchBotAmazonAI search indexingImproves search experiences in Amazon products such as Alexa. Amazon says it does not crawl for generative AI model training.Documented as controlled by robots.txt
MistralAI-IndexMistral AIAI search indexingIndexes content for Mistral search, which helps answer user questions in Vibe. Mistral says the content is not used for generative AI training.Documented as controlled by robots.txt
DuckAssistBotDuckDuckGoAI search indexingCrawls pages in real time for DuckDuckGo's AI-assisted answers, which cite their sources. DuckDuckGo says the data is not used to train AI models.Documented as controlled by robots.txt
ChatGPT-UserOpenAIUser-initiated fetchingVisits a page when a ChatGPT or Custom GPT user asks a question that needs it. Not used for automatic crawling.Operator says it may not follow robots.txt
Claude-UserAnthropicUser-initiated fetchingFetches a page when a Claude user asks a question that needs it.Documented as controlled by robots.txt
Perplexity-UserPerplexityUser-initiated fetchingVisits a page when a Perplexity user asks a question that needs it. Not used for crawling or for training.Operator says it may not follow robots.txt
meta-externalfetcherMetaUser-initiated fetchingFetches individual links at a user's request to support product functions.Operator says it may not follow robots.txt
Amzn-UserAmazonUser-initiated fetchingFetches live information for user actions such as Alexa queries. Amazon says it does not crawl for generative AI model training.Operator says it may not follow robots.txt
MistralAI-UserMistral AIUser-initiated fetchingVisits a page when a Vibe user asks a question that needs it. Not used for automatic crawling or for training.Documented as controlled by robots.txt
Google-ExtendedGoogleControl tokensControls whether content Google has crawled may be used to train future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI.Control token, not a crawler
Applebot-ExtendedAppleControl tokensOpts content out of being used to train Apple's generative foundation models.Control token, not a crawler

Not listed: Bytespider (no ByteDance documentation could be confirmed) and Cohere (its documentation says it runs no training crawler at present). Documented by their operators but outside these categories: OAI-AdsBot, Meta-ExternalAds, Google-CloudVertexBot, Claude-Agent and Google-Agent.

What blocking each category actually costs you

  • Training crawlers —Your pages are not gathered for that operator's future training data. OpenAI and Perplexity describe their tokens as independent settings, so this has no documented effect on their search products. CCBot differs in kind: it feeds an open corpus, so blocking it also removes you from a dataset researchers use.
  • AI search crawlers —You drop out of that product's answers. OpenAI says sites opted out of OAI-SearchBot are not shown in ChatGPT search answers, though they can still appear as navigational links; Anthropic says disabling Claude-SearchBot may reduce visibility and accuracy in search results. DuckDuckGo says blocking DuckAssistBot does not change organic rankings.
  • User-initiated fetchers —An assistant cannot open your page when a person asks it to, which is usually someone trying to read or cite you. It also works against anything you publish for agents, such as an llms.txt. And the rule is not dependable: OpenAI, Perplexity, Meta and Amazon say these fetchers may not follow robots.txt.
  • Control tokens —Google-Extended and Applebot-Extended stop no crawling. Google says Google-Extended does not affect inclusion in Google Search and is not a ranking signal; it withholds content from Gemini training and grounding. Apple says pages that disallow Applebot-Extended can still appear in search results. AI features inside Google Search are governed by Googlebot rules and snippet controls instead.

How a crawler chooses which rules apply

RFC 9309 defines a group as one or more User-agent lines followed by Allow and Disallow rules. A crawler looks for groups whose token matches its own, ignoring case. If it finds any, it merges them and obeys only those. If it finds none, it obeys the User-agent: * group. If there is no such group either, no rules apply and everything is allowed.

Inside the chosen group the longest matching path wins, an Allow beats an equally long Disallow, and a URL that matches nothing is allowed. A Sitemap line belongs to no group and does not end one. Google's description of its own parser adds that named groups and the * group are never combined. Two operators document their own fallbacks: Applebot follows Googlebot's rules when it is not named, and Amzn-SearchBot follows the directives given to other search bots.

Common mistakes

  • Assuming User-agent: * overrides a specific group —It is the other way round. User-agent: * with Disallow: / does not block a crawler that has its own group with Allow: /, and a specific Disallow: / is not undone by a permissive * group.
  • Forgetting that a named group inherits nothing —Once you add User-agent: GPTBot with one rule, GPTBot stops reading your * group. Any /admin/ or /cart/ lines there must be repeated in the named group if they should still apply.
  • A blank Disallow —Disallow: with no path blocks nothing; Google documents that a rule without a path is ignored. In a named group it therefore means "allow everything", and it also takes that crawler out of the * group.
  • Rules above the first User-agent line —They belong to no group, and RFC 9309 says crawlers should ignore them.
  • Worrying about the case of the token —gptbot, GPTBot and GPTBOT are the same to a compliant crawler. Paths are case-sensitive: /Private/ does not cover /private/.
  • One file for every subdomain —robots.txt applies to the host it is served from. Anthropic asks for the rule on every subdomain you want to opt out.

The three presets

What the tool writes for each preset with the default options. A group may list several User-agent lines that share the rules beneath them.

Block training, allow search and user fetches
# Model training and data collection: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: MistralAI-Training
User-agent: CCBot
Disallow: /

# AI search indexing: allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: meta-webindexer
User-agent: Amzn-SearchBot
User-agent: MistralAI-Index
User-agent: DuckAssistBot
Allow: /

# User-initiated fetching: allowed
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
User-agent: meta-externalfetcher
User-agent: Amzn-User
User-agent: MistralAI-User
Allow: /

# Control tokens: blocked
User-agent: Google-Extended
User-agent: Applebot-Extended
Disallow: /
Block all AI crawlers
# Model training and data collection: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: MistralAI-Training
User-agent: CCBot
Disallow: /

# AI search indexing: blocked
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: meta-webindexer
User-agent: Amzn-SearchBot
User-agent: MistralAI-Index
User-agent: DuckAssistBot
Disallow: /

# User-initiated fetching: blocked
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
User-agent: meta-externalfetcher
User-agent: Amzn-User
User-agent: MistralAI-User
Disallow: /

# Control tokens: blocked
User-agent: Google-Extended
User-agent: Applebot-Extended
Disallow: /
Allow all AI
# Model training and data collection: allowed
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: MistralAI-Training
User-agent: CCBot
Allow: /

# AI search indexing: allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: meta-webindexer
User-agent: Amzn-SearchBot
User-agent: MistralAI-Index
User-agent: DuckAssistBot
Allow: /

# User-initiated fetching: allowed
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
User-agent: meta-externalfetcher
User-agent: Amzn-User
User-agent: MistralAI-User
Allow: /

# Control tokens: allowed
User-agent: Google-Extended
User-agent: Applebot-Extended
Allow: /

About

This tool lists the AI user agents that their operators document, grouped by what they do: collecting pages for model training, building an AI search index, fetching a page because a person asked an assistant to, and control tokens that are not crawlers at all. Set each one to Allow or Block, or start from a preset, and it writes the matching robots.txt groups, with optional path rules and a Sitemap line. A second panel parses the robots.txt you already have and reports, agent by agent, whether it is allowed, blocked or partly blocked and which group decided that. Every entry links to the operator documentation it was taken from, last checked on the date shown above the table.

How to use

  1. 1 Pick a preset, or set Allow or Block for each agent; every row links to the operator documentation for that token.
  2. 2 Choose what Block means: the whole site, only the paths you list, or everything except the paths you list.
  3. 3 Add your sitemap URL if you want a Sitemap line, and decide whether allowed agents get an explicit Allow: / group.
  4. 4 Copy the output into your robots.txt, or download it. If your file already has a User-agent: * group, read the note about merging first.
  5. 5 Paste your current robots.txt into the lower panel to see how it treats each AI agent today, and use "Apply to builder" to start from that state.
  6. 6 For agents marked "May ignore robots.txt", add a server or WAF rule if you need the block to hold.
Does blocking GPTBot remove my site from ChatGPT search?
No. OpenAI documents separate, independent tokens: GPTBot is for training, OAI-SearchBot is for ChatGPT's search features, and ChatGPT-User is for visits a user triggers. A site that disallows GPTBot and allows OAI-SearchBot can still be surfaced in ChatGPT search. Anthropic, Mistral and Amazon publish the same three-way split.
Does Google-Extended affect Google Search or AI Overviews?
Google's documentation says Google-Extended does not affect a site's inclusion in Google Search and is not used as a ranking signal. It controls whether crawled content may be used to train future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI. AI features inside Search are a different matter: Google says they are part of Search, controlled by the rules for Googlebot and by snippet controls such as nosnippet and max-snippet.
Are user-agent names in robots.txt case-sensitive?
No. RFC 9309 requires crawlers to match the product token case-insensitively, so "gptbot" and "GPTBot" select the same group. Meta writes its own tokens in lower case in its documentation. Paths are different: Allow and Disallow values are compared case-sensitively.
Do AI crawlers actually obey robots.txt?
The operators listed here document robots.txt as the control for their crawlers, but compliance is voluntary: RFC 9309 states that the rules are not a form of access authorization. Several user-initiated fetchers (ChatGPT-User, Perplexity-User, Meta-ExternalFetcher, Amzn-User) are documented as possibly not following it. A user-agent string can also be sent by anyone. If a block must hold, enforce it at the server or WAF, matching the user agent together with the IP ranges the operator publishes.
If I block a training crawler now, is content it already collected removed?
Nothing in the operator documentation says so. A Disallow governs future fetching. Anthropic's wording is that restricting ClaudeBot signals that a site's future materials should be excluded from training datasets; OpenAI says disallowing GPTBot indicates the content should not be used in training. Neither describes deleting pages gathered earlier.
Do I need a separate group for every bot?
No. A group in RFC 9309 is one or more User-agent lines followed by rules, so several agents can share one set of rules. This tool writes one group per category for blocked agents and one for allowed agents. If two groups name the same agent, crawlers merge their rules.