antibot.dev
Sponsored Try LayerSift

robots.txt checker

Which AI crawlers and search bots does a site let in? Enter a domain to read its robots.txt and see, for each of 46 known bots, whether it’s blocked, partly blocked or allowed. Then generate the rules for your own site.

Or paste a robots.txt to test it

robots.txt generator for AI crawlers

Tick the bots you want to keep out, then paste the rules into your robots.txt. Each bot gets its own group, so your existing rules for other crawlers don’t change.

Select:

Bots to block

AI training

AI search

User-triggered fetch

robots.txt control token

Search engine

SEO tool

Other

robots.txt tokens for AI crawlers

The token to use in User-agent: lines, and whether the operator says the bot follows robots.txt. Each bot’s page has its user agent and how to verify it.

BotOperatorPurposeTokenObeys robots.txt
AI2Bot Allen Institute for AI (Ai2) AI training AI2Bot Not stated
Amazonbot Amazon AI training Amazonbot Yes
Bytespider ByteDance AI training Bytespider Not stated
CCBot Common Crawl AI training CCBot Yes
ClaudeBot Anthropic AI training ClaudeBot Yes
FacebookBot Meta AI training FacebookBot Not stated
GPTBot OpenAI AI training GPTBot Yes
KimiBot Moonshot AI (Kimi) AI training KimiBot Yes
Meta-ExternalAgent Meta AI training meta-externalagent Yes
MistralAI-Training Mistral AI AI training MistralAI-Training Yes
Amzn-SearchBot Amazon AI search Amzn-SearchBot Yes
Claude-SearchBot Anthropic AI search Claude-SearchBot Yes
DuckAssistBot DuckDuckGo AI search DuckAssistBot Yes
Kimi-SearchBot Moonshot AI (Kimi) AI search Kimi-SearchBot Yes
Meta-WebIndexer Meta AI search meta-webindexer Yes
MistralAI-Index Mistral AI AI search MistralAI-Index Yes
OAI-SearchBot OpenAI AI search OAI-SearchBot Yes
PerplexityBot Perplexity AI search PerplexityBot Yes
YouBot You.com AI search YouBot Yes
Amzn-User Amazon User-triggered fetch Amzn-User Partly
ChatGPT-User OpenAI User-triggered fetch ChatGPT-User Partly
Claude-User Anthropic User-triggered fetch Claude-User Yes
Diffbot-User Diffbot User-triggered fetch Diffbot-User Not stated
Kimi-User Moonshot AI (Kimi) User-triggered fetch Kimi-User Partly
Meta-ExternalFetcher Meta User-triggered fetch meta-externalfetcher Partly
MistralAI-User Mistral AI User-triggered fetch MistralAI-User Yes
Perplexity-User Perplexity User-triggered fetch Perplexity-User No
Applebot-Extended Apple robots.txt control token Applebot-Extended Yes
Google-Extended Google robots.txt control token Google-Extended Yes
YandexAdditional Yandex robots.txt control token YandexAdditional Yes
Applebot Apple Search engine Applebot Yes
Baiduspider Baidu Search engine Baiduspider Yes
Bingbot Microsoft Search engine bingbot Yes
Diffbot Diffbot Search engine Diffbot Partly
DuckDuckBot DuckDuckGo Search engine DuckDuckBot Yes
Googlebot Google Search engine Googlebot Yes
PetalBot Huawei (Petal Search) Search engine PetalBot Yes
YandexBot Yandex Search engine YandexBot Yes
AhrefsBot Ahrefs SEO tool AhrefsBot Yes
SemrushBot Semrush SEO tool SemrushBot Yes
Coherebot Cohere Other Coherebot Yes
FacebookExternalHit Meta Other facebookexternalhit Partly
Google-CloudVertexBot Google Other Google-CloudVertexBot Yes
GoogleOther Google Other GoogleOther Yes
Meta-ExternalAds Meta Other meta-externalads Yes
OAI-AdsBot OpenAI Other OAI-AdsBot Not stated

Questions

How do I block AI crawlers in robots.txt?

Add a group for each crawler’s robots.txt token with “Disallow: /”, for example “User-agent: GPTBot” then “Disallow: /”. The generator on this page writes the groups for you. Crawlers that follow robots.txt stop after their next fetch of the file; it doesn’t remove anything they already collected.

Does blocking Google-Extended remove my site from Google Search?

No. Google-Extended is a robots.txt token that controls whether Google uses your content for its Gemini models and grounding. It isn’t a separate crawler, and blocking it doesn’t affect Googlebot or your search rankings.

Do all crawlers obey robots.txt?

No. robots.txt is a voluntary standard (RFC 9309). The major AI companies say their training and search crawlers follow it, but several say their user-triggered fetchers may not, and unknown scrapers ignore it. To enforce a block, verify the crawler and block it at your CDN or firewall.

Why does a crawler with its own group ignore my “User-agent: *” rules?

Under RFC 9309 a crawler follows only the groups that name its token. The “*” group applies only to crawlers that have no group of their own, so repeat any general rules inside each named group.

What happens if my robots.txt returns an error?

If it returns 404 or another 4xx error, crawlers may fetch everything. If it returns a 5xx error or can’t be reached, RFC 9309 says crawlers should assume the whole site is disallowed until it comes back.