What is LLMs.txt?
llms.txt is a plain Markdown file you publish at the root of your site. Written for AI tools rather than search engines, it lists the pages worth reading, in a format large language models can follow without guessing. This guide explains what it is, where it came from, and who should have one.
Published: [FILL IN] · Last modified: [FILL IN]
The short version
A /llms.txt file sits alongside your robots.txt and gives an AI model a curated map of your content: a title, a one-line description and a short list of links, grouped into sections. Instead of crawling and guessing, an assistant can read one small file and know where your documentation, pricing or best articles live.
It is optional. Nothing breaks if you do not have one, and it is not a ranking factor — but it is a low-cost way to make your site easier for AI tools to read accurately.
Who created llms.txt, and why
The proposal was introduced in 2024 by Jeremy Howard, with the idea that context-window limits make it impractical to feed a whole website to a model. A small Markdown index solves that: the model reads the index, then fetches only the pages it needs.
It spread quickly because it is trivial to host — a text file with no server code — and because it is designed for machines first. A first revision, commonly called llms.txt V2, followed in August 2026.
What an llms.txt file looks like
The structure is deliberately simple. An H1 with your site name is the one required element; a blockquote description, H2 sections and described links are recommended.
# Example Site
> One sentence describing what this site offers and who it is for.
## Docs
- [Getting started](https://example.com/docs/getting-started): Install and run in five minutes.
- [API reference](https://example.com/docs/api): Every endpoint, parameter and response.
## Company
- [About](https://example.com/about): Who we are and what we build.
## Optional
- [llms-full.txt](https://example.com/llms-full.txt): Full page text in one file.- H1 — required. The file opens with
# Your Site Name. - Blockquote — recommended. A one-line summary under the title.
- H2 sections — recommended. Group links by topic, such as Docs, Blog or Company.
- Described links — recommended. Each link uses
- [Title](url): description. - Subfolder files — V2. A folder can carry its own llms.txt, and the most specific one applies to pages inside that folder.
llms.txt vs robots.txt vs sitemap.xml
These three files are often confused. They do different jobs and can all live on the same site.
| llms.txt | robots.txt | sitemap.xml | |
|---|---|---|---|
| Purpose | Point AI tools at your best pages | Tell crawlers what they may fetch | List URLs for search engines |
| Written for | AI assistants and agents | All crawlers | Search engine crawlers |
| Location | /llms.txt (and subfolders in V2) | /robots.txt | /sitemap.xml |
| Format | Markdown | Plain-text directives | XML |
| Controls access? | No | Yes | No |
| Required? | No — optional | No — optional | Recommended |
In short: robots.txt says what a crawler may do, sitemap.xml lists what exists, and llms.txt says what is worth reading. See the llms.txt vs robots.txt guide for the full comparison.
Is llms.txt an official standard?
No. llms.txt is a community proposal, not a W3C or IETF standard, and no major AI company is obliged to read it. Adoption is growing and the format is settling — the V2 revision added clearer rules for Markdown versions and link relations — but treat it as an emerging convention rather than a guaranteed contract.
Markdown versions of pages
V2 works best alongside clean Markdown copies of your pages. When a page has a Markdown version and links to it, an agent can read the content without parsing navigation, ads or scripts. The spec describes two URL patterns: page.md and page.html.md. These are optional, but they are the single biggest readability win for AI tools.
Who should add an llms.txt file?
It is most useful for sites that are read for reference: documentation, help centres, API references, technical blogs and e-commerce catalogues. If your content already ranks well and is easy to parse, the benefit is smaller — though the discipline of choosing your best pages is useful on its own.
If you want one, the fast route is to generate an llms.txt file from your website or sitemap, then publish it at your domain root.
What about llms-full.txt?
llms.txt is an index; llms-full.txt is the book. The second file bundles the actual text of your pages into one large document for deeper context. Many sites publish both and link the full version from the Optional section of llms.txt.
Check your file
Generate yours free
Learn more
- What is llms.txt?
- llms.txt V2: what changed
- Format & specification
- How to create llms.txt
- Best practices
- Examples & templates
- Do I need llms.txt?
- llms.txt for SEO
- What is llms-full.txt?
- llms.txt vs llms-full.txt
- llms.txt vs robots.txt
- llms.txt in the news
- LLMs.txt Generator
- LLMs-full.txt Generator
- LLMs.txt Validator
- llms.txt V2 Checker
- Robots.txt Generator
- Robots.txt Tester