News
News

Does your llms.txt need updating? What the new version 2.1 changes

Short answer

No, not urgently. On 28 November 2026 the llms.txt proposal moved to version 2.1. It adds options rather than new requirements: links can now be relative, with an optional Base URL line, sections can open with a short summary, and the old Optional section convention is gone. A file that already uses full links and plain section headings still fits the format.

News cover: a coiled grey cable on a dark background, under the headline asking whether your llms.txt needs updating for the new version 2.1.
On this page

    Key facts

    • Released 28 Nov 2026: Jeremy Howard updated the llms.txt proposal at llmstxt.org to v2.1, about three months after v2 (August 2026).
    • Relative links allowed: file lists can use short links that resolve against an optional Base URL: line, or else against the address the file was fetched from.
    • Section summaries: each H2 section can start with a short paragraph before its links, to help agents choose where to go.
    • Subheadings in the intro: H3 and deeper headings are now allowed in the top section. H1 stays the title, H2 stays for link sections.
    • Optional section dropped: the special Optional section is no longer part of the spec. Use ordinary descriptive headings.

    What happened

    The llms.txt proposal, the plain-text file that tells AI agents what a site is about and where its most useful pages are, was updated to version 2.1 on 28 November 2026. According to the changes page, the main reason is cost: repeating a site's full address on every link "wastes tokens", especially on documentation sites with dozens of pages. The proposal also notes that thousands of sites now publish an llms.txt and that the big AI labs publish one for their own developer docs.

    What this means for your site or store

    1. Don't panic-edit. Nothing in v2.1 forces you to rewrite a working file. Full links are still fine.
    2. Clean up any "Optional" section. If your file has a section called Optional, rename it to say what it holds, for example "Policies" or "Guides".
    3. Add one-line summaries. A short sentence under each section heading (Products, Shipping, Help) helps an agent pick the right links quickly.
    4. Only use relative links with a Base URL line. Short links break when the file is read away from your site, so add Base URL: https://yourdomain.com/ if you switch.

    The technical details

    In v2.1, relative URLs in file lists resolve against the Base URL: line in the top section when it is present, and otherwise against the URL the file was fetched from. Parsers add a missing trailing slash, and links to other sites stay absolute. Version 2 (August 2026) already added standard link relations, so a page can point to its markdown copy with rel="alternate" type="text/markdown" and to the llms.txt that covers it with rel="describedby", in HTML or an HTTP Link: header. Not sure whether the file is worth having? We looked at that in does llms.txt actually work?, and at its bigger sibling in what is llms-full.txt.

    Want to see how AI assistants and agents read your site today, llms.txt included? Run the free Web2Agents AI check.

    FAQ

    Sources

    Newsletter

    New guides on AI visibility, in your inbox.

    Practical, sourced articles on AI crawlers, llms.txt, structured data and AI search. A new one every day.

    Unsubscribe anytime. See our Privacy Policy.