Start for $1
  • $1 for a 7-day trial. When the 7 days end, your card is charged from $95 a month for one site, and the plan renews every month until you cancel.
  • Cancel any time with our ready-made cancel email. No reason needed.
  • Your first paid month can be refunded within 7 days of paying it. Write to hello@blogautopost.com.

AI crawler controls: what to allow and block

search basicsPublished 2026-12-01

There is no single AI bot to allow or block. Each company runs several named crawlers with separate robots.txt switches, and the right switch depends on whether you care about training, search answers or live user requests.

Last updated

Key takeaways

  • A robots.txt rule for one bot does not carry over to the same company's other bots.
  • A named group replaces the * group rather than adding to it.
  • Google says Google-Extended has no effect on inclusion in Google Search.
  • A Content-Signal line is a preference, not a lock.

Three outcomes you can want

Pick the outcome first, because the bot names follow from it. You may want your pages cited when someone searches inside an AI product. You may want to keep them out of the data a company uses to train its models. Or you may only want to decide what happens when a person pastes your link into a chat and the assistant fetches it on the spot.

The three operators we checked build those outcomes into separate bots. OpenAI states that each of its settings is independent of the others, so OAI-SearchBot can stay allowed, which keeps you in ChatGPT search, while GPTBot is disallowed to signal that your pages should not train OpenAI models. Anthropic describes three bots the same way, and restricting one does not touch the other two. Treating all of them as one "AI bots" bucket hides that difference: a blanket refusal meant for training also closes the index you probably wanted to be in.

How far a robots.txt line reaches

The file records your preferences and relies on the operator to respect them. Cloudflare's Content Signals page says robots.txt does not technically stop anyone from taking content, and Anthropic says its bots follow robots.txt and do not try to get past CAPTCHAs. Think of it as a request that reputable crawlers honor, not as access control.

  • **A named group replaces the * group rather than adding to it.** A bot obeys only its most specific group, so a GPTBot group must repeat any rule from * that you still want that bot to follow.
  • Blocking Anthropic by IP address backfires. Anthropic says it may not give a lasting opt-out, since the bot then cannot read your robots.txt at all.
  • User-initiated fetchers sit outside the file. Where an operator says robots.txt may not apply, a rule on your own server is the only thing that changes the result, and it turns away a real visitor's assistant, so most sites leave those bots alone.

Starter files, by goal

Treat each snippet as a draft. Swap in your own paths and sitemap address, and add a group for a named bot only when you have a reason to treat it differently from everyone else.

Goal: be visible to every AI product

The * group already speaks for every bot with no group of its own, AI search bots included, so a site chasing visibility needs no bot names at all. Before adding any, reread the Disallow lines already under *: one left over from an old redesign can shut out AI search bots even though nothing in the file mentions AI.

Open site, one folder kept out
User-agent: *
Disallow: /account/

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

Goal: stay citable, refuse training

Put the training bots in one shared group and let every other bot fall through to *. Google says Google-Extended does not affect inclusion in Google Search, so listing it here leaves your Search listing alone. It does govern Gemini training and grounding, so drop that line if you want your pages available for those.

Training bots refused in one group
# Opt out of model training only.
# One group may carry several User-agent lines.
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /

# Every other bot, AI search bots included, reads this group.
User-agent: *
Disallow: /account/

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

Goal: keep one section away from the named bots

Name the section, not the crawler. A path rule limits the damage to the folder you care about, where a site-wide Disallow for a bot would also remove everything else it could have cited.

A folder-level rule, repeated where the group replaces *
# These groups replace the * group for the bots they name,
# so the /account/ rule is repeated here on purpose.
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /account/
Disallow: /members/

User-agent: *
Disallow: /account/

Content-Signal: a preference line

Cloudflare's Content Signals proposal adds a line to robots.txt with three categories. search covers building a search index and returning links and short excerpts, and does not include AI-generated summaries. ai-input covers feeding content into AI models, such as retrieval or grounding for generated answers. ai-train covers training or fine-tuning. Each takes yes or no, and a category you leave out neither grants nor restricts anything.

Search and AI answers yes, training no
User-agent: *
Content-Signal: search=yes, ai-input=yes, ai-train=no
Disallow: /account/

The same page warns that some automated systems ignore these lines, and we found no proof that crawlers honor them. A Content-Signal line is a preference, not a lock. It costs one line, so add it if your policy is settled, and keep the Disallow rules above for the bots whose operators document them.

llms.txt will not move your rankings

Google's guide to generative AI features says you do not need new machine-readable files, AI text files, markup or Markdown to appear in Google Search, because Search does not use them, and it lists creating llms.txt among the tactics you can ignore. We found no evidence of a ranking or citation lift from the file either. If you publish one, treat it as a cheap list of links for agents that choose to read it. It grants and refuses nothing, so it is not a substitute for any rule above.

Confirm what each crawler gets

  1. Ask for a real page as the bot. A firewall, CDN or bot-protection rule answers before robots.txt is read, so a clean file proves nothing about whether a bot gets through. Fetch a key page with the bot's name and read the status code.
  2. Reread the file. Open /robots.txt on your own domain and look for a broad Disallow under * and for a named group that is missing a rule it should have repeated.
  3. Run the free checkers. LookValid's site files checker reads robots.txt, sitemaps and llms.txt and shows which AI crawlers are allowed, partly blocked or blocked, so you can compare the result with the policy you meant to set.
  4. Add the search view. The indexability checker reads one post, your robots.txt, your sitemap and the page's noindex signals. It applies the Googlebot group, or * when there is none, so it answers whether search can index the page. It does not test GPTBot or ClaudeBot rules.
Status code each search bot receives for one page
curl -s -o /dev/null -w "%{http_code}\n" -A "OAI-SearchBot" https://www.example.com/blog/first-post
curl -s -o /dev/null -w "%{http_code}\n" -A "PerplexityBot" https://www.example.com/blog/first-post

A 200 means the request got through. A 403, a 429 or a challenge page means a rule outside robots.txt is in the way. After any change, allow time for the operator to re-read the file, which OpenAI puts at about 24 hours for search.

Reference: ten tokens and what a Disallow does to each

BotOperatorJobWhat a Disallow changes
GPTBotOpenAICrawls content that may train OpenAI's generative modelsSignals that your content should not be used for that training.
OAI-SearchBotOpenAISurfaces sites in ChatGPT's search featuresYour site is not shown in ChatGPT search answers, though it can still appear as a navigational link. OpenAI says its systems need about 24 hours to adjust to a robots.txt update.
ChatGPT-UserOpenAIVisits a page when a ChatGPT or Custom GPT user's action needs itOpenAI says robots.txt rules may not apply, because a user started the request. It is not used to decide whether you appear in Search.
ClaudeBotAnthropicCollects web content that could contribute to model trainingSignals that your site's future materials should be left out of training datasets.
Claude-SearchBotAnthropicAnalyzes pages to improve the quality of Claude's search resultsYour content is not indexed for search, which Anthropic says may reduce your visibility and accuracy in results.
Claude-UserAnthropicFetches pages when a Claude user asks something that needs themClaude cannot retrieve your page for that user, which Anthropic says may reduce visibility in user-directed search.
PerplexityBotPerplexitySurfaces and links sites in Perplexity search results, and is not used to crawl for foundation modelsPerplexity recommends allowing it if you want your site to appear in its search results.
Perplexity-UserPerplexityVisits a page when a Perplexity user's question needs itPerplexity says the fetch is made at a user's request, so it generally pays no attention to robots.txt rules.
Google-ExtendedGoogleA control token for whether content Google crawls may train future Gemini models and ground answers in Gemini Apps and Grounding with Google Search on Vertex AIGoogle says it does not affect inclusion in Google Search and is not a ranking signal.
GooglebotGoogleBuilds the Google Search indexGoogle says AI is built into Search, so Googlebot rules are the crawl control for Search, AI Overviews and AI Mode included. Blocking it affects your whole Search presence.

Frequently asked questions

Which bot decides whether my site appears in ChatGPT search?

OAI-SearchBot. OpenAI says its settings are independent, so disallowing GPTBot only signals that your content should not train its models and leaves ChatGPT search appearance alone.

Should I block Google-Extended?

It is your call about Gemini. Google says it controls whether crawled content may train future Gemini models and ground answers in Gemini Apps and Grounding with Google Search on Vertex AI, and that it does not affect inclusion in Google Search or act as a ranking signal.

Does a Disallow remove content a bot already collected?

Anthropic describes restricting ClaudeBot as a signal that the site's future materials should be excluded from training datasets. Read each operator's page for what it says about data gathered earlier.

Is llms.txt worth publishing?

It is cheap, but Google says Search does not use it and we found no sign of a ranking or citation lift. Publish it only as a convenience for agents that follow its links.

How long until a robots.txt change takes effect?

OpenAI says its systems take about 24 hours to adjust to a robots.txt update for search results. Other operators do not publish a figure on the pages we read.

Sources

Put BlogAutoPost on your blog

Start a 7-day trial, connect your WordPress, Shopify or Webflow blog and approve the first draft yourself.

  • $1 for a 7-day trial. When the 7 days end, your card is charged from $95 a month for one site, and the plan renews every month until you cancel.
  • Cancel any time with our ready-made cancel email. No reason needed.
  • Your first paid month can be refunded within 7 days of paying it. Write to hello@blogautopost.com.