Sub topic 8
What llms.txt does not do
This chapter assumes you know how a website is served over HTTP, can read Markdown, and have seen a web server access log. It also assumes you have read the earlier chapters on advisory versus enforced controls, robots.txt, and the llms.txt format. Here the focus is on the limits of llms.txt: the jobs people assign to it that it cannot do.
Why the limits matter
llms.txt is a proposal, not an adopted standard. It is a Markdown file at /llms.txt that gives a language model a short, curated map of your site. It has no formal standards body behind it, and no major AI company has committed to honoring it.
Marketing around "AI search optimisation" often treats the file as a switch: add it and AI assistants will find, cite, or avoid your content. That claim does not hold up. Most of the errors below come from reading a purpose into the file that its format does not carry.
It is not access control
llms.txt contains links and descriptions. It has no syntax for Disallow, no user-agent matching, and no way to say "do not use this page for training." A crawler that reads it learns what you recommend. It learns nothing about what you forbid.
Listing a page under ## Optional does not hide it. In the format, that section only tells a model that the links can be skipped when its context window is short. The page is still public at its URL.
Do not put a private URL in llms.txt either. The file is public by design, so it advertises every link you put in it.
| You want to... | llms.txt can do it? | Use instead |
|---|---|---|
| Stop a crawler fetching a path | No | robots.txt (advisory) or WAF and authentication (enforced) |
| Opt out of AI training | No | robots.txt tokens, TDMRep, header directives |
| Keep a page out of search results | No | `noindex` meta tag or `X-Robots-Tag` |
| Block a misbehaving bot | No | Bot verification, rate limiting, WAF rules |
| Point a model to your best pages | Yes, if a consumer reads it | llms.txt, sitemap |
It is not a ranking or citation signal
No major AI search product has documented that it uses llms.txt to decide what to retrieve, rank, or cite. Search providers have said their answers draw on the same indexes and signals they already use, such as crawlable HTML, links, and structured data. Treat any claim that the file "boosts AI visibility" as unsupported until someone shows evidence.
Three reasons the claim is weak:
- No documented consumer. A signal only matters if a system reads it. For llms.txt you should ask which system reads it, and what that system's documentation says.
- No measured effect. Without a controlled comparison, a rise in citations after adding the file could come from content changes, seasonality, or a model update.
- Retrieval works on pages. AI search products typically retrieve and rank individual pages from an index. A site-level summary file is not part of that pipeline unless a vendor builds it in.
The honest position is that the file might help in specific cases and has not been shown to help in general.
It is not a guarantee that anyone fetches it
The file only works if a client requests it. Some developer tools and agent frameworks do fetch /llms.txt when a user points them at a documentation site. That is a narrow, user-driven use. General-purpose crawlers show little evidence of requesting it.
You can test this on your own site instead of trusting anyone's claim. The log search below looks for AI crawlers that requested the file.
# Which AI crawlers requested llms.txt?
grep "GET /llms.txt" access.log | grep -E "GPTBot|ClaudeBot|OAI-SearchBot|PerplexityBot"
# How many requests did one crawler make in total?
grep -c "GPTBot" access.logIf the first command returns nothing over several weeks while the second returns many lines, you have direct evidence: the crawler visits your site but ignores the file. Compare the two counts for each crawler you care about. A later chapter covers log analysis in more detail.
It does not replace what already works
Pages that rank and get cited tend to have the same properties they always had. They are crawlable, load their main content in the HTML, have clear headings, and are listed in a sitemap. Structured data describes entities and relationships in a form machines already parse.
llms.txt does not repair weak foundations:
- A page that renders its text only through JavaScript is still hard for many crawlers, even if llms.txt links to it.
- A site with broken internal links will still have them. The file does not change how crawlers discover pages.
- Thin or duplicated content does not become authoritative because it appears in a curated list.
The one real advantage is when a link target is a clean Markdown version of a page. That removes navigation, scripts, and layout from what a model has to read. The benefit comes from the Markdown, not from the index file.
It does not control how content is used
Even a model that reads llms.txt has no instruction in it about permitted use. The format cannot say "quote with attribution," "do not train on this," or "summarize only." Usage preferences live elsewhere: in robots.txt rules for specific crawlers, in Content Signals, in the IETF AI preferences work, and in TDMRep headers. Those are covered in later chapters, and most of them are also advisory.
The same applies to licensing. A statement of terms inside the file, or a link to a licence, is a human-readable note. A court or a contract may give it meaning, but software will not enforce it.
It is not standardised, so behaviour varies
Because there is no governing specification, two tools can read the same file differently. The convention suggests an H1, a blockquote summary, and H2 sections of links, but a consumer may ignore the structure, treat the file as plain text, or skip it. Some publishers add their own sections or extra fields. Nothing validates them.
This leads to some practical gotchas:
- Staleness. A hand-maintained file drifts from the real site. Links to removed pages become dead ends. Generate it from the same source as your sitemap, or review it on a schedule.
- Wrong location. The file belongs at the site root,
/llms.txt. A copy under/docs/llms.txtwill not be found by a client that only checks the root. - Wrong content type. Serve it as plain text or Markdown. A redirect to an HTML page or a login wall defeats the purpose.
- Blocked by your own rules. If robots.txt disallows the path, a compliant client will not fetch the file at all.
A way to think about it
The diagram shows one narrow path where the file has an effect, which is a client that chooses to read it. The three dotted branches are the jobs people assign to it that other mechanisms handle.
When it is still worth adding
The limits above do not make the file useless. They make it a low-cost, low-certainty measure. Adding it is reasonable when:
- You publish technical documentation that developers load into coding assistants.
- You can generate it automatically, so it costs almost no upkeep.
- You already serve clean Markdown versions of pages.
Skip the effort, or at least do not expect results, when your goal is blocking, ranking, or controlling training use. Measure with logs, keep your expectations tied to what you observe, and choose real controls when a requirement is firm.
Summary of limits
| Claim | Reality |
|---|---|
| "llms.txt blocks AI bots" | It has no blocking syntax. |
| "llms.txt improves AI citations" | No documented consumer and no controlled evidence. |
| "All AI crawlers read it" | Logs usually show otherwise. Verify on your site. |
| "It sets training permissions" | It carries no usage rules. |
| "It fixes poor content" | It only lists links. |
Exercise
A colleague says, "We added llms.txt and moved our private beta docs under ## Optional, so crawlers will leave them alone, and our AI citations will go up." Name two things wrong with this plan and say how you would check the second claim.
Show answer
First, ## Optional only tells a model it may skip those links when context is short. It is not access control, and listing the URLs in a public file advertises them. Private docs need authentication or server-side blocking. Second, there is no documented evidence that llms.txt raises citations, so the expected gain is unsupported. To check it, search the access log for AI crawlers that request /llms.txt (for example with grep "GET /llms.txt" access.log | grep -E "GPTBot|ClaudeBot|OAI-SearchBot|PerplexityBot"), compare that count to each crawler's total requests, and track citations before and after while holding other changes steady.
Exercise
Your robots.txt contains User-agent: * followed by Disallow: /llms.txt. What happens to a robots-compliant client that wants to read llms.txt, and why might this be a mistake?
Show answer
The compliant client will not fetch the file, because robots.txt rules apply to every path, including llms.txt. The file then cannot serve its purpose of guiding clients, so remove the rule unless you deliberately want to hide the file.