llms.txt is a plain-text file at the root of a domain that lists the pages you most want language models and answer engines to read, with a short description of each. It is small, cheap to publish, and still rare enough that having a good one is a genuine advantage.
The scanner reads your file, checks that it exists, that it parses, that the URLs resolve and that the entries carry enough description to be useful. It is worth 15 of the 100 points, which reflects how much of the retrieval path it influences.
What llms.txt is, and what it is not
It is a curated index. The file follows a simple markdown convention: an H1 with the project name, a blockquote summary, then H2 sections containing lists of links with one-line descriptions. A short optional section marked as notes can carry anything that does not fit.
It is not a ranking factor, a replacement for a sitemap, or a guarantee that a system will read it. Adoption is uneven and it is not a ratified standard. What it does is remove ambiguity about which of your four hundred URLs matter when a retrieval system has time for twenty.
It is also not a place for marketing copy. The file is read by machines and skimmed by engineers. A description that says what a page contains is worth more than one that says how innovative it is.
What a useful llms.txt contains
Start with the H1 and the one-line summary. Then group by what the reader is trying to do, not by your internal site structure. A section for the core product, a section for pricing and licensing, a section for documentation, a section for policies.
Every entry needs two things: a full absolute URL and a description that would let a stranger decide whether to open it. Descriptions of eight to fifteen words are enough. The URL must be the canonical one, not a tracked or redirected variant.
Keep it under about forty entries. If you cannot decide which forty matter, that is the actual problem the file is exposing, and it is worth solving before you publish.
How the llms.txt scanner scores your file
The module checks four things. Presence: does the file exist at the root and return content rather than a 404 or a redirect to an HTML page. Structure: does it parse as markdown with a title and at least one link list. Coverage: does it include the homepage and the primary commercial pages. Quality: do the entries carry descriptions and canonical URLs.
Each check contributes part of the 15 points. A file that exists but contains only a title scores almost nothing. A file with twenty well-described canonical entries and a clear hierarchy scores full marks.
The scanner also reports what is missing by comparison with the sitemap, which is the fastest way to notice that your most commercially important page never made it into the index.
The four mistakes that make a file useless
First, mirroring the sitemap. Four hundred entries with no descriptions is a machine-readable inventory, not a priority list, and it adds nothing a crawler could not already find.
Second, broken or redirected URLs. A file full of links that resolve to a 301 teaches the reader that the document is stale, and stale documents get ignored.
Third, descriptions that describe the brand rather than the page. The reader needs to know what is on the other side of the link, not why the company is different.
Fourth, publishing once and never updating. A file that still lists last year's product range is worse than no file, because it actively points at the wrong pages.
How it fits with robots.txt and the sitemap
The three files do different jobs and none of them replaces the others. robots.txt is permission: who may crawl and what they may not touch. sitemap.xml is inventory: every canonical URL, with a last modified date where you can manage it. llms.txt is editorial judgement: of everything in that inventory, these are the pages worth reading first.
That division matters when you debug. If a page is missing from an answer, the question is which of the three failed. Was it disallowed in robots.txt, absent from the sitemap, or never named in llms.txt? Each has a different fix and a different owner.
It also means you should not point llms.txt at pages that robots.txt blocks. That combination is the most common self-inflicted failure in this area: a curated index that lists URLs the same site has told crawlers not to read. The scanner flags the contradiction explicitly, because it is invisible if you only ever read one file at a time.
Publishing and maintaining it
Serve the file as text/plain at /llms.txt, with a short cache lifetime so updates take effect quickly. Link it from the HTML head if you want humans to find it, though it is not required.
Treat it as part of the release process rather than a one-off task. When a product launches, a page is retired or pricing changes, the file changes in the same commit. That is the only maintenance model that survives contact with a real site.
Add it to your monitoring alongside robots.txt and the sitemap. All three are small files with outsized influence, and all three break silently.
If you do not have one yet
Write the first version in twenty minutes. Pick the twenty pages that answer the questions customers actually ask, order them by commercial importance, and give each a plain description. Publish it. Improve it after the next scan.
The scanner will tell you whether the file parsed, whether the links resolve and what proportion of your key pages it covers. That feedback loop is worth more than a perfect first draft.
Frequently Asked Questions
Where does llms.txt go?
At the root of the domain, served as text/plain, so it is reachable at https://example.com/llms.txt.
Does llms.txt replace sitemap.xml?
No. A sitemap is a complete inventory for crawlers. llms.txt is a short, curated priority list for retrieval. Most sites need both, and they serve different readers.
Do AI systems actually read it?
Some do, and adoption is growing, but it is not universal and it is not a ratified standard. It is a low-cost way to make your priorities explicit, not a guarantee of anything.
How many links should it contain?
Around twenty to forty. If the list is longer than a person will read, it has stopped being a priority list.
Should descriptions be long?
One line, eight to fifteen words, describing what the page contains. Long marketing descriptions make the file harder to parse and easier to ignore.
Can I generate one automatically from my sitemap?
You can, and it is a reasonable first draft. Then cut it down to the pages that matter and write real descriptions, because an unedited sitemap dump adds little.
Keep reading