AEO Footnotes

Loading search…

llms.txt: what the spec says, what Common Crawl found, and what Google's AI guidance covers

The llms.txt proposal is a small markdown file with a defined format. Adoption is real, but none of the sources shows it affects AI search visibility.

Footnotes DeskAEO, AI discovery5 min read

Drafted with AI assistance from the sources in its footnotes and checked against them before publishing.

What the proposal specifies

The proposal says: "We propose adding a /llms.txt markdown file to websites to provide LLM-friendly content."1 The file can sit at the site root or at any path, and it covers the pages under that path.1 A file at /docs/llms.txt, for example, covers /docs/.1 Where more than one file applies, agents should use the most specific one.1

The file uses markdown to structure the information rather than a classic structured format such as XML.1 The stated reason is that many of these files are expected to be read by language models and agents.1 Its content still follows a specific format that standard programmatic tools can read.1

The spec sets a fixed order of sections.1 A byte-order mark is optional.1 An H1 with the name of the project or site is the only required section.1 Next in the order comes a blockquote with a short summary of the project.1

After that come markdown sections of any type except headings, with more detailed information about the project.1 File lists live in sections delimited by H2 headers.1 Each entry in a file list needs a markdown hyperlink, optionally followed by a colon and notes.1 By convention, the "Optional" section holds secondary information: links an agent can skip when a shorter context is needed.1

The proposal has a second half that is easy to miss. It proposes that pages agents might need provide a clean markdown version at the same URL as the original page, with .md appended or the extension replaced by .md.1 It also recommends standard link relations: rel="alternate" type="text/markdown" for the markdown version, and rel="describedby" for the llms.txt file that covers a page.1 The FastHTML project follows both proposals for its documentation.1 Whether you also publish markdown page versions is a separate decision from publishing the file.

How it relates to robots.txt and sitemaps

The proposal says llms.txt is designed to coexist with current web standards.1 Sitemaps list all pages for search engines, while llms.txt "offers a curated overview for LLMs."1 A sitemap often will not have the LLM-readable versions of pages listed.1

A sitemap also does not include URLs to external sites, even though they might help an agent understand the information.1 It will generally cover documents too large to fit in an LLM context window.1

On robots.txt, the proposal says the file lets automated tools know what access to a site is considered acceptable, such as for search indexing bots.1 The llms.txt file is instead used on demand, when an agent needs information about a topic while assisting a user.1 Agents are expected to view or search the file to find the information they need, then follow the relevant links.1 Treat it as a guide to your content, not as a way to control access.

The proposal also states what it expected. It thought llms.txt would mainly be useful for inference rather than training, and says that is how it has been used.1 It adds that use is heaviest in software documentation, where coding agents follow the file to find API references and tutorials.1

Who ships it

The proposal's author says that "thousands of sites publish an llms.txt file."1 The AI labs themselves publish llms.txt files for their own developer docs.1 These are the proposal's own adoption claims, so read them as the author's account.

The proposal lists platforms and plugins that generate the file automatically.1 Yoast SEO is a WordPress plugin that generates and maintains one.1 Wix generates one for every Wix site.1 Mintlify generates llms.txt and markdown page versions for every site it hosts.1

What Common Crawl found

Common Crawl published a content analysis of llms.txt files from its July 2026 crawl archive.2 It examined 584,107 files.2 Its summary has three findings:

  • Two thirds of the files are produced by a plugin.2
  • Half follow the structure the specification defines.2
  • A few files contain prompt injections.2

Only the blog's summary is available here, so finer breakdowns are not reported. Treat a plugin-generated file as something to review, not as finished work. Check your own file, especially an auto-generated one, for text addressed to the model rather than to a reader.

What Google says

Google's guide on AI features covers AI Overviews and AI Mode.3 To appear as a supporting link, "a page must be indexed and eligible to be shown in Google Search with a snippet."3 The guide adds: "There are no additional technical requirements."3 It also says that "specific optimization isn't required for AI Overviews and AI Mode."3

The guide lists existing fundamentals, including allowing crawling in robots.txt and by any CDN or hosting infrastructure.3 It also lists making sure important content is available in textual form.3

On control, the guide says AI is built into Search and integral to how Search functions.3 Robots.txt directives for Googlebot are the control for site owners to manage how their sites are crawled for Search.3 The guide offers controls to limit the information shown from your pages in Search.3 For AI training and grounding in some of Google's other systems, it points to Google-Extended.3

Read the guide for what it says, not for what it leaves out. Do not infer a Google position on llms.txt from it, in either direction.

Should you ship one?

The evidence supports a narrow answer. The proposal defines a format and describes how agents are expected to use it.1 Common Crawl analysed 584,107 llms.txt files from its July 2026 crawl, and half follow the structure the specification defines.2 Google's guide on its own AI features says there are no additional technical requirements.3 None of the sources shows that an llms.txt file raises citations or rankings in any engine, so do not promise that to a client or a boss.

A practical way to decide:

  • Documentation or API sites: ship one. The proposal says llms.txt files are used most heavily for software documentation.1 Check whether your docs platform already generates one.
  • Marketing and content sites: treat it as optional. Google ties eligibility as a supporting link to a page being indexed and eligible to be shown with a snippet.3 Put that work first.
  • Auto-generated files: open the output and read it. Remove anything you would not want an agent to treat as authoritative, and check the structure against the spec.
  • Hand-written files: keep them short and curated, with brief descriptions on each link.

If you ship one, test it the way the proposal suggests: ask an agent questions about your content, giving it only your llms.txt as a starting point.1 If the answers are wrong, the file needs fixing. If they are right, you have a working guide for agents. That is a modest outcome, and it is the one the sources support.

Footnotes 3

  1. 1
  2. 2
  3. 3

Comments 0

No comments yet.

Sign in with GitHub or Google to comment. Reading needs no account.