llms.txt: what it is and what it does today
llms.txt is a proposed Markdown file that gives AI agents a short guide to your site. Here's what it is, what it doesn't do, and when I'd add one.
llms.txt is a proposed Markdown file that gives AI agents and language models a short, curated guide to a website, with links to clean versions of the most useful pages. It was proposed by Jeremy Howard in September 2024 and updated to a second version in 2026 (llmstxt.org). It's a proposal, not a web standard. It doesn't control crawling or training, and Google says you don't need new machine-readable files to appear in its AI features (Google Search Central). Today it's most useful for documentation and developer sites, where coding agents read it. For a typical business site, it's a low-cost extra, not an SEO lever.
What the file is
The proposal is to publish a Markdown file at /llms.txt. It can also sit at a subpath like /docs/llms.txt, where it covers the pages under that path (llmstxt.org). The idea is that web pages are built for people. Navigation, scripts and layout get in the way when an agent just needs the facts, and an agent's context window can't hold a whole site.
So the file gives agents a short map: what the site is, and which pages to read for what.
The format
The spec defines the sections in order (llmstxt.org):
- An H1 with the name of the site or project. This is the only required part.
- A blockquote with a short summary.
- Optional paragraphs or lists with more detail, but no headings.
- Optional H2 sections with "file lists". Each item is a Markdown link, optionally followed by a colon and a note.
An ## Optional section marks links an agent can skip when it needs a shorter context.
A minimal example for a small SEO guide site:
# Technical SEO Guides
> Practical guides on crawling, canonicals, Core Web Vitals,
> structured data and AI search, written by Shahrukh Hassan.
## Guides
- [Crawl budget](https://example.com/guides/crawl-budget.md): when it matters and when it doesn't
- [Canonical tags](https://example.com/guides/canonical-tags.md): six common mistakes and fixes
## Optional
- [About this site](https://example.com/about.md)
Markdown versions of pages
The proposal also suggests offering a clean Markdown version of each useful page at the same URL plus .md, for example page.html.md, or index.html.md for URLs without a file name. The second version adds a way to point to these files with standard link relations: rel="alternate" type="text/markdown" for the Markdown version and rel="describedby" for the llms.txt file that covers the page. You can put these in the HTML head or send them as an HTTP Link header (llmstxt.org).
What llms.txt doesn't do
This is where I see the most confusion.
- It doesn't control crawling. That's robots.txt. An llms.txt file can't block or allow any bot.
- It doesn't opt you out of AI training. For Google, that's the Google-Extended robots.txt token, which Google says has no effect on Google Search (Google Search Central). Other AI companies document their own crawler tokens.
- Google Search doesn't use it. Google says there are no additional requirements to appear in AI Overviews or AI Mode, and that you don't need to create new machine-readable files (Google Search Central). Its AI optimization guide goes further: Google Search ignores llms.txt files, so creating one will neither help nor harm your visibility (Google Search Central). The same guide says that optimizing for generative AI search is still SEO, so the usual best practices apply (Google Search Central). Google's John Mueller has compared llms.txt to the keywords meta tag (Search Engine Journal).
- It isn't a ranking factor anywhere that I can verify. I haven't seen a search engine document using it for ranking, so I don't claim it helps.
Who reads it today
The proposal page says llms.txt files are used most heavily for software documentation, where coding agents follow them to API references and tutorials (llmstxt.org). That matches what I'd expect. A developer asking a coding assistant about a library benefits from a clean doc map. A shopper asking about a plumber probably doesn't trigger a fetch of the plumber's llms.txt.
Google's Chrome team is a separate case. Lighthouse 13.3 added an experimental llms.txt audit in a new Agentic Browsing category. It checks whether a site provides the file for browser agents (Chrome for Developers; Search Engine Journal). That audit is about agent readiness, not search rankings.
Don't rely on claims about which AI tools fetch the file. Check your own server logs.
When I'd add one
Add it when
- The site has documentation, an API, or detailed product information that agents use.
- You can generate it automatically from the CMS, so it never goes stale.
- You want a clean, curated summary of the site for any agent or assistant that does look.
Skip it, or treat it as low priority, when
- The site is small and the pages are already clean HTML.
- Nobody will maintain it. An outdated llms.txt is worse than none.
- It's being sold as a way to rank in AI search. There's no evidence for that.
What I tell clients who ask about it
Clients usually hear about llms.txt from a newsletter or a tool vendor, often framed as a must-have for AI search. My answer is short:
- It's a proposal, not a standard, and Google doesn't require it for AI Overviews or AI Mode.
- It's cheap to add if it can be generated from the CMS, so there's little downside.
- The things that actually affect AI search visibility are the same as for regular search: crawlable, indexable pages, clear answers, and content worth citing.
- If we add it, we watch the server logs for a few months and decide whether to keep maintaining it.
That keeps the conversation honest and the budget on work that matters more.
How I'd set it up on a CMS
On a headless CMS like Strapi, I'd generate /llms.txt at build time from the same data that builds the sitemap: site name, a one-line summary from site settings, and a list of published guides with their excerpts. Markdown versions of each guide can come from the same body field. Then the file updates whenever content is published, with no manual step. I'd also add a rel="describedby" link in each page's head, so agents that follow the second version of the proposal can find the file from any guide.
I added llms.txt to my own site because it costs nothing. It doesn't help Google rankings, so I judge it only by whether AI tools and agents actually request it.