llms.txt is a proposal for a Markdown file at a website’s root, normally /llms.txt. Its purpose is to summarise the website and point to pages considered particularly useful to a language model.
Short answer: llms.txt can act as a curated content directory for systems that choose to use it. It is not a web standard, cannot guarantee crawling, indexing or citation in an AI answer, and Google says it does not use the file.
How it differs from robots.txt and a sitemap
The three files serve different purposes:
robots.txtdeclares crawler access rules for particular paths.- An XML sitemap lists canonical URLs the owner wants search engines to discover.
llms.txtdescribes the website’s purpose and selects useful pages in readable Markdown.
llms.txt neither permits nor blocks crawling. It cannot replace meta robots directives and is not designed to list every indexable page in the way a sitemap can.
What can it contain?
A restrained file may include:
- the website name as an H1,
- a short description limited to verifiable facts,
- primary languages and audience,
- links to main services or products,
- important articles and documentation,
- the official contact path,
- limitations that prevent misinterpretation.
Links should be absolute and lead to canonical production URLs. Staging pages, redirects and dozens of near-duplicate pages add little value.
What is llms-full.txt?
The proposal also describes an optional llms-full.txt containing a more extensive representation of site content. Such a file needs attention to size, updates and content rights. It must not reproduce private information or third-party material that cannot be republished.
For a small website, a well-curated list in llms.txt may be enough. The larger file is worthwhile only when it can be generated dependably and kept in sync.
Maintaining it responsibly
The main risk is drift from the website. When a URL, service or page language changes, the file may continue to describe outdated information.
A dependable implementation checks:
- HTTP
200and a plain-text content type, - no HTML fallback,
- production-domain URLs,
- links that exist and are canonical,
- inclusion of main services and the contact route,
- removal of unsupported claims.
Ideally, the file derives from the same content model as the sitemap and blog. If maintained manually, it needs review with every release that changes routes.
When is it worth adding?
The cost is modest when the site already has organised architecture and build validation. It may serve as an optional reference for systems that support it, but it is not work for Google Search. It should not take priority over missing fundamentals such as a sitemap, correct canonicals or indexable articles.
AI visibility depends first on the website and access for the relevant crawlers. llms.txt is a supporting reference, not a shortcut.