Skip to content
happyranking

Blog

AI crawlers, robots.txt and llms.txt: what actually matters

Search bots, training bots and user fetchers: which ones decide whether AI answers can cite you, how to allow one and block another, and what llms.txt does.

5 min read

Before an AI answer can cite your page, something has to fetch it. Most sites have never decided which AI bots may do that, and some block the useful ones by accident while trying to block the others. This piece covers what the main vendors say their bots do, how to allow one kind and refuse another, and where llms.txt fits. It fits less than you may have heard.

Three kinds of AI bot

The big vendors now split their bots by job. Each one is controlled separately in robots.txt.

  • Search bots collect pages so the vendor's search and answers can show and cite them. Block these and you take yourself out of those answers.
  • Training bots collect pages that may be used to train future models. Blocking them is a decision about your content, not about visibility.
  • User fetchers visit a page because a person asked the assistant something right now, for example by pasting your link.

Here's how each vendor names them, from their own documentation (links at the end):

VendorSearchTrainingFetch for a user
OpenAIOAI-SearchBotGPTBotChatGPT-User
AnthropicClaude-SearchBotClaudeBotClaude-User
PerplexityPerplexityBotnone listed; it says PerplexityBot is "not used to crawl content for AI foundation models"Perplexity-User
GoogleGooglebot (AI Overviews and AI Mode are part of Search)Google-Extended, a robots.txt token, not a separate bot—

What blocking each one does

The settings are independent. OpenAI says so in as many words: "Each setting is independent of the others." Blocking GPTBot keeps your content out of training. It doesn't remove you from ChatGPT search. Blocking OAI-SearchBot does: OpenAI says opted-out sites "will not be shown in ChatGPT search answers, though can still appear as navigational links."

Anthropic says its bots honour robots.txt. Disallowing ClaudeBot signals that your future pages should be left out of training. Disallowing Claude-SearchBot or Claude-User "may reduce your site's visibility" in Claude's search answers.

Perplexity recommends allowing PerplexityBot "to ensure your site appears in search results". It also says Perplexity-User, because a person asked for the page, "generally ignores robots.txt rules". OpenAI says the same of ChatGPT-User: "robots.txt rules may not apply." So robots.txt is not a way to stop a user's assistant from reading a page that's publicly available.

Google is different, because AI Overviews and AI Mode are part of Google Search and use the normal Search crawler. Google says there are "no additional requirements" to appear in them: the page has to be indexed and eligible to show with a snippet. Google-Extended covers training, and grounding in Google's AI products "aside from Search". Google says it "doesn't impact a site's inclusion in Google Search". To keep your content out of grounding for AI Overviews and AI Mode, Google points to a separate "Search generative AI control" in Search Console. The page-level controls nosnippet, data-nosnippet, max-snippet and noindex also limit what's shown.

Changes aren't instant. OpenAI and Perplexity both say a robots.txt change can take about 24 hours to take effect.

Allow answers, refuse training

If you want to be cited in answers but don't want your pages used for training, name the training tokens and leave everything else open:

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: *
Allow: /

The search bots (OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot) fall under the last group and stay allowed. Whether to refuse training is your call. Either way, your pages can still be cited in answers.

The failure robots.txt won't show you

A robots.txt that allows everything doesn't mean the bots get in. Many sites sit behind a CDN or firewall whose bot protection answers unfamiliar bots with a challenge page, a block or an error. The search bot then gets a "verify you are human" page instead of your content. robots.txt still looks fine, and nothing tells you.

OpenAI's help page lists this as a condition for appearing in ChatGPT search: check that your "website host or content delivery network allows traffic from OpenAI's published searchbot IP addresses". OpenAI, Anthropic and Perplexity all publish their bots' IP ranges for this purpose. Look at your CDN's bot settings and your server logs for the user agents in the table above. Then confirm the response was your page and not a challenge.

Also check what your important pages contain before JavaScript runs. If your product descriptions or prices only appear after scripts load, look at the raw HTML. None of the vendor pages above promises that its bot runs your scripts, so text that's only added by scripts is a risk you can remove.

llms.txt: what it is and what it isn't

llms.txt is a proposal published by Jeremy Howard on 3 September 2024. It's a Markdown file at /llms.txt that gives AI agents a short guide to a site: a heading with the site's name, a one-paragraph summary, and sections of links to the pages that matter, ideally with plain-Markdown versions of those pages. It's a sensible idea, and it's especially useful for documentation that developers' tools read.

What it isn't is a way into AI answers. The proposal says agents "are expected" to read it. No search engine has committed to using it, and the vendor crawler pages above don't mention it. Google is explicit about its own AI features: "You don't need to create new machine readable files, AI text files, or markup to appear in these features."

So add one if it's cheap and your site has docs or a clear structure worth summarising. Don't pay for it, and don't expect it to change an answer. A crawler that can actually reach your pages matters far more.

A short checklist

  1. Decide on training: allow or refuse GPTBot, ClaudeBot, Google-Extended.
  2. Make sure OAI-SearchBot, Claude-SearchBot, PerplexityBot and Googlebot are allowed in robots.txt.
  3. Check that your CDN or firewall actually lets them in, using its logs or settings and the vendors' IP lists.
  4. Make sure your key pages carry their text in the HTML.
  5. Make sure your important pages aren't noindex and don't carry a nosnippet you forgot about.
  6. llms.txt: optional, cheap, not a lever.

Our AI-readiness audit checks all of this for one domain, including what the bots actually receive, and tells you what to fix first. To see whether answers mention you once the bots can get in, run an AI visibility check or start with a free check.

Sources

Where this leads

More from the blog

See where you stand, free.

a short set of prompts on two engines. One per domain.

Get a free check