Robots.txt Generator & Tester
Allow or block 40+ search engines and AI crawlers, or paste your own file, then test URLs and see which rule decides
What kind of site is this?
What about AI crawlers?
Any pages to keep crawlers out of? · optional
Most sites can skip this. It stops crawling, and it does not hide a page from Google.
Where is your sitemap? · optional
AdvancedSet any of 43 crawlers one by one, add rules for one crawler, or set a crawl delay.
Crawlers one by one
Default follows your rules above. Allow opens the whole site to that crawler, even paths those rules block. Block closes the whole site to it.
Search engines12 crawlersBlocking one takes your pages out of its results over time.
Googlebot · Google Search
Also decides Images, Video and News when they have no rule of their own, and Applebot too.
Googlebot-Image · Google Images
Google Images, Discover and images in Search.
Googlebot-Video · Google video
Video features in Google Search.
Googlebot-News · Google News
news.google.com and the Google News app.
Storebot-Google · Google Shopping
The Shopping tab and shopping.google.com.
Bingbot · Bing
Bing Search. DuckDuckGo also takes most of its regular links from Bing.
Yandex · Yandex
Yandex robots in general. A few of them obey only their exact name.
Baiduspider · Baidu
Baidu web search. Its image and news crawlers have tokens of their own.
Yeti · Naver
The crawler behind Naver, South Korea's largest search engine.
Applebot · Apple
Search in Spotlight, Siri and Safari. Follows your Googlebot rules if it has none of its own.
DuckDuckBot · DuckDuckGo
Its own crawler only. Regular links come largely from Bing, so this alone will not remove you.
Slurp · Yahoo
Yahoo's web crawler.
AI model training11 crawlersBlocking these does not affect your place in search results.
GPTBot · OpenAI
Content that may be used to train OpenAI's models.
ClaudeBot · Anthropic
Content that may help train Anthropic's models.
anthropic-ai · Anthropic, old token
Missing from Anthropic's current documentation. ClaudeBot is the one that counts.
Google-Extended · Google
A control token, not a crawler. Covers Gemini training and grounding, with no effect on Google Search.
Applebot-Extended · Apple
A control token, not a crawler. Covers training Apple's AI models, with no effect on Search ranking.
Meta-ExternalAgent · Meta
Trains Meta's AI models and improves its products.
Amazonbot · Amazon
Improves Amazon's products and may train its AI models.
CCBot · Common Crawl
An open web archive that many AI companies train on.
Bytespider · ByteDance
Independent reports say it often ignores robots.txt, so a firewall rule is firmer.
MistralAI-Training · Mistral
Builds datasets for training Mistral's models.
Coherebot · Cohere
The name Cohere's documentation uses in its blocking example.
AI search answers7 crawlersThese decide whether AI answers can cite you, so blocking them can cost visits.
OAI-SearchBot · ChatGPT search
Blocked sites leave ChatGPT search answers, apart from navigational links.
Claude-SearchBot · Claude search
Indexes pages for Claude's search. Blocking may reduce your visibility there.
PerplexityBot · Perplexity
Links sites in Perplexity's results. Not used for model training.
Meta-WebIndexer · Meta AI
Helps Meta AI cite and link to your content.
Amzn-SearchBot · Amazon, Alexa
Search in Amazon products such as Alexa. Not used for AI training.
DuckAssistBot · DuckDuckGo
A source for DuckDuckGo's AI answers. No effect on its regular rankings.
MistralAI-Index · Mistral
The index behind Mistral's search. Not used for training.
AI fetches when someone asks6 crawlersA person's question triggers the visit, and several of these say robots.txt may not apply.
ChatGPT-User · OpenAI
OpenAI says robots.txt rules may not apply to these visits.
Claude-User · Anthropic
Blocking stops Claude reading your pages for a person's question.
Perplexity-User · Perplexity
Perplexity says it generally ignores robots.txt rules.
Meta-ExternalFetcher · Meta
Meta says it may bypass robots.txt rules.
Amzn-User · Amazon, Alexa
Amazon says it may not follow all robots.txt directives.
MistralAI-User · Mistral
Visits a page when someone asks Mistral's assistant.
SEO tools4 crawlersNo effect on rankings, but these tools will then have less data on your site.
AhrefsBot · Ahrefs
Feeds Ahrefs and the Yep search engine. Reads Crawl-delay.
SemrushBot · Semrush
Feeds Semrush's backlink tools. Reads Crawl-delay up to 10 seconds.
MJ12bot · Majestic
Majestic's link index. Reads Crawl-delay up to 20 seconds.
DotBot · Moz
Moz's link index.
Google ads crawlers3 crawlersThey skip User-agent: *, so only a rule that names them applies. Blocking them can hurt your ads.
AdsBot-Google · Google Ads
Checks the pages your Google Ads point to.
AdsBot-Google-Mobile · Google Ads
The same check for mobile pages.
Mediapartners-Google · Google AdSense
Reads pages so AdSense can match ads to them.
Rules for one crawler
That crawler then ignores the rules above, so repeat any that should still apply.
Crawl delay for all crawlers
Google, Yandex and Amazon ignore it. Ahrefs, Semrush, Majestic and ClaudeBot read it.
Your robots.txt
User-agent: * Allow: /
Upload it to the root of your domain, so that it opens at yourdomain.com/robots.txt. Every subdomain needs its own file.
No problems found
Who can crawl this site
What this file tells each kind of crawler. Open a row to see names.
Search enginesAll can crawl
- Full access: Googlebot
- Full access: Googlebot-Image
- Full access: Googlebot-Video
- Full access: Googlebot-News
- Full access: Storebot-Google
- Full access: Bingbot
- Full access: Yandex
- Full access: Baiduspider
- Full access: Yeti
- Full access: Applebot
- Full access: DuckDuckBot
- Full access: Slurp
AI model trainingAll can crawl
- Full access: GPTBot
- Full access: ClaudeBot
- Full access: anthropic-ai
- Full access: Google-Extended
- Full access: Applebot-Extended
- Full access: Meta-ExternalAgent
- Full access: Amazonbot
- Full access: CCBot
- Full access: Bytespider †
- Full access: MistralAI-Training
- Full access: Coherebot
- † may not obey robots.txt
AI search answersAll can crawl
- Full access: OAI-SearchBot
- Full access: Claude-SearchBot
- Full access: PerplexityBot
- Full access: Meta-WebIndexer
- Full access: Amzn-SearchBot
- Full access: DuckAssistBot
- Full access: MistralAI-Index
AI fetches when someone asksAll can crawl
- Full access: ChatGPT-User †
- Full access: Claude-User
- Full access: Perplexity-User †
- Full access: Meta-ExternalFetcher †
- Full access: Amzn-User †
- Full access: MistralAI-User
- † may not obey robots.txt
SEO toolsAll can crawl
- Full access: AhrefsBot
- Full access: SemrushBot
- Full access: MJ12bot
- Full access: DotBot
Google ads crawlersAll can crawl
- Full access: AdsBot-Google
- Full access: AdsBot-Google-Mobile
- Full access: Mediapartners-Google
Test URLs against this file
See whether a crawler may fetch a page, and which rule decides.
Each URL you add shows up here as allowed or blocked.