GEO Pilot: we optimise your site for AI search in 30 days, $999.See what is included →

Free tool

AI crawler robots.txt generator

Choose what each AI crawler may do, add your sitemap and copy a clean robots.txt. Allow the bots that find you. Block the ones that only train on you.

Runs in your browser. Nothing is uploaded.

Generator

Build your robots.txt

AI crawler robots.txt generator

Choose what each AI crawler may do. The file updates as you click.

Search and answer crawlers

These decide whether your pages can be found and cited in AI answers.

  • OAI-SearchBotOpenAI: Finds pages for ChatGPT search results
  • ChatGPT-UserOpenAI: Fetches a page when a ChatGPT user asks for it
  • PerplexityBotPerplexity: Builds the Perplexity search index
  • Perplexity-UserPerplexity: Fetches a page when a Perplexity user asks for it
  • Claude-SearchBotAnthropic: Improves search quality inside Claude
  • Claude-UserAnthropic: Fetches a page when a Claude user asks for it
  • DuckAssistBotDuckDuckGo: Fetches pages for DuckAssist answers
  • MistralAI-UserMistral: Fetches a page when a Le Chat user asks for it

Training crawlers

These decide whether your pages are collected to train models.

  • GPTBotOpenAI: Collects content that may train OpenAI models
  • ClaudeBotAnthropic: Collects content that may train Claude models
  • Google-ExtendedGoogle: Controls use of your content for Gemini training and grounding
  • Applebot-ExtendedApple: Controls use of your content for Apple AI training
  • meta-externalagentMeta: Collects content that may train Meta AI models
  • AmazonbotAmazon: Crawler used for Alexa and AI features
  • CCBotCommon Crawl: Builds the Common Crawl dataset many models learn from
  • BytespiderByteDance: Collects content for ByteDance AI products
robots.txt

    What each crawler does

    Search, user and training crawlers are three different jobs

    The biggest mistake we see is treating every AI bot the same. They fall into three groups, and your decision differs for each.

    Search crawlers build the index that an AI product uses to find and link to pages. If you block them, your pages may not appear as sources in that product. OpenAI uses OAI-SearchBot for ChatGPT search results. Perplexity uses PerplexityBot. Anthropic uses Claude-SearchBot.

    User fetchers visit a page because a person asked an assistant to look at it. OpenAI calls this ChatGPT-User, Perplexity calls it Perplexity-User, and Anthropic calls it Claude-User. Vendors note that these requests are triggered by a user, so some may not follow robots.txt the way scheduled crawlers do. Read each vendor page for the current position.

    Training crawlers collect content that may be used to train models. OpenAI uses GPTBot. Anthropic uses ClaudeBot. Common Crawl uses CCBot, and its dataset is used by many model builders. Apple offers Applebot-Extended and Google offers Google-Extended as opt out controls for AI training and related uses.

    Three crawler jobs

    Search crawlers

    Build the index AI products use

    • OAI-SearchBot
    • PerplexityBot
    • Claude-SearchBot

    User fetchers

    Visit a page because a person asked

    • ChatGPT-User
    • Perplexity-User
    • Claude-User

    Training crawlers

    Collect content that may train models

    • GPTBot
    • ClaudeBot
    • CCBot
    Examples from the crawler reference on this page. Blocking is a business choice, not a technical default.

    Crawler reference

    The main AI crawlers and what blocking them means

    CrawlerCompanyPurposeIf you block it
    OAI-SearchBotOpenAIFinds pages for ChatGPT search resultsYou may not appear as a source in ChatGPT search
    ChatGPT-UserOpenAIFetches a page when a user asksUsers may not get your page summarised
    GPTBotOpenAICollects content for model trainingYour content is not used for training
    PerplexityBotPerplexityBuilds the Perplexity search indexYou may not appear in Perplexity answers
    Perplexity-UserPerplexityFetches a page for a user requestFewer user triggered visits, if it respects the rule
    Claude-SearchBotAnthropicImproves search result quality in ClaudeYou may appear less in Claude search results
    Claude-UserAnthropicFetches a page when a user asksClaude may not read your page for that user
    ClaudeBotAnthropicCollects content for model trainingYour content is not used for training
    Google-ExtendedGoogleControls use for Gemini training and groundingOpts out of those uses. Does not remove you from Google Search
    Applebot-ExtendedAppleControls use for Apple AI trainingOpts out of that training use
    CCBotCommon CrawlBuilds an open web datasetYour pages are left out of future crawls

    Crawler names and policies change. Confirm the current names on each vendor documentation page before you publish.

    How to decide

    Three questions that settle your robots.txt

    Question 1

    Do you want to be cited in AI answers?

    For most businesses that sell services, the answer is yes. Buyers now ask assistants for recommendations before they search. If a search crawler cannot read you, you have removed yourself from the shortlist.

    So allow the search and user crawlers unless you have a strong legal or commercial reason not to.

    • Allow OAI-SearchBot, PerplexityBot, Claude-SearchBot
    • Allow ChatGPT-User, Perplexity-User, Claude-User
    • Review quarterly as vendors change names
    Prompt trackingSample data
    All enginesCited onlyGapsLast 30 days
    PromptEngineVisibilityStatus
    best geo agency for small businessChatGPT 82%Cited
    how much does geo cost per monthGoogle AI Mode 64%Mentioned
    generative engine optimization servicesPerplexity 47%Mentioned
    llms.txt do i need itChatGPT 31%Not shown
    ai visibility audit checklistGemini 58%Cited
    geo vs aeo vs seoGoogle AI Overviews 22%Not shown
    Question 2

    Are you comfortable with training use?

    Training crawlers are a separate choice. Publishers and firms with premium content often block them. Many service businesses allow them, because they want the brand known to future models.

    There is no right answer. Blocking training does not stop live search from citing you, which is why the groups matter.

    • Block GPTBot and ClaudeBot to opt out of training
    • Consider Google-Extended and Applebot-Extended
    • Record the decision and who made it
    Technical auditSample data
    82health score
    • CriticalAI crawlers blocked in robots.txt
    • WarningMissing canonical on 14 pages
    • WarningSchema does not match visible text
    • WarningSlow LCP on mobile templates
    • NoticeSitemap lists redirected URLs
    Question 3

    Does anything else block these bots?

    A robots.txt rule is only one layer. A firewall, a CDN bot rule, a login wall or a noindex tag can block a crawler even when robots.txt allows it.

    Check the whole path, not just the file. We test with real requests as part of a technical audit.

    • CDN and firewall bot settings
    • Server rules by user agent
    • Meta robots and header directives
    Sources analysisSample data
    Sources cited in AI answersShare of answers
    1 yourbrand.comYour site31%
    2 industry directoryDirectory22%
    3 review platformReviews17%
    4 competitor site ACompetitor14%
    5 community forumForum9%
    6 news and trade pressPress7%

    Policy range

    Where the three presets sit

    Most openMost closed
    Allow all AI botsAppear in answers, block trainingBlock all AI bots
    Example positions of the three presets, not measured data.

    Example

    A common setup: appear in AI search, opt out of training

    This is a typical file for a service business that wants citations but not training use. Adjust it to your own decision.

    User-agent: OAI-SearchBot
    Allow: /
    
    User-agent: ChatGPT-User
    Allow: /
    
    User-agent: PerplexityBot
    Allow: /
    
    User-agent: Claude-SearchBot
    Allow: /
    
    User-agent: GPTBot
    Disallow: /
    
    User-agent: ClaudeBot
    Disallow: /
    
    Sitemap: https://yourdomain.com/sitemap.xml

    How to test

    Test before and after you publish

    1. 1

      Open the file

      Visit yourdomain.com/robots.txt in a browser. It should load as plain text at the root of the exact host you use.

    2. 2

      Check each host

      The www version, the bare domain and every subdomain have their own file. Test each one.

    3. 3

      Use a validator

      Google Search Console has a robots.txt report that shows what Google fetched and any parse errors.

    4. 4

      Request as a bot

      Fetch a key page with the crawler name as the user agent and confirm you get a normal response, not a block page.

    5. 5

      Read your logs

      Server logs show which bots actually visit and what response they received. This is the strongest evidence.

    6. 6

      Re test after changes

      Repeat after any migration, CDN change or security update. These often reset bot rules.

    The tool in numbers
    16AI crawlers you can set one by one
    3Presets to start from
    3Questions that settle your policy
    6Steps to test before and after publishing
    All figures are stated on this page.

    Common mistakes

    Mistakes that cost sites their AI visibility

    A staging block left on

    A Disallow of the whole site from a test build goes live with the launch. Everything disappears. Check after every release.

    Blocking search when you meant training

    Teams block GPTBot and also block OAI-SearchBot by copying a list. The first stops training. The second removes you from ChatGPT search.

    Relying on robots.txt alone

    The file is a request, not a lock. Well behaved bots follow it. Others do not. Use server rules if you need enforcement.

    A firewall that blocks bots anyway

    A CDN may challenge unknown bots by default. Your file says allow, and the firewall says no.

    Wrong or outdated names

    A typo in a user agent means the rule never applies. Vendors also rename bots, so old lists go stale.

    A relative or missing sitemap line

    The sitemap line must be a full URL. A relative path is ignored by many parsers.

    Limits

    What robots.txt cannot do

    Robots.txt controls crawling, not indexing. A blocked page can still appear as a bare URL if other sites link to it. To keep a page out of search results, use a noindex directive and leave the page crawlable so the directive can be seen.

    It also does not control how Google uses your content in AI Overviews and AI Mode. Google states there are no extra requirements for those features beyond normal search eligibility: pages must be indexed and eligible to show a snippet. The Google-Extended control covers Gemini training and grounding, not Search.

    Finally, it is voluntary. Reputable crawlers follow it. A scraper that ignores it will not be stopped. If you need hard enforcement, use authentication or server level rules.

    Test the file

    Check it after you publish

    1. 1
      Open the fileVisit yourdomain.com/robots.txt. It should load as plain text.
    2. 2
      Check each hostThe www version, bare domain and each subdomain have their own file.
    3. 3
      Use a validatorSearch Console shows what Google fetched and any parse errors.
    4. 4
      Request as a botFetch a key page with the crawler name and confirm a normal response.
    5. 5
      Read your logsLogs show which bots visit and what they received.
    6. 6
      Re test after changesRepeat after any migration, CDN change or security update.
    Steps follow the testing section of this page.

    When to use it

    When to use the robots.txt generator

    Use the generator when you need to set a clear policy for AI crawlers and do not want to write the file by hand. The usual cases are a site with no robots.txt, a site whose file was written years ago and knows nothing about AI bots, a site where the access checker showed an accidental block, and a business that has made a decision, for example allow search, block training, and needs it written correctly.

    It is a good fit when your needs are ordinary. You want the answer crawlers in, you have a short list of private folders to keep out, and you have one sitemap. It is a weaker fit for complex setups: a site with many subdomains and different policies, a file that serves other crawlers with detailed rules, or a platform that generates robots.txt dynamically and will overwrite your upload. In those cases, use the output as a reference block and merge it by hand.

    The generator does one job. It writes the AI crawler section of a file and a catch all group for everyone else. It does not read your current file, so it will not merge with what is already live. Before you replace a file, copy the old one somewhere safe and compare the two line by line.

    Step by step

    How to build and publish the file

    1. 1

      Choose a preset

      Three presets set all sixteen crawlers at once. Recommended allows the answer crawlers and blocks the training crawlers. Open allows everything. Closed blocks everything. Start with Recommended unless you have already decided otherwise, then change single bots.

    2. 2

      Adjust each crawler

      Each row has an Allow and a Block button. Move a bot only for a reason you can state. If you cannot say why GPTBot or ClaudeBot should be allowed or blocked, go back to the three questions above and decide at the policy level.

    3. 3

      Add private paths

      Enter one folder per line, for example /wp-admin/ or /checkout/. The tool adds a leading slash if you forget it. These paths are repeated inside every allowed bot group, and in the group for everyone else.

    4. 4

      Tick the WordPress option if it applies

      If you disallow /wp-admin/, the tool can add an Allow line for the admin ajax file so that front end features that call it keep working. Leave it off for non WordPress sites.

    5. 5

      Add the sitemap address

      Type the full URL, beginning with https://. A relative path is rejected. If your sitemap index lives elsewhere, use the exact live address.

    6. 6

      Copy and compare

      Read the output against your current file. Look at the count line under the output. It tells you how many answer crawlers are allowed and how many training crawlers are blocked.

    7. 7

      Publish and test

      Upload to the root of the host, or paste the content into your SEO plugin's robots.txt editor. Open the file in a browser. Then run the AI crawler access checker on the same host.

    Reading the output

    What the generated file looks like and why it is built that way

    The output begins with two comment lines. Then it lists every allowed crawler as a User-agent line, one per bot, all stacked above a single Allow: / rule. In robots.txt, several User-agent lines in a row share the rules beneath them, so this is one group, not many. Any private paths you entered follow as Disallow lines.

    Next comes the blocked group. Every blocked crawler gets a User-agent line, followed by one Disallow: / rule. After that comes the group for everyone else, which uses User-agent: * and either your private paths or a bare Disallow: line, which means nothing is disallowed. Last is the Sitemap line, which stands outside any group and applies to the whole file.

    The repeated private paths are deliberate. A bot with its own named group ignores the asterisk group. If the generator only put your private folders under the asterisk, an allowed AI bot would be free to crawl them. By repeating the rules in each allowed group, the file keeps the bots out of the folders you named.

    Comments start with a hash and are ignored by crawlers. You can change the wording of the two header comments. Keep the rest as generated, unless you know the format well.

    Compare

    The crawlers in the generator, grouped by decision

    CrawlerOwnerWhat the vendor says it is forDefault in the Recommended preset
    OAI-SearchBotOpenAIChatGPT search featuresAllow
    ChatGPT-UserOpenAIUser initiated visits. OpenAI says robots.txt rules may not applyAllow
    PerplexityBotPerplexitySurfacing and linking sites in Perplexity searchAllow
    Perplexity-UserPerplexityUser requested fetches. Perplexity says it generally ignores robots.txtAllow
    Claude-SearchBotAnthropicImproving the quality of search resultsAllow
    Claude-UserAnthropicFetching when a Claude user asksAllow
    DuckAssistBotDuckDuckGoPages for DuckAssist answersAllow
    GPTBotOpenAIContent that may train OpenAI modelsBlock
    ClaudeBotAnthropicContent that may train Claude modelsBlock
    Google-ExtendedGoogleToken that controls Gemini training and groundingBlock
    Applebot-ExtendedAppleControls use of content for Apple AI trainingBlock
    CCBotCommon CrawlOpen dataset many model builders useBlock

    The tool also includes the Mistral user fetcher, Meta's crawler, Amazonbot and Bytespider. Bot names and purposes are taken from vendor documentation as of October 2026 and can change.

    Three common policies

    Pick the policy that fits your business

    These are starting points. Each one maps to a preset or a small change to it.

    Be found, opt out of training

    Use Recommended. Answer crawlers allowed, GPTBot, ClaudeBot and the other training crawlers blocked. Suits most service businesses, clinics and B2B firms that want citations but have a reason to withhold content from training.

    Be found and be known

    Use Open, or Recommended with the training bots switched to Allow. Suits brands that want to be present in future model knowledge and have no confidential or premium content. This is a business choice, not a technical one.

    Stay out of AI products

    Use Closed only with open eyes. You will not be fetched for AI search, and buyers who ask assistants about your category will not see your pages as sources. Publishers with licensing deals sometimes choose this. Most service businesses should not.

    Platform notes

    Where robots.txt really lives on common platforms

    The most common reason a generated file does not take effect is that the platform writes its own. Check where yours comes from before you upload anything.

    On WordPress, the file is often virtual. WordPress generates it on the fly when no physical file exists, and SEO plugins can edit it from a settings screen. A physical file in the site root will override the virtual one. Security and performance plugins may also add lines. If you paste into a plugin, remember the plugin may keep adding its own rules above yours. See GEO for WordPress for the full picture.

    On Shopify, robots.txt is produced from a template and can be customised through the robots.txt.liquid file, which keeps the default rules and lets you add groups. On a custom or headless build, the file is usually a static asset or a route in the application, and a deployment can replace it. Add a test for it to your release checklist.

    If you use a CDN or a managed security service, check its bot settings too. Some of these services can serve their own robots.txt or block unknown bots at the edge. The generated file will not help if the edge refuses the request before it reaches your server.

    Common mistakes

    Mistakes to avoid when you publish the file

    Uploading to the wrong place

    The file must open at the root of the exact host, as yourdomain.com/robots.txt. A copy in a subfolder is ignored. Each subdomain needs its own file.

    Pasting two files together

    Two copies of the same group in one file can be merged or misread. Keep one group per bot and remove duplicates.

    Leaving a blanket Disallow

    A line such as Disallow: / under the asterisk group blocks every bot that has no named group. Check you have not kept an old staging rule.

    Blocking CSS and script folders

    Some old advice disallowed /wp-includes/ or theme folders. Blocking resources can stop crawlers seeing the page as it renders. Do not add such paths without a reason.

    Using robots.txt to hide private pages

    Anyone can read the file, so listing a secret folder advertises it. Protect private areas with a login, not a Disallow line.

    Not saving the old file

    If the new file breaks something, you need the previous version to restore. Keep a dated copy.

    Limits

    What this generator cannot do or tell you

    The generator cannot tell you which choice is right for your business. It only writes the file. The decision about training use involves your content, your contracts and your risk appetite, and it should be made by someone who owns that decision.

    It cannot make a crawler obey. Anthropic says ClaudeBot, Claude-User and Claude-SearchBot honor robots.txt. OpenAI says robots.txt rules may not apply to ChatGPT-User because users trigger those visits. Perplexity says Perplexity-User generally ignores robots.txt. These are the vendors' own statements, read in October 2026, and they can change. If you need a firm block for private content, use authentication.

    It does not verify that a vendor has a current bot with that name. We reviewed the names against vendor documentation, but vendors add, rename and retire bots. Review the list at least once a quarter. When a new bot shows in your logs, read its vendor page before you allow or block it.

    It also does not cover Google's AI features in Search. Google's documentation says there are no additional requirements to appear in AI Overviews or AI Mode, beyond being indexed and eligible to show a snippet. Google-Extended does not affect Search inclusion or ranking, according to Google. So blocking or allowing it will not change your standing in those features.

    Last, it does not handle crawl delay. Anthropic says it supports a non standard crawl delay extension. If a bot is overloading your server, add that line by hand, and consider rate limiting at the server.

    Related guides and the GEO Pilot

    Where this fits in a wider setup

    The long form of this decision is in AI crawlers and robots.txt: what to allow. If you also want to publish an overview file for AI tools, the llms.txt generator is the companion tool, though that file is optional. The wider crawl and rendering picture is on our technical GEO page.

    In the GEO Pilot, we set crawler access and robots rules in Week 2, after the Week 1 access check, and we confirm the effect with a re test in Week 4. It is a fixed $999, one time, inside 30 days, and we do the implementation with your approval on WordPress, WooCommerce, Shopify or custom code. We cannot promise any ranking, citation or traffic result. Read more on the GEO Pilot page.

    FAQ

    Robots.txt and AI crawler questions

    Does blocking GPTBot remove me from ChatGPT?

    No. GPTBot is OpenAI training crawler. ChatGPT search uses OAI-SearchBot, and user requests use ChatGPT-User. Blocking GPTBot opts your content out of training use but does not by itself stop ChatGPT search from citing you.

    Will blocking AI bots hurt my Google rankings?

    Not through robots.txt rules for AI crawlers such as GPTBot or ClaudeBot. Googlebot is separate. Blocking Google-Extended opts out of Gemini training and grounding but does not remove you from Google Search or change AI Overviews eligibility.

    Where do I put the robots.txt file?

    At the root of each host, for example yourdomain.com/robots.txt. It must be plain text, reachable without a login and served with a normal success response. Subdomains need their own file, since rules do not carry across hosts.

    Do all AI bots obey robots.txt?

    Well behaved crawlers do, but it is a voluntary standard. Some user triggered fetchers may behave differently, and scrapers may ignore it. If enforcement matters, add server or firewall rules and read each vendor policy.

    How often should I review my AI crawler rules?

    Review at least every quarter and after any migration, CDN change or security update. Vendors add and rename crawlers, and platform updates can reset bot rules without telling you.

    Should I block everything to be safe?

    Usually not. Blocking search and user crawlers removes you from AI answers, which is where many buyers now start. Block only what you have a reason to block, such as training use, and record why.

    What about crawlers not in the tool?

    New bots appear often. Check your logs for unknown user agents, then read the vendor documentation before allowing or blocking. Add a rule by hand using the same group structure the tool produces.

    Should I paste the generated file over my existing robots.txt?

    Not without comparing them. Your current file may hold rules for other crawlers, a sitemap line or platform specific lines the tool does not know about. Copy the old file, then merge the AI sections and keep any rules you still need.

    Does a Disallow for an AI bot remove pages that are already in its index?

    Not necessarily. Robots.txt controls fetching, not removal. OpenAI says changes can take about 24 hours to take effect for search. Removal of content already collected is a separate matter and depends on each vendor's process.

    Why does the file list many User-agent lines above one rule?

    In robots.txt, consecutive User-agent lines form one group that shares the rules below it. The layout keeps the file short and readable. Parsers read it the same as separate groups with identical rules.

    Can I allow a bot for part of my site only?

    Yes. Put the bot in its own group, then use Disallow lines for the folders you want closed and Allow lines to reopen sub folders. The longest matching rule wins. Test the result, because partial rules are where mistakes happen.

    Is it safe to use the Closed preset?

    It is safe in the sense that it does what it says. The cost is that you leave AI search and answer tools, and buyers using them will not get your pages as sources. Use it only on purpose, and never as a way to be safe by default.

    How do I know the new file works?

    Open it in a browser, run the access checker, then watch your server logs for the allowed bots over the next days. A log line from OAI-SearchBot or PerplexityBot with a 200 response is firm evidence. Allow about 24 hours before judging.

    Not sure what is blocking you?

    We test your crawler access and run five buyer questions through five AI engines. You get a short, honest read.

    • Recorded baseline in five AI engines
    • Competitors named
    • Three first fixes, ranked

    Takes 20 seconds. No card, no sales script.

    Step 2 of 2 Where should we send it?