What llms.txt is
llms.txt is a proposed Markdown file, usually served at /llms.txt, that gives language model tools a short description of a site and a curated list of links to read. It is a proposal rather than a standard, and it does not control crawling or training.
Type: BeginnerVersionProposal v2.1On this page
llms.txt is a plain Markdown file that a site publishes for software that reads it on someone's behalf: a coding assistant looking up an API, or a chat tool answering a question about a product. The file names the site, summarizes it in a sentence or two, and lists the pages worth reading, each with a short note. The idea is that a tool can read this one small file, decide which links it needs, and fetch only those, instead of crawling the site and stripping HTML from every page.
Jeremy Howard of Answer.AI published the proposal on 3 September 2024 at llmstxt.org. It has been revised twice since, most recently as version 2.1 in November 2026.
| Proposed by | Jeremy Howard (Answer.AI), 3 September 2024 |
|---|---|
| Current text | Version 2.1, November 2026 |
| Address | /llms.txt, or a subpath such as /docs/llms.txt |
| Format | Markdown with a fixed order of sections |
| Only required part | An H1 heading with the name of the project or site |
| Status | Proposal; not published by a standards body |
| Discussion | AnswerDotAI/llms-txt on GitHub |
A file in one screen
The shape is easiest to see in a short file. This one describes a fictional API documentation site at docs.example.com.
# Example API
> Reference and guides for the Example HTTP API: authentication, endpoints, errors and rate limits.
Base URL: https://docs.example.com/
All endpoints accept and return JSON. Version 3 is current; version 2 was retired in 2025.
## Guides
Read these first when writing a new integration.
- [Quick start](guides/quick-start.md): Create a key and make a first request
- [Authentication](guides/authentication.md): Key scopes, rotation and expiry
## Reference
- [Endpoints](reference/endpoints.md): Every endpoint with its parameters and responses
- [Errors](reference/errors.md): Error codes and how to handle themThe H1 is the only required line. The quoted summary, the free text, the Base URL line and the H2 sections with their link lists are all optional, but they must come in that order. The links point to Markdown versions of pages rather than to the HTML pages, which is the subject of markdown versions of pages and llms-full.txt. Every element is specified in llms.txt file format.
Why Markdown, and why a list
The proposal starts from two observations. HTML pages carry navigation, scripts and layout that a model has to discard, and converting them back to clean text is imprecise. And even large context windows cannot hold most websites whole. A hand-written index in Markdown, which language models read well and which ordinary parsers can split by heading, addresses both: the file stays small, and the detail stays behind the links until a tool asks for it.
The proposal expects tools to use the file at inference time, while helping a user, rather than as a source of training data. Its own text says that this is how files have been used in practice, while noting that training runs could also make use of them.
How the proposal has changed
| Version | Date | Main changes |
|---|---|---|
| 1 | September 2024 | File at /llms.txt or a subpath; Markdown versions of pages at the page URL with .md appended; an H2 section named Optional whose links could be skipped; the llms_txt2ctx tool for expanding a file into a single context document |
| 2 | August 2026 | Link relations for discovery (alternate with type text/markdown, and describedby); a second URL form for Markdown pages, with the extension replaced by .md; a defined scope for files in subpaths; context expansion and the special meaning of Optional dropped |
| 2.1 | November 2026 | Relative links with an optional Base URL line; H3 and deeper headings allowed in the top section; an optional summary paragraph at the start of each H2 section |
Files written to version 1 are still valid in substance. The differences matter mostly to parsers, and to sites that want clients to find Markdown pages without guessing their addresses. The proposal's changes page explains the reasons for each revision.
What llms.txt is not
| robots.txt | XML sitemap | llms.txt | |
|---|---|---|---|
| Purpose | Tells crawlers which URLs they may request | Lists the URLs a site wants search engines to know about | Points language model tools to the pages most useful to them |
| Audience | Any automated client that follows RFC 9309 | Search engine crawlers | Tools acting for a user, at the time of the request |
| Coverage | Every URL on the host, by path rule | Every indexable URL, up to 50,000 per file | A curated selection |
| Format | Plain text records | XML | Markdown |
| Status | IETF Standards Track, RFC 9309 | Sitemaps 0.9 at sitemaps.org, supported by Google, Yahoo and Microsoft | Proposal |
llms.txt grants and withholds nothing. A Disallow rule for a crawler belongs in robots.txt, and a statement about how content may be used for training belongs in the signals described in usage preferences beyond allow and disallow. The proposal itself says robots.txt and llms.txt have different purposes, and that a sitemap is not a substitute for llms.txt because it lists everything indexable rather than what a model needs.
Who publishes and who reads it
The proposal's author reports that thousands of sites publish a file, most of them software documentation. The developer documentation of OpenAI, Anthropic and Google's Gemini API all serve llms.txt files, and documentation platforms such as Mintlify generate one for every site they host. Annotated excerpts from real files are collected in llms.txt files from documentation sites.
Reading is a different question, and LLMSdocs states that a system reads llms.txt only when its operator documents it. Three statements from operators and tool makers are relevant as of December 2026:
- Google Search does not use llms.txt. Google's guide to its generative AI search features says site owners do not need new machine-readable files or Markdown to appear in Search, that Search itself does not use them, and that creating them will "neither harm nor help" a site in Google Search. It adds that publishing such files for other services is fine.
- Chrome's Lighthouse includes an llms.txt audit among its agentic browsing checks. It flags a page only when requesting the file produces a server error; a 404 is reported as not applicable, because the file is optional.
- Mintlify generates and serves llms.txt for the documentation sites it hosts and keeps it up to date as pages change. That is a publishing tool, not a consumer of the file.
A person can also hand a coding assistant the address of a site's llms.txt and ask it to work from that file. That is the user's choice, and it says nothing about whether a crawler or answer engine fetches the file on its own.
Status
llms.txt has not been submitted to the IETF or W3C, and it is not registered as a well-known URI. The text at llmstxt.org is maintained in a public GitHub repository where changes are proposed and discussed. Pages on LLMSdocs that describe llms.txt follow version 2.1 and say so where an earlier version differs.
See also
- llms.txt file formatThe structure of an llms.txt file as defined by version 2.1 of the proposal: a required H1 title, an optional summary, Base URL line and details, then H2 sections of annotated links.
- Markdown versions of pages and llms-full.txtThe llms.txt proposal asks sites to offer a clean Markdown copy of useful pages at the page's own URL with .md added, and to announce it with standard link relations. llms-full.txt, a single file holding a whole site, is a platform convention outside the proposal.
- llms.txt files from documentation sitesSeven llms.txt files published by the proposal's author and by documentation teams at Anthropic, OpenAI, Google, Cloudflare and Stripe, retrieved on 5 December 2026 and compared section by section.
- Where site files live: the root path and /.well-known/Clients find machine-readable site files at fixed addresses: some at the root of each host, some under the /.well-known/ prefix of RFC 8615, and some inside every page. Where a file sits also decides which URLs it can speak for.
- What robots.txt does not dorobots.txt asks crawlers not to fetch URLs. It does not protect content, hide paths, keep URLs out of search results or, for Google, carry noindex and crawl-delay rules. What to use for each of those instead.
References
- Howard, J. The /llms.txt file, v2.1. llmstxt.org. llmstxt.org
- llmstxt.org. Changes. llmstxt.org
- Howard, J. /llms.txt: a proposal to provide information to help LLMs use websites. Answer.AI, 3 September 2024. answer.ai
- Google Search Central. Google's guide to optimizing for generative AI features on Google Search. developers.google.com
- Chrome for Developers. Lighthouse: llms.txt audit. developer.chrome.com
- Mintlify documentation. llms.txt. mintlify.com
- AnswerDotAI/llms-txt repository. GitHub. github.com