◎AEOTools

llm.txt vs llms.txt: Which File Should Your Site Publish?

llm.txt vs llms.txt is not a close call: llms.txt is the convention tools look for. Learn what to publish, where it goes, and how to keep it in sync.

GEO · 8 min read · Step-by-step

The llm.txt vs llms.txt question has a short answer: publish llms.txt, with the plural "s". That is the filename the convention defines, the one tools and crawlers that support the convention look for, and the one every guide, generator, and checker expects. The singular llm.txt is a common typo — an easy misremembering of a new filename — with no standard behind it. This guide explains where the confusion comes from, what publishing only the singular file costs you, and how to publish the right file properly.

Where the confusion comes from

The llms.txt convention proposes a single markdown file at the root of a website — https://example.com/llms.txt — that inventories the site's most important pages for large language models, with a short description of each. The name is plural because it addresses LLMs in general, not one model. Our primer on what llms.txt is covers the proposal's background and structure in full.

The singular form spreads for understandable reasons. People hear the filename spoken once and remember "LLM text file". Autocomplete and hurried typing drop the "s". Blog posts copy each other's mistakes, and soon llm.txt appears in checklists and forum answers as if it were a real variant. It is not. There is no llm.txt specification, no registry of tools that read it, and no crawler behavior defined for it. It is a typo that looks plausible.

This matters because filenames at the site root are exact-match conventions. robots.txt works because every crawler requests precisely that path; a file named robot.txt would be ignored by all of them, however good its contents. The same logic applies here: a tool implementing the llms.txt convention requests /llms.txt, and only that path. Your singular file can contain a perfect inventory and still be invisible to everything that was supposed to read it.

What happens if you publish only llm.txt?

Nothing — and that is the problem. No error is raised, no dashboard warns you, and the file sits at your root returning a healthy response to anyone who requests it directly. You simply get none of the benefit you intended: tools looking for llms.txt find a 404 and move on, exactly as if you had published nothing.

The failure is silent in both directions. If you check your own work by visiting the URL you created, it loads, and you conclude the job is done. If you later test with a checker that follows the convention, it reports the file missing, and the discrepancy looks like the checker's bug rather than your typo. Teams have lost weeks to this loop. The fix takes a minute once you know to look at the filename letter by letter.

There is also no upside to publishing both files "just in case". A second file at the singular path adds a maintenance surface that can drift out of sync, and nothing defined reads it. If you already have an llm.txt, the clean move is to rename it to llms.txt — or redirect the singular path to the plural one so any stray references land in the right place — and keep a single source of truth.

What should you publish instead?

Publish one file, /llms.txt, at the root of your domain, written in markdown. The convention's structure is deliberately simple:

# Your Product Name

> One or two sentences describing what the product is and who it is for.

## Docs

- [Getting started](https://example.com/docs/start): Setup in five minutes.
- [Pricing](https://example.com/pricing): Plans, limits, and billing terms.

## Guides

- [Comparison guide](https://example.com/compare): How we differ from alternatives.

The elements that matter: an H1 with your site or product name, a short blockquote summary a model can quote, and sections of links to your key pages, each with a one-line description of what the page contains. Link the pages you would want an AI answer to draw on — product, pricing, documentation, comparison and tutorial pages — not every URL in your sitemap. Curation is the point: you are telling a model which pages represent you.

If you want the full text of those pages available in one place, the convention's companion file is llms-full.txt, which concatenates the markdown of your key pages rather than linking to them. The two files serve different appetites — an inventory versus the full contents — and our comparison of llms.txt vs llms-full.txt explains when each earns its keep. Note that llms-full.txt keeps the plural too; there is no singular variant anywhere in the convention.

For a step-by-step walkthrough of drafting the file — choosing pages, writing descriptions, and formatting sections — follow our guide on how to write an llms.txt file. If you would rather generate the file than hand-write it, the fix generators in AEOTools produce an llms.txt from your site structure as part of the free tier, which is $0 and permanent. Whichever route you take, the filename is the same: llms.txt, plural, at the root.

How do you validate the file?

Publishing is not finished until you have verified three things, in this order.

It resolves at the exact path. Request https://yourdomain.com/llms.txt and confirm a 200 response — not a redirect to your homepage, not a soft-404 page dressed as success, and not the singular filename loading while the plural 404s. Check the plural path specifically, because that is the one tools request.

It serves as text. The response should come back as text/markdown or text/plain, with the markdown readable as-is. If your CMS wraps it in an HTML template, injects navigation, or serves it as a download, fix the route so the raw file is what a fetcher receives. A model reading your inventory should not have to strip your site chrome out of it first.

The links inside it work. Every URL in the file should resolve to a live page whose content matches its one-line description. An inventory pointing at moved or deleted pages teaches models stale facts about you — worse than a shorter, accurate file.

A quick manual check with your browser or a command-line fetch covers all three. Diagnostics help too: AEOTools' 39-check page diagnostics include the presence and readability of llms.txt among the signals they verify, and the free AI visibility checker runs with no account required. If you are comparing tools for this kind of verification, this roundup of AEO checking software shows which ones inspect the file rather than merely mentioning it.

Keeping llms.txt in sync

An llms.txt file is a snapshot of what your site considers important, and snapshots age. Pages get renamed, pricing changes, new guides ship, old ones retire. A file that still describes last year's product is not neutral — it is a confident, quotable source of wrong answers about you.

Build the update into the workflow that creates the drift. When you publish a key page, add it to the file in the same change. When you rename or retire a page, update or remove its line. When positioning or pricing changes, rewrite the blockquote summary and the affected descriptions. If your site generates the file from its content structure, regeneration on deploy removes most of this burden; if you maintain it by hand, a quarterly review against your sitemap catches the rest.

Watch the descriptions as closely as the links. A one-liner that says "Free plan with unlimited projects" after you have changed the free tier is exactly the kind of stale claim an AI answer will repeat verbatim, because you handed it over in a tidy, authoritative-looking file.

Honest limits of llms.txt

Publish the file, but publish it with clear eyes. llms.txt is a convention, not a standard enforced by anyone. Adoption varies: some tools and crawlers read it, others ignore it entirely, and no major AI answer engine guarantees that having one earns you mentions or citations. It removes an obstacle — a model that wants your key pages can find them in one fetch, described in your words — and removing obstacles is worthwhile. It does not create demand, reputation, or rankings.

That framing also settles the filename question from the other direction. Because adoption is voluntary and tool-driven, the only version of the file with any chance of being read is the one tools are built to request. Every generator, checker, and guide in the ecosystem assumes llms.txt. Publishing the singular form opts out of even the voluntary ecosystem, for no benefit.

So: rename the typo, publish the plural file at your root, validate that it resolves as readable text, and keep it in sync as your site changes. It is a small, cheap piece of hygiene — and unlike most AI visibility work, it is entirely within your control and verifiable in a minute.

FAQ

Is llm.txt a real file, or is it always llms.txt?

The convention defines llms.txt, plural, at the site root. The singular llm.txt has no specification behind it and no defined tool or crawler behavior; it is a common typo. Anything built to read the convention requests /llms.txt exactly, so the singular file is effectively invisible.

What happens if my site only has llm.txt?

Tools looking for llms.txt receive a 404 and move on, exactly as if you had published nothing. The failure is silent — your singular file loads fine when you visit it, so the mistake is easy to miss. Rename it to llms.txt, or redirect the singular path to the plural one.

Should I publish both llm.txt and llms.txt to be safe?

No. Nothing defined reads the singular file, and maintaining two copies invites them to drift out of sync. Publish one llms.txt as the single source of truth, and if an llm.txt already exists, rename it or redirect it to the plural path.

Does publishing llms.txt guarantee AI citations?

No. llms.txt is a voluntary convention and adoption varies across tools and crawlers. It makes your key pages easy to find and accurately described, which removes an obstacle, but mentions and citations still depend on your content, reputation, and competition for each question.

Related tutorials

Browse all tutorials →