llms.txt V2: What Changed and What to Update
llms.txt V2 landed on 10 August 2026, the first revision of the format since September 2024. It adds two Markdown URL patterns, standard link relations, and per-folder files, and it quietly retires the special status of the Optional section. This guide explains each change and what, if anything, you should update.
Published: [FILL IN] · Last modified: [FILL IN]
Introduction
When llms.txt was introduced, it answered one question: where is your best content? V2 keeps that job and adds a second one — making sure the content an agent reaches is clean, readable Markdown rather than a page full of navigation and scripts. The revision is the first since the format was published in September 2024, and it was released on 10 August 2026.
None of it is mandatory. The only required element is still the H1 at the top of the file. Everything V2 adds is a recommendation that makes your site easier for AI tools to read accurately. If you already publish a basic llms.txt, you can adopt the new parts incrementally.
V2 at a glance
Four changes summarise the revision. The first two matter for most sites; the last two matter when you serve content from folders or want tighter control over what agents read.
| Change | What it says |
|---|---|
| Markdown URL patterns | A page can offer a clean Markdown version at page.md or page.html.md. |
| Link relations | Pages can point at their Markdown copy with rel="alternate" and at the index with rel="describedby". |
| Subfolder llms.txt | A folder can carry its own llms.txt, and the most specific file covers the pages inside it. |
| Optional is now ordinary | The ## Optional section lost its special meaning and is treated like any other section. |
1. Two Markdown URL patterns
V2 defines two URLs where a Markdown version of a page can live. The first keeps the original path and swaps the extension: a page at /docs/getting-started offers its Markdown at /docs/getting-started.md. The second appends .md after the existing extension, so an HTML page at getting-started.html is mirrored at getting-started.html.md.
Both patterns are optional, but offering a Markdown version is the single biggest readability win for AI tools. Instead of parsing your theme, ads and scripts, an agent reads the same words you would put in a plain text file. Publish one pattern consistently and keep the Markdown in sync with the live page.
2. Link relations: alternate and describedby
V2 standardises how a page advertises those two relationships. A rel="alternate" link with type="text/markdown" points at the page's Markdown version. A rel="describedby" link points at the llms.txt file that describes the page. Both belong in the document head.
<link rel="alternate" type="text/markdown" href="/docs/getting-started.md" />
<link rel="describedby" type="text/markdown" href="/llms.txt" />Put them in the <head> of the page they apply to. The alternate link goes on a page that has a Markdown copy; the describedby link appears on pages covered by an llms.txt. Using the documented relation names — rather than inventing your own — is what lets a generic agent find the files without being told about your site first.
3. llms.txt in subfolders
In the original format there was one file, at the domain root. V2 allows a folder to carry its own llms.txt, and it defines which file wins: for a page inside that folder, the most specific llms.txt that covers it applies. A page at /docs/api/auth is described by /docs/api/llms.txt if that exists, otherwise by /docs/llms.txt, and finally by the root /llms.txt.
The practical benefit is scoping. A large site can give each major area its own short, relevant index instead of one enormous root file, and an agent reading a documentation page gets a map of that section rather than a list of everything the company publishes. Subfolder files are optional; add them where a section is big enough to deserve its own index.
4. How agents read it now (and what happened to Optional)
In the first version, an ## Optional section was a hint that its links were nice-to-have — content an agent could safely skip if it had to trim. V2 removes that special status. The Optional section is now treated like any other H2 section, and there is no rule that tells an agent to deprioritise it.
The consequence is simple: do not use Optional as a junk drawer. Everything in the file, whatever the heading, is content you are inviting an agent to read. If a link is not something you want surfaced, leave it out rather than parking it under a heading you hope will be ignored.
Platform guides
The link relations and Markdown versions are the same idea everywhere, but the way you add them depends on your platform. These walkthroughs give the exact code for each:
- llms.txt V2 on WordPress — a Markdown plugin plus a functions.php snippet.
- llms.txt V2 on Next.js — route handlers, rewrites and metadata alternates.
- llms.txt V2 on Shopify — a theme.liquid line pointing at your file.
- llms.txt V2 for static sites — one server rule for Apache, Nginx, Vercel, Netlify or Cloudflare.
V2 checker CTA
Before you change anything, it helps to know what you already have. The llms.txt V2 Readiness Checker runs seven checks on a single public page: whether the llms.txt that covers it exists, how its structure scores, whether a Markdown version is served, and whether the alternate and describedby link relations are present. It needs no account and returns the platform-specific code to close any gaps.
What hasn't changed
The heart of the format is untouched. An llms.txt file is still a plain Markdown index that lives at /llms.txt: an H1 site name, a blockquote summary, H2 sections, and links with short descriptions. It is still optional, still a community proposal rather than a W3C or IETF standard, and still not a Google ranking signal.
That means nothing you have already published is invalid. A basic file that passed review yesterday still does the same job today; V2 only gives you more ways to be useful to agents that want clean Markdown and a clear path to the index.
Why the update matters
The first version told agents where your content was but said little about what they would actually read once they got there. V2 closes that gap: a Markdown copy means an agent reads your text instead of reverse-engineering your page, and the standard link relations mean it can discover that copy and your index without a site-specific integration.
It is still early, and no one can promise that any given assistant honours the format. Treat V2 as a clearer contract for the tools that do look, not a guarantee of traffic or citations. It costs little to adopt, and the parts you skip simply leave things as they were.
Your V2 checklist
Confirm the basics still load. Check that your root file responds at
/llms.txtand still has its H1, summary and grouped links.Publish Markdown versions. Add a clean
.mdcopy of your key pages using thepage.mdorpage.html.mdpattern.Add the alternate link. On every page with a Markdown version, add
rel="alternate" type="text/markdown"pointing at that copy.Add the describedby link. Point covered pages at your llms.txt with
rel="describedby".Consider subfolder files. Where a section is large enough to deserve its own index, add a folder-level llms.txt and let the most specific file cover it.
Re-read Optional and verify. Remove anything from the Optional section you would not want an agent to read, then run the V2 checker on a key page.
Sources
- llmstxt.org — the llms.txt proposal and its changes page.
- The llmstxt.org GitHub repository — tracked issues and revision history. URL:
[FILL IN] - Search Engine Journal — coverage of the V2 release. URL:
[FILL IN]
Check your file
Generate yours free
Learn more
- What is llms.txt?
- llms.txt V2: what changed
- Format & specification
- How to create llms.txt
- Best practices
- Examples & templates
- Do I need llms.txt?
- llms.txt for SEO
- What is llms-full.txt?
- llms.txt vs llms-full.txt
- llms.txt vs robots.txt
- llms.txt in the news
- LLMs.txt Generator
- LLMs-full.txt Generator
- LLMs.txt Validator
- llms.txt V2 Checker
- Robots.txt Generator
- Robots.txt Tester