llms.txt, robots.txt and sitemap.xml: who does what, and how they fit together
Which question each of the three files answers and what none of them can replace, with this site’s real robots and sitemap policy and the current state of AI agent fetching.
About 3 min read
The three files are often lumped together, but they answer three different questions.
What each one covers
- robots.txt tells automated tools which access is acceptable. It is the boundary of crawling permission, not content.
- sitemap.xml tells search engines which pages of the site can be indexed. It is a discovery list: it has no LLM-readable versions and no external links, and its total size often exceeds a context window.
- llms.txt supplies concise, expert-level context when an agent needs information. It is the content itself, used on demand.
The proposal states explicitly that the three complement one another rather than replace one another: robots handles permission, sitemap handles discovery, and llms.txt supplies context.
What they cannot replace in one another
- Using a sitemap as llms.txt: no summary, no section organization, no notes on external links, and often thousands of URLs that do not fit into a context window.
- Using llms.txt as a sitemap: it does not cover every page of the site, and search engines do not use it as a basis for indexing.
- Using llms.txt as robots: it has no permission semantics at all, and an agent does not change its fetching behavior because the file exists.
This site’s actual policy (as tested)
- robots: excludes
/api/,/adminand directory pages with a search term; allows crawling of /tools and /reports, because those pages express “do not index” with noindex. Disallowing crawling would stop crawlers from reading the noindex tag, and the URL might then be indexed bare. - sitemap: lists the directory root and the first page of single-filter landing pages, every published and archived entry detail page, and every non-draft guide. It excludes report pages, tool pages, combinations of two or more filters, anything with q, and page>1.
- From the llms.txt point of view: this site maintains its own llms.txt (see the site root) and provides page-level discovery hints as the proposal describes.
The current state of AI agent fetching (changing facts, sources stated)
Google’s control for generative AI training is the robots.txt token Google-Extended (not a separate user agent: it reuses the user agent strings of the existing Google crawlers); on-demand fetching by Vertex AI uses Google-CloudVertexBot (source: Google’s official crawler documentation, fetched 2026-10-07). User-triggered fetching by OpenAI is ChatGPT-User, by Anthropic Claude-User, and by Perplexity Perplexity-User (source: the knownagents.com agent directory, page 1 of 40, fetched 2026-10-07; only the common ones are listed here). Whether these tokens are respected is up to each agent: robots semantics have always been a gentlemen’s agreement, and the same goes for llms.txt.
Use the online check to verify how readable each of the three files on your site is (the llms.txt part produces a report; robots and sitemap have to be checked by hand against the list in this guide).