What Is llms.txt and Why Is It Important for AI Search?
llms.txt is a short markdown file, hosted at the root of your domain, that tells AI systems which pages you consider your most authoritative — a curated map of the content you most want them to understand and cite. It sits alongside robots.txt and sitemap.xml as a third piece of AI-era technical hygiene, and it's cheap enough to publish that the downside of not having one is bigger than the upside of doing so.
What llms.txt is (and isn't)
llms.txt is a small, human-readable markdown file placed at https://yourdomain.com/llms.txt, listing your key pages with short factual descriptions. It's a curated recommendation, not a directive.
llms.txt is not a way to force AI systems to cite you, a replacement for a sitemap, an SEO ranking signal for Google search, or a substitute for having good content. AI engines are free to ignore it — and will, if the file is padded or dishonest.
The four-file view
The clearest way to place llms.txt is to compare it to the three files it sits alongside:
- robots.txt — what can be crawled. Directives to crawlers (allow/disallow specific paths).
- sitemap.xml — what exists. A machine-readable list of all indexable URLs.
- schema.org / JSON-LD — what content means. Structured markup telling machines what each page is about.
- llms.txt — what's authoritative and how to understand the organisation. A curated, opinionated shortlist of the pages you want AI systems to treat as the canonical answers.
Each file answers a different question. llms.txt is the one that answers "if you're going to cite one page from us for a topic, cite this one."
A curated roadmap, not a dump
The value of llms.txt lies entirely in the curation. A well-shaped file lists a small set of pages — the homepage, the primary product page, the pricing page, the pillar content pieces, the definitive glossary or FAQ — each with a single accurate line explaining what it is. A poorly-shaped file lists every URL on the site with marketing fluff attached, and quickly loses credibility with the systems it's trying to help.
Treat it like an editor's shortlist for a busy reader. What are the twenty things you would point to first?
Part of technical SEO for the AI era
llms.txt is not a replacement for SEO. It's an addition to the technical SEO checklist for the AI era, alongside JSON-LD, clear headings, answer-shaped copy, and permission for AI crawlers in robots.txt. It's the newest and cheapest item on that list.
Common mistakes
The failure modes are consistent:
- Dumping every URL instead of curating a shortlist. The file becomes noise.
- Writing marketing fluff ("industry-leading enterprise solution") instead of factual, useful descriptions ("Pricing plans, feature comparison, USD/AUD toggle").
- Letting it go stale. A file listing pages that no longer exist, or missing your last two product launches, hurts your credibility with the models reading it.
- Hosting it anywhere but the root. llms.txt at
/blog/llms.txtor/assets/llms.txtwon't be discovered. It must live at/llms.txt.
Should every business have one?
Honestly: it's cheap to produce, asymmetric in upside, and offers no guarantee. That's the whole answer. Publishing a good llms.txt takes an hour of curation and a few minutes of hosting. The downside case is a marginal file that AI systems ignore. The upside case is that on the day an engine's retrieval layer looks for a canonical page in your category, you handed them one.
That's a bet almost every serious brand should take.
How to monitor whether it's working
You won't see a direct "cited via llms.txt" report — the file is a suggestion, not a tracked channel. What you can monitor:
- Whether the specific pages listed in your llms.txt show up more often as AI citations after publication.
- Whether AI answers about your brand start pointing at your canonical pages instead of tangential blog posts or third-party mentions.
- Whether the trend line in your AI visibility monitoring nudges upward on the topics your llms.txt emphasises.
None of those signals are proof, individually. Together they are enough to tell you the file is doing its job.
FAQ
Does Google use llms.txt? Not as an SEO ranking signal. AI systems, including Google's, may use it as a hint at answer-time.
Is there an official spec? The convention is loose but stabilising. A markdown file at /llms.txt with an H1 for your brand, an H2 or two for sections, and bulleted links with short descriptions is the current form. Some sites also publish a longer /llms-full.txt.
How often should we update it? Whenever a major page changes, and at minimum quarterly. Stale files are worse than short ones.
An llms.txt file won't guarantee AI citations—but it gives AI systems clearer signals about the content you most want them to understand and reference.