Skip to content
AINovember 25, 202611 min read

AI crawlers and your website: what GPTBot and ClaudeBot fetch, and whether llms.txt matters

If you want AI crawlers to use your website, robots.txt decides whether they can, and llms.txt is a suggestion that most of them never request. Spend your first hour on robots.txt and structured data, and add an llms.txt only if your site is documentation or something an AI agent has to navigate. Sites that block AI bots by default quietly disappear from ChatGPT, Perplexity and Claude answers, and nobody sends a notice when it happens.

There are three kinds of AI bot, and they want different things from your site

The phrase AI crawler hides three separate jobs. Each one reads your site for a different reason, and the robots.txt decision for one is not the right decision for the others.

  • Training crawlers copy pages to build future models. GPTBot (OpenAI), ClaudeBot (Anthropic), CCBot (Common Crawl), Bytespider (ByteDance), Amazonbot and Meta-ExternalAgent are the main ones. Blocking them keeps your text out of the next model, and does nothing for whether today's assistant can answer about you.
  • Search index bots build the live index an assistant searches before it answers. OAI-SearchBot feeds ChatGPT search, Claude-SearchBot feeds Claude, and PerplexityBot feeds Perplexity. Block these and you are invisible when someone asks the assistant a question your site answers.
  • User-triggered fetchers open a single page because a person asked for it right now. ChatGPT-User, Claude-User and Perplexity-User act like a browser on behalf of one human. They typically fetch the page you are blocking from them, because the person already has the URL.

Google's position is different again. Googlebot already indexes you for Search, and that same crawl feeds AI Overviews and AI Mode. Google-Extended is not a crawler at all. It is a control token in robots.txt that tells Google whether pages fetched by Googlebot may also be used for Gemini training. Blocking it does not affect your search ranking. Applebot-Extended works the same way for Apple.

robots.txt is the only file with enforcement, so make the posture decision there

robots.txt is a plain text file at the root of your domain that names a user agent and lists what it may and may not fetch. The major operators publish their user agents and state that their training and search crawlers obey it. User-triggered fetchers are the exception: because a human asked for that specific page, most operators treat the fetch as a browser request and either ignore robots.txt or honour it only loosely. That is the whole access control you have, and it is more than llms.txt will ever give you.

Three postures cover almost every business. Pick one deliberately rather than inheriting whatever your CDN or security plugin shipped.

  • Visible but not trained on. Disallow GPTBot, ClaudeBot, CCBot, Bytespider, Meta-ExternalAgent and Amazonbot, and disallow Google-Extended and Applebot-Extended. Leave OAI-SearchBot, Claude-SearchBot, PerplexityBot and Googlebot allowed. This is the sensible default for most companies: you stay in answers while withholding your content from model training.
  • Open to everything. No AI-specific rules at all. Right for a business that wants maximum reach and does not sell its content. Most marketing sites belong here or in the first posture.
  • Closed to all AI. Disallow every agent above, including the search bots. Right only for paywalled publishers and sites with licensing revenue to protect. Understand the cost: the assistant will describe your competitors instead of you.

Write each rule as its own User-agent: block with Disallow: / beneath it, and test the file with the robots.txt checker in your search console account. A wildcard rule that blocks * for a sensitive folder also blocks the search bots from it, which is sometimes exactly what you want and sometimes a mistake nobody notices for a year.

Blocked-by-default sites vanish from AI answers without anyone deciding it

The most common failure is not a bad decision but an absent one. Several CDNs and bot-management products now ship with AI crawler blocking switched on, or offer a one-click option that a developer enabled during a bot-traffic scare. WordPress security plugins add similar rules. The site owner believes they are open, the search bots get a 403, and the index entry for the business quietly goes stale or never forms.

The symptom is specific. Ask an assistant what your company does and it answers from an old news article or a directory listing instead of your own pages. Ask it to compare you with a rival and the rival's current pricing page is quoted while your side is vague. That is what a blocked search bot looks like from the outside. The fix is a review of robots.txt, the CDN bot rules, and any firewall rule that matches on user agent, done together because any one of the three can be the one saying no.

Managed AI-bot settings at the CDN layer are the practical control surface for larger sites. They can verify bot identity, apply one policy across many domains, and in some cases charge for crawling. Use them to enforce the posture you chose above, not to invent a stricter one by accident. If you want the wider picture of how assistants choose which businesses to name, the piece on getting your business recommended by ChatGPT covers the ranking side.

llms.txt is a curated map that almost no AI bot asks for

llms.txt is a proposed convention: a Markdown file at /llms.txt with an H1 for the site name, a short blockquote summary, and H2 sections listing your important pages with one-line descriptions. A companion llms-full.txt inlines the full text of those pages. The idea is to hand a model a clean, token-cheap version of your site instead of making it parse navigation, cookie banners and scripts.

The idea is reasonable. The adoption by the bots that matter is not there. Neither OpenAI nor Anthropic nor Google has said their crawlers read the file, Google has said plainly that it is not needed for AI features in Search, and server logs on sites that publish one show the requests coming mostly from SEO audit tools, profilers and the occasional coding agent rather than from GPTBot or OAI-SearchBot. The file is unenforced in both directions: it cannot grant access robots.txt denies, and it cannot make a crawler read anything.

Where it does earn its place is agentic use. A coding assistant pointed at your API documentation, or a browsing agent trying to complete a task on your site, benefits from a flat index of the right pages. For developer tools, API products, documentation portals and anything an agent must drive, ship it and generate it from the CMS so it never drifts. Three mistakes make a file invalid: serving HTML instead of Markdown, returning a soft 404 page with a 200 status, and putting it anywhere other than the domain root.

Structured data and plain server-rendered HTML do more for AI answers than any new file

Everything the search bots index, they index from your ordinary pages. That makes the quality of those pages the real lever. Four properties matter most.

  • Server-rendered content. Many AI crawlers do not execute JavaScript the way Googlebot does. If your text only appears after a client-side framework boots, the bot sees an empty shell. Check by fetching a page with curl and reading the raw HTML.
  • Schema markup. JSON-LD for Organization, Product, Service, FAQPage and Article gives a machine your name, offer, location and answers in a form it does not have to infer. It also drives rich results in classic search, so it pays twice.
  • Answer-first paragraphs. Assistants quote passages that state a conclusion in the first sentence. A heading that asks a question followed by a direct answer is lifted far more often than a heading followed by a preamble.
  • One canonical version. Duplicate pages, parameter URLs and a staging site left open dilute what the bot treats as the authoritative copy.

This is the substance of what people now call generative engine optimization. It is unglamorous, and it is where the time goes. Whoever builds your site should treat crawl access, rendering and schema as one job rather than three tickets, because a fault in any one makes the other two irrelevant.

Your own server logs tell you the truth, but only after you verify bot identity

Do not take anyone's word for whether AI bots read your site, including this article. Pull a month of access logs and filter for the user agents listed above. Count requests to /llms.txt separately from requests to real pages. On most business sites the first number will be near zero and the second will show steady search-bot traffic, which is the pattern you want.

User agent strings are free text and trivially spoofed, so a hit claiming to be GPTBot proves nothing by itself. OpenAI, Anthropic, Perplexity and Google each publish the IP ranges their crawlers use. Match the source address against those ranges, or do a reverse DNS lookup, before you trust a log line. Scrapers impersonating AI bots are common enough that unverified counts overstate real AI traffic and can push you into blocking rules you do not need.

Then measure the outcome rather than the crawl. Set up referral tracking for traffic arriving from ChatGPT, Perplexity, Claude and Gemini, and once a quarter ask each assistant a handful of the questions your customers ask and note whether your pages are cited. Those two signals are what you are actually buying with any of this work. A file fetch is not.

The risks of publishing llms.txt are small, but they are not zero

  • Drift. A hand-written file is a second copy of your site's truth. When the pricing page moves or a product is retired, the file still points at the old version, and a model reading it now has stale facts with your name on them. Generate it from the CMS or do not ship it.
  • Prompt-injection surface. Any text an agent ingests is an instruction channel. A compromised CMS or a careless contributor can plant directives in a file that agents are explicitly told to trust. Treat it like code: reviewed, versioned, read-only in production.
  • Exposed structure. A curated map of your most valuable pages is also a convenient shopping list for scrapers. Nothing in it should be a URL you would not put in your public sitemap.
  • Licensing ambiguity. Publishing a file whose stated purpose is to help models read your content weakens any later argument that you did not consent to that use. If your content has licensing value, decide the posture in robots.txt first and let the file follow it.

A fifteen-minute decision by site type

  • Local service business or agency. Posture one in robots.txt, schema for LocalBusiness or Organization and FAQPage, server-rendered pages. Skip llms.txt.
  • Marketing site for a product company. Same as above, plus Product or SoftwareApplication schema. llms.txt only if you also host docs.
  • Documentation, API or developer tool. Posture one or fully open, auto-generated llms.txt and llms-full.txt from the docs build, Markdown copies of pages where your framework makes that cheap.
  • Ecommerce. Posture one, rich Product and Offer schema, and a verified-bot rule at the CDN so legitimate search bots are not rate-limited with the scrapers. Skip llms.txt.
  • Publisher with licensed content. Decide between posture one and posture three with your legal and commercial teams, enforce it at the CDN with bot verification, and do not publish llms.txt until that decision is made.

Whatever the type, the sequence is the same: audit robots.txt and CDN rules for AI agents today, choose a posture, fix rendering and schema, and put a quarterly log check in the calendar. Kaev built the AttoGuard prompt injection defense for crypto wallets, so the injection risk above is one we take seriously rather than theoretically, and the same discipline applies to any text you publish for machines to read.

Common questions

Do AI crawlers actually read llms.txt?

Rarely. The training and search crawlers from OpenAI, Anthropic, Google and Perplexity have not committed to reading it, and most requests for the file on real sites come from audit tools and coding agents rather than the bots that produce AI answers. It is a hint, not a control.

What is the difference between llms.txt and robots.txt for AI?

robots.txt is enforced by every major training and search crawler and decides whether they may fetch your pages at all. llms.txt is an optional Markdown map that a bot may or may not read after access is granted. Decide access in robots.txt first; llms.txt cannot override it.

Should I block GPTBot and ClaudeBot?

Block them if you do not want your content used for model training, and keep OAI-SearchBot, Claude-SearchBot and PerplexityBot allowed so your business still appears in answers. Blocking everything AI removes you from assistant responses, which is a real cost for most businesses.

How do I check if AI bots can access my website?

Read your robots.txt, your CDN bot-management settings and any firewall rule matching on user agent, because any one can block. Then pull a month of server logs, filter for the published AI user agents, and verify the source IPs against each operator's published ranges before trusting the counts.

If you want a second pair of eyes on your robots.txt, CDN rules and schema before an AI assistant decides what to say about you, get in touch and we will go through them with you.

Further reading

Back to blog