The llms.txt file is a proposal for a plain-text document at the root of your domain that gives large language models a clean, curated map of your site — the pages you would actually want an AI to read, in Markdown, without navigation, cookie banners or scripts in the way. It was proposed publicly in late 2024 and it has spread quickly through SEO circles. Whether it does anything for you is a more interesting question than most write-ups admit.
What is the llms.txt file?
An llms.txt file is a Markdown document served at https://yourdomain.com/llms.txt that lists your most important URLs with a one-line description of each, grouped into sections. It is intended to be read by a language model at inference time, when it needs to understand what a site contains without crawling and parsing every page.
The proposed format is deliberately simple: an H1 with the site name, a blockquote summarising what the site is, then H2 sections containing bulleted links with short descriptions. A companion convention suggests offering clean Markdown versions of pages at a .md suffix, so a model can fetch the content without the HTML shell.
How is it different from robots.txt and sitemap.xml?
They solve three different problems and none of them substitutes for another. robots.txt controls access, sitemap.xml declares completeness, and llms.txt proposes curation.
| robots.txt | sitemap.xml | llms.txt | |
|---|---|---|---|
| Purpose | Permit or forbid crawling | List every URL worth indexing | Highlight the pages most worth reading |
| Format | Directive text | XML | Markdown |
| Audience | All crawlers, by user agent | Search engine crawlers | Language models |
| Status | Long-established, universally honoured | Long-established, universally supported | Community proposal, adoption unconfirmed |
| Enforces anything? | Yes, by convention | No | No |
| Effort to maintain | Low | Automated | Manual unless you generate it |
The row that matters is the last-but-one. robots.txt is honoured because two decades of infrastructure agreed to honour it. llms.txt currently has no such agreement behind it.
Does anyone actually read llms.txt?
As of writing, no major AI provider has publicly documented that its systems read llms.txt, and you should be sceptical of anyone claiming otherwise without a link to provider documentation. Some developer tools and documentation platforms have adopted it, and it is genuinely useful in that context. For a general business website, the honest position is that adoption is unproven.
This is not a reason to sneer at it. Conventions have to start somewhere, and the cost of participating is close to nothing. It is a reason to reject the framing you will see in agency pitches, where llms.txt is presented as the lever that gets you cited. It is not. Being crawlable, being clear and being corroborated is what gets you cited, which is the argument laid out in generative engine optimization vs SEO.
Free consultation
Told you need an llms.txt file urgently?
We will look at your site and tell you honestly whether it is anywhere near your top ten priorities, and what is. No sales pressure and no obligation.
How do you write an llms.txt file if you want one?
Write it as a curated shortlist, not a second sitemap. The entire value of the format is that it is selective — a file listing 400 URLs defeats the purpose and is worse than not having one.
A workable structure for a services business:
# Example Studio > Digital, product and AI studio based in Gurugram. We build websites,
> apps and AI systems, and run SEO and performance marketing for
> Indian businesses. ## Services
- [SEO](https://example.in/seo-company): Technical SEO, content and local search.
- [Web development](https://example.in/web-development-company): Custom builds. ## Guides
- [Website cost in India](https://example.in/guides/website-development-cost-india): Real price bands and what moves them. ## Company
- [Contact](https://example.in/contact): Enquiries and consultations.
Rules that keep it useful:
- Keep it under roughly 50 links. If you cannot choose, you have not curated.
- Write descriptions that state what the page contains, not what you want the reader to feel.
- Use absolute URLs.
- Serve it as
text/plainortext/markdown, not as an HTML page. - Regenerate it whenever your site structure changes, and put that step in your deploy checklist.
What does llms.txt not do?
It does not control anything. This is the most consequential misunderstanding, and it leads businesses to think they have protected their content when they have not.
- It does not block training. Only robots.txt directives against the relevant user agents attempt that, and even then compliance is voluntary.
- It does not grant access. If robots.txt disallows a path, listing it in llms.txt changes nothing.
- It does not affect Google rankings. Google has not indicated any use of the file.
- It does not make a page quotable. A badly written page linked from llms.txt is still a badly written page.
- It does not replace a sitemap. Search engines still need the complete XML list.
If your actual goal is controlling how AI systems interact with your content, the file you need to edit is robots.txt, and the decisions you need to make are about specific user agents. That is a genuinely useful hour of work, and it is one we walk clients through as part of any AI engagement where content and data policy come up.
So should you add one?
Add one if your site is small enough to curate in under an hour and you have someone who will keep it current; skip it if it will be published once and abandoned. A stale llms.txt pointing at pages that have moved is a worse signal than no file at all, because it advertises that nobody is maintaining the site.
Rank it honestly against your other options. Fixing rendering so your content exists without JavaScript matters more. Restructuring your top pages into question-and-answer format matters more. Getting your Organization schema and profiles consistent matters more, as covered in schema markup for AI search visibility. On a large site, sorting out how crawlers spend their time matters more too, which is the subject of crawl budget optimisation for large sites.
Once those are done, spend the hour. It is cheap, it is reversible, and if adoption does arrive you will already be there. Just do not let it be the thing you did instead of the work that actually moves visibility — that ordering is the whole point of how we sequence technical SEO engagements, and there is more background reading in our guides library.
Free consultation
Get your AI crawler settings reviewed instead
The higher-value hour is auditing your robots.txt and rendering against the crawlers that feed AI answers. We will do that review and explain the trade-offs, with no obligation.