Free tool

Robots.txt generator for AI crawlers

Choose which AI crawlers can use your site, add your private paths and sitemap, and get a ready-to-upload robots.txt built on the 2026 crawler list.

Runs entirely in your browser. Nothing you type is sent to us.

See the generated file

1. Choose who gets in

AI search and answer crawlers

Put your pages in AI answers: ChatGPT search, Claude, Perplexity, Meta AI, DuckDuckGo, Amazon and Mistral. Block them and those answers can’t cite you.

OAI-SearchBotClaude-SearchBotPerplexityBotDuckAssistBotMeta-WebIndexerAmzn-SearchBotMistralAI-Index

AI fetchers that act for a person

Open a page when someone asks an assistant about it. Several of them say robots.txt may not apply, so blocking them here is a request, not a guarantee.

ChatGPT-UserClaude-UserPerplexity-UserGoogle-AgentMeta-ExternalFetcherAmzn-UserMistralAI-User

AI training crawlers

Collect content to train AI models, plus Google’s and Apple’s training opt-out tokens. Blocking them doesn’t remove you from search or AI answers.

GPTBotClaudeBotGoogle-ExtendedApplebot-ExtendedMeta-ExternalAgentMistralAI-TrainingAmazonbotBytespiderCCBot

Googlebot, Bingbot and Applebot always follow your rules for all crawlers, because they also run regular search.

2. Add private paths and your sitemap

One per line, like /cart/ or /account/. These apply to every crawler. Use noindex, not robots.txt, to keep a page out of search results.

Your full sitemap address. Put each one on its own line if you have more than one.

robots.txt
# robots.txt
# AI search and answer crawlers: allowed
# AI fetchers that act for a person: allowed
# AI training crawlers: blocked
# Google, Bing and Apple search crawlers follow the rules for all crawlers (*).

User-agent: *
Disallow: /cart/
Disallow: /checkout/

# AI training crawlers and opt-out tokens: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: MistralAI-Training
User-agent: Amazonbot
User-agent: Bytespider
User-agent: CCBot
Disallow: /

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

10 of 10 search and answer crawlers can reach your site. 7 of 7 fetchers that act for a person are allowed, and 9 of 9 AI training crawlers and tokens are blocked.

  • Blocking training crawlers doesn’t remove you from AI search answers. It asks AI companies not to train on your content, and blocking Google-Extended doesn’t affect Google Search, AI Overviews or AI Mode.
  • robots.txt is a request, not a lock. Check that your CDN or firewall (for example Cloudflare’s AI crawler settings) doesn’t block crawlers you allowed.

Upload it to your site’s root so it loads at yourwebsite.com/robots.txt, then test it with the AI visibility checker. Who each crawler belongs to: the 2026 AI crawler list.

FAQ

robots.txt and AI crawler questions

Does blocking GPTBot remove my site from ChatGPT?

No. OpenAI uses GPTBot to collect training data and OAI-SearchBot to show pages in ChatGPT search. Block GPTBot and allow OAI-SearchBot, and you can still be cited in ChatGPT search answers. OpenAI’s crawler docs.

Will this keep my site out of Google’s AI Overviews?

No. AI Overviews and AI Mode are part of Google Search and use Googlebot, so robots.txt can’t separate them from normal results. To leave them, use the Search generative AI setting in Search Console. Blocking Google-Extended only stops Gemini training and grounding. Google’s help page.

Why can’t I block Googlebot or Bingbot here?

They also run regular search, so blocking them would remove your site from Google or Bing results, not just from AI features. If you really need different rules for them, edit the file by hand.

Do all AI crawlers obey robots.txt?

The big operators, including OpenAI, Anthropic, Google, Perplexity, Apple, Meta and Amazon, document robots.txt as the way to control their search and training crawlers. Fetchers that act for a person are different: OpenAI, Google, Perplexity, Meta and Amazon say theirs may not follow every rule. Use your firewall if you need a hard block.

What do other websites block?

In our October 2026 study of 1,000 top websites, 16.3% block GPTBot but only 8.3% block OAI-SearchBot, and most sites have no rules for AI crawlers at all. See the full results.

Where do I put the robots.txt file?

At the root of your domain, so it loads at yourwebsite.com/robots.txt. Each subdomain needs its own. Most hosts let you upload it with their file manager. WordPress serves a virtual robots.txt you can edit with an SEO plugin, and Shopify uses a robots.txt.liquid theme template.

Is anything I type sent to you?

No. The file is built in your browser.

Let RankWolf watch your crawlers.

RankWolf checks your robots.txt and firewall every week, and tells you when a change blocks an AI search crawler.

  • 3-day free trial
  • 14-day money-back guarantee
  • Cancel anytime