
What is
llms.txt?
A simple file meant to help language models find their way around your website. Here is how it works, and what you should know before creating one.
llms.txt is a text file placed in the root of a website, for example at the address example.com/llms.txt. The file is written in Markdown and gives language models and AI agents a short description of the website and links to the most important content. The aim is to make it easier for AI to understand the site without interpreting menus, scripts and design.
The format was proposed as an open standard in 2024. It is inspired by robots.txt and sitemaps, but has a different function.
It is easy to mix these two up, but they do completely different things:
robots.txt sets rules for which parts of the website robots are allowed to crawl. It is about access.
llms.txt is a guide that tells what is important and where it is. It is about understanding.
So llms.txt cannot be used to keep AI crawlers out. That has to be done in robots.txt or at server level.
A typical file consists of:
A heading with the name of the company or website.
A short summary of what the company does.
Sections with links to key pages, such as services, products, prices, documentation and contact information.
A short description of each link.
Some also create an extended version, often called llms-full.txt, with the actual content collected in one file. This is most relevant for documentation and knowledge bases.
It is still uncertain to what extent the major AI services actually read and use the file. It is not an official standard, and no one can promise that it gives better visibility. At the same time, it is quick to create and carries little risk. It can be useful for AI agents and developer tools looking for an overview.
Our recommendation is to see llms.txt as a small addition, not a main initiative. What really determines visibility in AI answers is the content, the structure and how you are described online, which is the core of GEO. First, prioritise making the website technically accessible, well structured and clear in answering customers' questions.
Write the file in a plain text editor, follow the Markdown format, upload it to the root folder and test that the address works. Keep it short, update it when important pages change, and only point to content you want an LLM to use. Read more about how we work with AI visibility.
Robots.txt: the file that controls which robots may crawl the website.
GEO: the full set of measures for becoming visible in AI-generated answers.
AI agent: AI systems that can use llms.txt to find their way.
LLM: the language models the file is made for.
See all the terms in the glossary.