Skip to content

    llms.txt

    Reading time: 3 min.Editorially reviewed on:

    Definition

    llms.txt is the proposal to provide a Markdown file with LLM-friendly content on websites, which can be located in the root directory or under any path.

    The file offers brief background information, hints, and links to detailed Markdown files. Agents are supposed to view or search it and follow the appropriate links; the details lie behind the links and are retrieved only as needed. The file itself should remain small enough to fit into the context.

    Simply explained

    An additional table of contents is intended to help some AI tools find selected website content; it does not replace the usual website directories.

    Why it matters in practice

    Relevant for websites with extensive content that want to offer agents a curated entry point: The proposal justifies the file by stating that context windows are overall too small for most websites.

    Example from business

    Possible example: A website lists central documentation pages in such a file.

    Limits and pitfalls

    • llms.txt does not guarantee visibility in Google's AI features and is not required for that. The file does not replace a sitemap; linked content must be suitable for the intended processing.

    Origin & history

    According to the document metadata, the proposal is dated September 3, 2024; the author is named as Jeremy Howard. Version v2 was revised after about two years of practice and bears the revision date August 10, 2026.

    Use in mid-sized companies

    • Possible fields of application: Bundle company structure and policies or course information for agents; provide clean Markdown versions for important pages under the same URL with appended .md; place one file per subarea under the respective path.

    Frequently asked questions

    Does llms.txt replace robots.txt?

    No, access rules and providing information for agents are different tasks.

    What does "Optional" mean?

    These contain supplementary content that can be omitted for a shorter context.

    What must be included in the file?

    Only the H1 heading with the project or page name is mandatory; short description, sections, and linked file lists are optional.

    Sources

    Sources checked on 14.10.2026. Editorial use cases are hypothetical; no evidence of real customer results.

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice