What Is llms.txt?
llms.txt is a proposed plain-text file, placed at a website’s root, that gives large language models a curated, Markdown-formatted map of the site’s most important content. It is an invitation listing what a model should read to understand the site, not a set of access rules — which distinguishes it from robots.txt.
- llms.txt was proposed by Jeremy Howard of Answer.AI in September 2024 as a standard for making site content easy for language models to consume.
- It lives at the root — example.com/llms.txt — and is written in Markdown, with links to key pages and short descriptions.
- It is an invitation, not a directive: robots.txt controls whether a crawler may access a page, while llms.txt suggests what a model should prioritize reading.
- Adoption is voluntary and, as of early 2026, no major AI provider has publicly confirmed using it as a ranking or retrieval signal.
How llms.txt Works
llms.txt is deliberately simple. You place a Markdown file at your domain root that opens with an H1 site name, a short blockquote summary, and then a set of link lists grouped under H2 headings — “Docs,” “API reference,” “Guides” — each link followed by a one-line description of what the page covers. A model or an AI crawler that supports the convention can read this file first and use it as a table of contents, jumping straight to the canonical pages instead of guessing from a sitemap or crawling the whole site.
An optional companion file, llms-full.txt, inlines the full text of those key pages into one document, so a model can ingest the entire relevant corpus in a single fetch. The format is designed to fit inside a context window cleanly — no navigation chrome, no ads, no boilerplate, just the content and its structure.
llms.txt vs robots.txt — the distinction that trips people up
The two files share a location and a naming pattern, which is exactly why they get confused. robots.txt is a directive: it tells a crawler which paths it is and is not allowed to fetch, and well-behaved crawlers obey it. llms.txt is a recommendation: it tells a model which content is worth reading, but grants no permissions and blocks nothing. You could publish an llms.txt pointing at pages your robots.txt disallows, and both would be technically valid and mutually contradictory. Access control stays with robots.txt; llms.txt only ever suggests.
Example of llms.txt
The best way to see what a good llms.txt looks like is to read the ones shipped by companies whose entire business depends on developers understanding their docs. Anthropic, Stripe, and Cloudflare all publish them, and their choices are instructive. Anthropic pairs a compact llms.txt (about 8,400 tokens — a curated index) with an llms-full.txt of roughly 481,000 tokens that inlines its entire API documentation for a model to ingest in one fetch. Cloudflare organizes its file by product so an assistant can pull only the context for the service in question; its full version runs into the millions of tokens.
Stripe’s is the most telling. Beyond listing its docs, Stripe added a section no one else had: explicit instructions for LLM agents on how to integrate Stripe correctly. That is the real intent of the format on display — not “rank me,” but “here is how to represent my product accurately.” The company treats the file as documentation aimed at a machine reader, and shapes it to prevent the model from getting the integration wrong.
Adoption at the publishing end has been fast: by BuiltWith’s tracking, over 844,000 websites had an llms.txt file as of October 2025. The consumption end is where the honesty is required — no major AI provider has confirmed that it reads the file as a retrieval or ranking signal, and reporting through 2025 noted that adoption among the AI platforms themselves has stalled. Publishing one is a bet on a convention the big models have not yet endorsed.
The lesson these examples teach is consistent. The three companies did not ship llms.txt to rank; they shipped it so that an AI assistant answering a developer’s question about their API pulls from the current, canonical source instead of a stale blog post. The payoff is answer accuracy, not visibility — a documentation-hygiene move, worth doing for that reason and not oversold as a growth lever.
I get asked to "add llms.txt for the AI SEO" almost weekly, and I usually talk teams out of treating it as a growth lever. No major model has confirmed it changes what they retrieve, so shipping one and expecting more citations is cargo-culting. Where it genuinely earns its place is documentation-heavy sites — dev tools, APIs, knowledge bases — where a clean Markdown index of your canonical docs makes it far easier for an assistant to answer questions about your product correctly instead of hallucinating. Build it because it makes your own docs machine-legible, not because you think it’s a back door into ChatGPT’s citations. The upside is accuracy, not ranking.
llms.txt vs Robots.txt
| llms.txt | robots.txt | |
|---|---|---|
| Purpose | Suggests what to read | Controls what may be accessed |
| Type | Invitation | Directive |
| Format | Markdown | Plain-text rules |
| Proposed / standardized | September 2024 | 1994 |
| Enforced? | No | By compliant crawlers |
Same address, opposite jobs — the full side-by-side is on the llms.txt vs robots.txt page. If you remember one thing: robots.txt decides access, llms.txt decides attention.
Frequently Asked Questions
What is llms.txt used for?
Is llms.txt the same as robots.txt?
Does llms.txt improve AI search rankings?
Where do you put the llms.txt file?
The Bottom Line
llms.txt is a voluntary Markdown index that hands language models a shortlist of your best content and a sentence on why each page matters. It is not an access-control file and, on current evidence, not a ranking signal. Treat it as a way to make your documentation machine-legible and accurately quotable — a hygiene improvement, not a visibility hack.
Sources
- The /llms.txt proposal — llmstxt.org (Jeremy Howard, Answer.AI)
- Real llms.txt examples from leading tech companies — Mintlify
- llms.txt adoption stalls as major AI platforms ignore proposed standard — PPC Land
Roborank can generate and maintain an llms.txt index of your site’s canonical content, keeping it in sync as pages change.
Generate your llms.txt →Rank & Cash — the weekly SEO breakdown
One practical teardown a week on ranking in search and getting cited by AI. No fluff.
