llms.txt
The llms.txt is a proposed text file in the root directory of a website that gives language models a compact overview of the most important content, usually as a list of links with short descriptions in Markdown format. The proposal comes from Jeremy Howard and was published in September 2024.
The llms.txt is not an official standard. Whether and how AI systems use it is decided by each provider.
Why this matters for you
Many companies wonder whether they need an llms.txt to appear in AI answers. For Google Search, the answer is no: according to Google, it does not use the file for its AI features. Whoever has to prioritize effort is better off investing in clear content and clean indexing.
Context
The idea is based on familiar files such as robots.txt and the sitemap. While robots.txt gives crawlers access rules and the sitemap lists all URLs, the llms.txt is meant to help language models quickly understand the most important content without having to process complex pages.
In practice, it is mainly developer documentation that uses the file so that AI coding tools can read the documentation more easily. For marketing websites, the benefit is unclear so far.
How is an llms.txt structured?
The proposal envisages a simple Markdown format:
- a heading with the name of the website
- a short description in one sentence
- sections with lists of important pages, each with a link and a short explanation
Optionally there is a detailed variant with the full text of the most important pages.
When is an llms.txt worthwhile?
The file can make sense if:
- you have extensive technical documentation that developers read with AI tools
- a particular AI service demonstrably uses the file
- the effort is low because it is generated automatically
It is no substitute for indexing, clear content and linking.
A software vendor provides an llms.txt for its developer documentation so that coding assistants find the API description faster. For its marketing website, it does without and concentrates on indexing and clear answers.
Typical mistakes
- Seeing llms.txt as a ranking lever: according to Google, the file has no effect on Google Search.
- Confusing it with robots.txt: the llms.txt does not regulate access, it only describes content.
- Misallocating effort: clear content and indexing have a stronger effect than any additional file.
Frequently asked questions
What is an llms.txt?
A text file in the root directory of a website that offers language models the most important content as a compact list with links and descriptions.
Does my website need an llms.txt?
Not for Google Search; according to Google, it does not use it. For developer documentation it can make sense because coding tools partly read it.
What is the difference between llms.txt and robots.txt?
The robots.txt defines which areas crawlers may visit. The llms.txt describes content for language models but does not regulate access.
