Blocking every AI bot in robots.txt can pull your site out of ChatGPT search answers. Learn which bots to block, which to allow and what to audit.

AI Bot Management: The robots.txt Decision Your SEO Team Hasn’t Made Yet

Table of Contents

AI bot management in robots.txt comes down to two decisions and one limit: training crawlers and search bots each get their own rule, while most user-triggered fetchers may ignore the file. Block training crawlers to opt out of model training, and allow search bots to stay eligible for citations in AI answers.

An AI SEO plan runs into robots.txt early, because that file tells each AI bot which of your pages it may read. A team that blocked AI bots after a scraping scare may have blocked the bots that cite their pages, and a team that did nothing may have a CDN making the call.

What are the three types of AI bots that crawl your website?

AI bots that crawl a website fall into three types: training crawlers, search bots and user-triggered fetchers, and each type needs its own robots.txt rule. The types split by what starts the request: a vendor’s training pipeline, a vendor’s search index or a person asking a question. Vendors publish a separate user agent for each job, so a rule written for one bot never covers the next.

AI training crawlers: GPTBot, ClaudeBot and Google-Extended

GPTBot, ClaudeBot and the Google-Extended token control how AI vendors may use your content for model training. OpenAI’s bot documentation says GPTBot crawls content that may train its foundation models and that disallowing it indicates a site’s content should not be used for training. Anthropic’s robots.txt help page says restricting ClaudeBot signals that a site’s future materials should be excluded from training datasets.

Google-Extended works differently from the other two. Google describes it as a standalone product token with no user agent of its own, so no separate bot appears in your server logs, and it governs Gemini training and the grounding of answers in Gemini Apps. A site that disallows Google-Extended gives up Gemini grounding along with training, though Google says Search inclusion and ranking stay unaffected.

AI search bots: OAI-SearchBot, Claude-SearchBot and PerplexityBot

OAI-SearchBot, Claude-SearchBot and PerplexityBot build the search indexes behind ChatGPT, Claude and Perplexity, and blocking one cuts your visibility in that product’s answers. OpenAI’s documentation states that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as plain navigational links. Anthropic’s guidance adds that blocking Claude-SearchBot keeps your content from being indexed for search, which may reduce how often and how accurately it appears in user search results. Perplexity’s documentation says PerplexityBot surfaces and links websites in its search results, is not used to crawl content for AI foundation models, and should be allowed in robots.txt for a site to appear.

Elevate Your Market Presence with The Ad Firm

  • SEO: Boost your search engine visibility and supercharge your sales figures with strategic SEO.
  • PPC: Target and capture your ideal customers through highly optimized PPC campaigns.
  • Social Media: Engage effectively with your audience and build brand loyalty through targeted social media strategies.

These three are the bots that earn citations, so they rarely belong on a block list. Each token is matched on its own, which means a ClaudeBot rule leaves Claude-SearchBot untouched and a GPTBot rule leaves OAI-SearchBot untouched. Copy a block list without reading it and the search bots go out with the training bots.

User-triggered fetchers: ChatGPT-User, Perplexity-User and Google-Agent

ChatGPT-User, Perplexity-User and Google-Agent fetch a page because a person asked, and their vendors say robots.txt rules may not apply or are generally ignored. OpenAI’s bot page says robots.txt rules may not apply to ChatGPT-User, and that ChatGPT-User is not used to decide if content appears in ChatGPT search. Perplexity says Perplexity-User generally ignores robots.txt rules because a user requested the fetch. Google says its user-triggered fetchers generally ignore robots.txt, and lists Google-Agent as the fetcher used by agents hosted on Google infrastructure to act on a user’s request.

Anthropic is the exception. Claude-User visits pages when a person asks Claude a question, and Anthropic says its bots honor robots.txt directives.

Write rules for the fetchers that honor them and stop expecting a Disallow on the rest to hold. A Disallow on ChatGPT-User won’t remove a site from ChatGPT search, and it won’t reliably stop a person’s request from fetching a page either.

Which robots.txt strategy should your site use for AI bots?

Most sites that rely on organic discovery should block training crawlers and allow AI search bots, while paywalled and licensing-first publishers have a case for blocking everything. Search Engine Journal’s robots.txt guide, published November 18, 2026, draws the same line: search and training permissions are separate, and disallowing training bots cannot guarantee content stays out of training datasets. The choice turns on what a citation in an AI answer is worth to you against what control of your text is worth.

What each AI bot strategy costs and protects

Strategy Fits Upside Trade-off
Allow all SaaS, e-commerce, local businesses, B2B lead generation Widest visibility in AI answers, citations and traditional search Content can feed model training
Block training, allow search Content-driven brands and marketing sites Stays eligible for AI search citations while opting out of training Every new bot needs a decision, so the rules need upkeep
Block all AI bots Paywalled publishers, proprietary databases, licensing-first media Keeps compliant bots away from proprietary content Gives up AI search visibility, and bots that ignore robots.txt keep coming

The middle option costs the most upkeep, and the bots added since your last review are the ones most likely to arrive unsorted.

Strengthen Your Online Authority with The Ad Firm

  • SEO: Build a formidable online presence with SEO strategies designed for maximum impact.
  • Web Design: Create a website that not only looks great but also performs well across all devices.
  • Digital PR: Manage your online reputation and enhance visibility with strategic digital public relations.

A site can also split by path. Disallow training crawlers from a pricing directory or a members area, and leave the blog open to everything.

A starting robots.txt file for sites that rely on organic discovery

A robots.txt file that blocks training crawlers and allows AI search bots needs one group per bot.

# Block AI training

User-agent: GPTBot

Disallow: /

User-agent: ClaudeBot

Disallow: /

User-agent: Google-Extended

Disallow: /

# Allow AI search

User-agent: OAI-SearchBot

Allow: /

User-agent: Claude-SearchBot

Allow: /

User-agent: PerplexityBot

Allow: /

A bot that has its own group follows that group and skips the wildcard group. That’s why the search bots get explicit Allow lines instead of silence. The Google-Extended line carries the Gemini grounding trade-off described above, so drop it if you want Gemini to use your pages in answers. ChatGPT-User, Perplexity-User and Google-Agent get no lines because a file may not bind them. Claude-User also gets none and stays allowed by default; add a group if you want to restrict it.

What hidden traps undo your AI bot rules?

Three setups undercut AI bot rules even when the file looks right: CDN settings, legacy blanket blocks and training opt-outs that do less than owners expect. Even a clean file has limits: a page a bot may read can still arrive empty if it renders in JavaScript, and JavaScript rendering can block AI bots while robots.txt sits wide open.

CDN settings that rewrite your robots.txt at the edge

A CDN can change what AI bots receive from your robots.txt, or refuse them before they read it, even when the file in your CMS looks open. Cloudflare’s documentation says that when its managed robots.txt setting is active, Cloudflare places its managed directives before your own rules and serves both in one response, and that compliance is voluntary, so enforcement runs through AI Crawl Control. A team that switched the setting on during a security review may never have read the combined file.

Refusals happen separately from the file. Of 1,000 top-ranked hostnames in a November 1, 2026 test, 547 allowed at least one of four AI crawlers in robots.txt, and 62 of those (11.3%) still refused an allowed crawler. The figure was 8.2% once rate-limit responses were excluded. The test sent user agent strings rather than vendor IP addresses, so a site that verifies crawlers by IP could differ. Even so, a firewall rule can refuse a bot’s request no matter what robots.txt says.

Transform Your Online Strategy with The Ad Firm

  • SEO: Achieve top search rankings and outpace your competitors with our expert SEO techniques.
  • Paid Ads: Leverage cutting-edge ad strategies to maximize return on investment and increase conversions.
  • Digital PR: Manage your brand’s reputation and enhance public perception with our tailored digital PR services.

Legacy blanket blocks that catch AI search bots

A legacy blanket block can keep AI search bots out while the team believes it only stops scrapers. The usual sources are a wildcard Disallow left over from a staging launch, a security or SEO plugin that writes its own bot list, and a copied block list that names search bots and training bots together. Anthropic’s February 2026 documentation update listing ClaudeBot, Claude-User and Claude-SearchBot as separate bots shows how fast the names move, and a list assembled before a split names the old bot and misses the new ones.

Look up any user agent you don’t recognize before keeping its rule. A beginner’s guide to crawlability lists the other blockers that sit beside robots.txt, including orphan pages.

Training opt-outs that cannot reach back or lock content down

A training opt-out applies to future crawling, and robots.txt cannot lock content down. Search Engine Journal adds that robots.txt only tells bots which URLs they may crawl, so private content needs authentication, and server or CDN controls are how you enforce access restrictions.

Treat the file as a statement of preference.

How do you roll out and test new AI bot rules?

To roll out AI bot rules safely, read the live file first, test the edge, write the groups, validate, then watch the logs.

  1. Open yourdomain.com/robots.txt in a browser and save a copy, because that response, not your CMS copy, is what bots receive. Any difference from your CMS copy points to a layer in between, usually the CDN. A step-by-step guide on how to check robots.txt for AI crawler access walks through reading the user agent lines.
  2. Check your CDN and firewall settings for AI bot controls or a managed robots.txt, then request your homepage with each bot’s user agent string (curl’s -A flag does it) and note any refusal. A firewall that verifies crawlers by IP address may refuse your test and still admit the real bot, so treat a refusal as a lead, not a verdict.
  3. Write one group per bot using the starting file, and keep the Sitemap line current so allowed bots have a page list to start from, which is why XML sitemaps still matter for AI search.
  4. Upload the file, then open Search Console’s robots.txt report, which shows the robots.txt files Google found for the top 20 hosts of a Domain property, ranked by crawl rate, along with when they were last crawled and any warnings or errors. The report isn’t available for URL-prefix properties, and it speaks only for Google’s view of the file; the AI vendors fetch it on their own schedules.
  5. Give the change a day, then check server or CDN logs for each bot’s requests and confirm the bots by their published IP ranges, because a user agent string can be faked. ChatGPT-User and Perplexity-User requests will keep arriving after a Disallow, and that is expected, not a failed rule.

Who should own your AI bot policy, and how often should it be reviewed?

Your SEO team should settle two things before the next crawl: who owns the AI bot policy and when it gets reviewed again. Ownership matters because the file and the CDN often belong to different people, and the rule that wins is the one nobody has compared. Review the policy at least every quarter, since vendors keep adding bots. Google, for one, added Google-Agent to its crawler documentation in March 2026.

Maximize Your Online Impact with The Ad Firm

  • Local SEO: Capture the local market with strategic SEO techniques that drive foot traffic and online sales.
  • Digital PR: Boost your brand’s image with strategic digital PR that connects and resonates with your audience.
  • PPC: Implement targeted PPC campaigns that effectively convert interest into action.

Bot access is the first gate, and the content has to clear it, because AI reads your website differently than Google does. The technical setup around the file gets its own treatment in a post on your website’s readiness for AI crawlers.

If you want a second opinion on the file and the CDN settings, contact The Ad Firm or read more about its AI SEO services.

Frequently Asked Questions

How long do robots.txt changes take to affect ChatGPT and Perplexity?

OpenAI says its systems need about 24 hours after a robots.txt update to adjust for ChatGPT search, and Perplexity says it may take up to 24 hours for its systems to reflect changes. Plan on at least a day before judging the result.

Can I allow one AI company’s bots and block another’s?

Yes. Robots.txt groups are written per user agent, so rules for OpenAI’s, Anthropic’s and Perplexity’s bots can all differ. Blocking a vendor’s search bot does mean that vendor’s search product has less of your content to cite.

Does robots.txt need to be set on every subdomain?

Yes. A robots.txt file covers only the host it sits on, so blog.example.com needs its own file. Anthropic tells site owners to add a bot’s disallow rule to the robots.txt of every subdomain they want to opt out.

Do I still need llms.txt if my robots.txt is set up?

Robots.txt and llms.txt do different jobs, so one doesn’t replace the other. Robots.txt states which bots may crawl which URLs, while llms.txt is an optional file that points AI tools to the pages worth reading. A small business weighing the file can start with the llms.txt explainer.

Get Leads And Increase Sales

Be more than just visible; be the go-to choice in your industry.

Sign up to our Newsletter

Want to see how we compare?

Wait! There's value being left behind!

Get your FREE AI visibility report

We respect your privacy. No spam—just actionable insights!

Get A Proposal

Get Your FREE Email Plan

Request an Assessment and Get a Custom Quote

Skip to content