Short answer: AI companies run separate bots for separate jobs: some collect pages for model training, some build a search index, and some fetch a page live when a user asks. robots.txt lets you allow or block most of them by name. llms.txt is an optional Markdown file that points AI tools to your best pages; it is a proposal, not a standard.

What is an AI crawler?

An AI crawler is an automated client that downloads web pages on behalf of an AI company. The important detail is that most providers now operate more than one, and each has a different purpose. Treating them as one "AI bot" leads to settings that hurt you.

OpenAI's crawler documentation describes three user agents. GPTBot collects content that may be used to train its foundation models. OAI-SearchBot is for search, and OpenAI says sites that opt out of it "will not be shown in ChatGPT search answers." ChatGPT-User handles actions a person triggers inside ChatGPT, such as visiting a page to answer a question.

Anthropic follows a similar split. Its help article on crawling lists ClaudeBot for training data, Claude-SearchBot for indexing content to improve search responses, and Claude-User for fetching pages when a user's question requires them. Anthropic states that its bots honor robots.txt directives.

Which AI bots matter for visibility?

The bots that matter most for being mentioned are the search and user-fetch bots, not the training bots. When an assistant answers with live web results, it can only cite pages it is allowed to retrieve. That retrieval step is explained in more depth in our guide to retrieval-augmented generation.

Provider Training Search index User-triggered fetch
OpenAI GPTBot OAI-SearchBot ChatGPT-User
Anthropic ClaudeBot Claude-SearchBot Claude-User
Google Google-Extended (token only) Googlebot Not listed here

Google works differently. Its list of common crawlers explains that Google-Extended has no user agent of its own. It is a control token that tells Google whether crawled content may be used for training future Gemini models and for grounding. Google states that Google-Extended "does not impact a site's inclusion in Google Search nor is it used as a ranking signal."

How does robots.txt control AI crawlers?

robots.txt controls AI crawlers by matching the user-agent name in each group of rules. You write a group for each bot you want to treat differently, and a crawler that follows the protocol applies the most specific group that names it.

A common setup for a brand that wants to appear in AI answers but opt out of training uses five short groups:

  • User-agent: GPTBot with Disallow: / to opt out of OpenAI training.
  • User-agent: ClaudeBot with Disallow: / to opt out of Anthropic training.
  • User-agent: Google-Extended with Disallow: / to opt out of Gemini training. Note that Google says this token also covers grounding in Gemini Apps, so blocking it may limit how your pages are used in Gemini answers.
  • User-agent: OAI-SearchBot with Allow: / so ChatGPT search can show your pages.
  • User-agent: Claude-SearchBot with Allow: / so Claude's search can index them.

Two cautions apply. First, the Robots Exclusion Protocol (RFC 9309), published by the IETF in September 2022, states plainly that "these rules are not a form of access authorization." Compliance is voluntary. Second, OpenAI notes that because ChatGPT-User actions are initiated by a user, "robots.txt rules may not apply." If a page must stay private, put it behind a login.

Should you block AI training crawlers?

Whether to block training crawlers is a business decision, not a technical one. Blocking them limits future use of your content in model training. It does not delete what a model already learned, and it does not, on its own, remove you from live AI search.

Consider these factors before you decide:

  • Your content is the product. Publishers, course creators and paid research firms often block training bots to protect licensable work.
  • You want to be known. A consultant, local business or founder usually benefits when models have absorbed accurate facts about them during training.
  • Search bots are separate. You can block training and still allow search indexing, as in the example above.
  • Blocking is not retroactive. Older crawls and third-party copies of your pages may already exist.

If your worry is that AI tools describe you inaccurately, blocking crawlers rarely fixes it. Models then lean more on what other sites say. Our explainer on why AI gets facts wrong about people covers where those errors usually start.

What is llms.txt and does it help?

llms.txt is a proposed Markdown file that gives AI tools a short, curated map of your site. The proposal at llmstxt.org, authored by Jeremy Howard and first published on September 3, 2024, describes it as a way "to provide information to help agents use a website."

The format is simple. The file starts with an H1 containing the site or project name, which is the only required section. It can follow with a blockquote summary, a few paragraphs of detail, and H2 sections listing links as name-and-URL links with optional notes. A section titled "Optional" marks links an agent can skip when it needs less context. The current version also allows the file at a subpath to cover the pages beneath it.

Set realistic expectations. llms.txt is not an IETF or W3C standard, and none of the provider documentation cited in this article says their bots use it. It is cheap to add and can help tools that do read it, but it does not replace crawlable pages, clear structured data or independent coverage.

A practical checklist for site owners

A sensible crawler policy takes about an hour to set up and review. Work through it in this order:

  1. Fetch your live robots.txt and confirm it is not blocking search bots by accident, for example through a blanket "User-agent: *" rule copied from a staging site.
  2. Decide on training bots (GPTBot, ClaudeBot, Google-Extended) based on the factors above.
  3. Allow search and user-fetch bots if you want to be cited in AI answers.
  4. Check your CDN or firewall. Bot-protection settings can block AI crawlers even when robots.txt allows them.
  5. Add an llms.txt that links to your About page, key service pages and best explainers.
  6. Recheck quarterly, since providers add and rename user agents.

For a wider list of on-site fixes, the GEO checklist pairs well with this one.

See what AI assistants can find about you

Crawler settings decide what AI systems are allowed to read, but the real test is what they say. A free audit at JudgedbyAI asks ChatGPT, Claude, Gemini and Grok about your name, grounds the check in live search results and shows which sources shaped each answer, so you can see whether your pages are making it in.