Elementera
Products
OriginumLenzThe Supervised plan, our managed AEO service
Case StudiesBlogFree ToolsResearchAbout UsBook a call
Book a call
  1. Home
  2. Free tools
  3. robots.txt generator for AI crawlers

robots.txt generator for AI crawlers

Key point. Block AI training without leaving AI search: block the training crawlers (GPTBot, ClaudeBot, Google-Extended and others) and keep the search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) allowed. This tool writes that block for you.

Free tool · runs in your browser

robots.txt AI policy builder

Choose which AI crawlers may read your site. Start from a preset, adjust each crawler, then copy the block into your robots.txt. Each crawler is listed with its purpose: AI search, training, or fetching a page when a person asks.


    In plain English

    robots.txt is a request, not enforcement. Well-behaved crawlers read it and follow it. Nothing stops a crawler that ignores it, and some vendors say their assistants may not apply it when a person asks for a page. To block a crawler for certain, block it at your server or CDN by user agent and verified IP range.

    Paste the block near the top of your robots.txt, keep your existing rules below it, then test the full file with our AI crawler check.

    Crawler list checked against each vendor's documentation on 2026-10-14. Download the AI crawler registry (JSON).

    What this did not check. It writes the rules you choose. It does not read your current robots.txt, your firewall or your CDN's bot settings, and a crawler that ignores robots.txt is not stopped by any line here. Next: AI crawler check. Use the three preset buttons at the top.

    Which AI crawlers should I block?

    Each AI vendor runs separate crawlers for separate jobs. A search crawler reads your pages so the vendor's AI search can find and cite them. A training crawler, or a control token such as Google-Extended, decides whether your content may be used to train models. A user fetcher reads one page when a person asks an assistant to look at it.

    So the question is not "AI or no AI". It is three questions per vendor. Most businesses that want to be found in AI answers keep search allowed. Whether to allow training is a policy choice: blocking it does not remove you from AI search results.

    What do the three presets do?

    • Allow all AI writes no blocks. Every crawler follows your existing User-agent: * rules.
    • Allow AI search, block training blocks the training crawlers and control tokens only.
    • Block all AI crawlers blocks every AI crawler. Googlebot, Bingbot and Applebot stay allowed, because blocking them removes you from those search engines, and Google's AI Overviews and Microsoft Copilot draw on the same index.

    Does robots.txt actually stop AI crawlers?

    robots.txt is a request. Well-behaved crawlers follow it; nothing enforces it. OpenAI and Perplexity say their user fetchers may not apply it when a person asks for a page. To block a crawler for certain, block it at your server or CDN by user agent and verified IP range. Our AI crawler registry lists the published IP ranges.

    After you paste the block, test the whole file with the AI crawler check.

    How does the generator decide what to write?

    The robots.txt generator decides what to write from the Elementera AI crawler registry, one row per crawler.

    Each row holds the crawler's user agent token, its vendor and its job (AI search, AI training, an assistant fetching a page for a person, another AI crawler, or a traditional search engine), taken from the vendor's own documentation. A preset picks crawlers by job. "Allow AI search, block training" blocks every crawler in the training group and nothing else. The generator then writes one group per job: each blocked crawler on its own User-agent line, and one Disallow: / under them. Googlebot, Bingbot and Applebot are never blocked by a preset, because blocking them removes you from those search engines and their AI answers.

    Built by Elementera. The crawler list in this tool was last checked against each vendor's documentation on October 14, 2026; the same list runs our AI crawler check, so the rules you write here read the same way there.

    Worked example: block AI training, keep AI search

    For example, the robots.txt generator's preset "Allow AI search, block training" writes this block. The date is the day you make it.

    # AI crawler rules (2026-11-03). robots.txt is a request: well-behaved crawlers follow it, it does not enforce anything.
    
    # Blocked: AI training
    User-agent: GPTBot
    User-agent: ClaudeBot
    User-agent: Google-Extended
    User-agent: CCBot
    User-agent: Applebot-Extended
    User-agent: Meta-ExternalAgent
    User-agent: Bytespider
    User-agent: MistralAI-Training
    Disallow: /

    It asks eight training crawlers to stay out. OAI-SearchBot, Claude-SearchBot, PerplexityBot and the other AI search crawlers have no group of their own, so they keep following your User-agent: * rules, and ChatGPT search, Claude and Perplexity can still find and cite your pages. Add the block to your robots.txt next to your existing groups (the order of groups does not matter), then test the whole file with the AI crawler check. "Block all AI crawlers" writes four groups instead, 26 crawlers in all, and still leaves Googlebot, Bingbot and Applebot allowed.

    What does blocking each AI crawler do?

    Blocking an AI crawler in robots.txt changes one thing, and it depends on the crawler's job. These are the 15 crawlers people ask about most.

    Crawler (user agent)VendorIts jobWhat blocking it does
    GPTBotOpenAIAI trainingAsks OpenAI not to use your content for model training. ChatGPT search is not affected.
    OAI-SearchBotOpenAIAI searchChatGPT search cannot crawl your pages, so they are unlikely to be found or cited there.
    ChatGPT-UserOpenAIFetches a page for a personAsks ChatGPT not to fetch your page when a person asks about it. OpenAI says robots.txt rules may not apply to it.
    ClaudeBotAnthropicAI trainingAsks Anthropic not to use your content for model training.
    Claude-SearchBotAnthropicAI searchClaude's web search cannot crawl your pages, so they are unlikely to be found or cited there.
    Claude-UserAnthropicFetches a page for a personAsks Claude not to fetch your page when a person asks about it.
    Google-ExtendedGoogleAI training (a control token)Asks Google not to use your content to train its models. Google Search and AI Overviews are not affected.
    GooglebotGoogleSearchYour pages drop out of Google Search, AI Overviews included. Never block it to stop AI.
    PerplexityBotPerplexityAI searchPerplexity cannot crawl your pages, so they are unlikely to be found or cited there.
    Perplexity-UserPerplexityFetches a page for a personAsks Perplexity not to fetch your page for a person. Perplexity says it generally ignores robots.txt.
    Applebot-ExtendedAppleAI trainingAsks Apple not to use your content for model training. Applebot, Apple's search crawler, is not affected.
    BingbotMicrosoftSearchYour pages drop out of Bing search, and with it Microsoft Copilot's answers.
    CCBotCommon CrawlAI trainingAsks Common Crawl not to include your pages in its open crawl, which many models train on.
    Meta-ExternalAgentMetaAI trainingAsks Meta not to use your content for model training.
    BytespiderByteDanceAI trainingAsks ByteDance not to use your content. It is reported not to follow robots.txt, so this is a statement of intent more than a block.

    FAQ

    Does blocking GPTBot remove me from ChatGPT search?

    No. GPTBot is OpenAI's training crawler. ChatGPT search uses OAI-SearchBot, which you can keep allowed.

    Should I block Google-Extended?

    Google-Extended is a control token, not a crawler. Google says it does not affect Google Search. Blocking it asks Google not to use your content for training its Gemini models.

    Can I block Google AI Overviews in robots.txt?

    Not without blocking Googlebot, which removes you from Google Search. AI Overviews are part of Search and use the same crawler.

    Why are my allowed crawlers not listed in the block?

    Crawlers without their own group follow your User-agent: * rules. Tick "Write Allow groups" only if your * rules block pages you want AI search to read; a named group replaces the * rules for that crawler.

    Work with us

    Want it done for you? Book a call about managed AEO services. Want to see where you stand first? Get your free AI visibility report from Lenz.

    Elementera
    Expertise in. Original content out.

    Elementera turns what a business knows into original content for AI search, and measures how AI engines describe and recommend it.

    Product
    OriginumManaged AEO ServicesLenzBook a Call
    Learn
    BlogCase StudiesFree ToolsResourcesResearchEvents
    Guides
    What is AEOAEO vs SEOAI visibility funnelllms.txt guide
    Company
    About UsContactSite map
    hello@elementera.comTrustPrivacy PolicyTerms of Service

    Supported by

    Google
    Microsoft
    NVIDIA
    Cloudflare
    Anthropic

    Machine-readable summary: llms.txt · Company facts