# What is llms.txt?

llms.txt is a proposed convention for a markdown file at a site's root that gives AI systems a short, curated map of the site's most useful content.

llms.txt is a proposed web standard: a markdown file at a site's root that gives AI systems a curated map of its most important content. It contains an H1 title, a short blockquote summary, and sections of annotated links. A companion file that many sites publish, llms-full.txt, puts the full page content in one file.

## Why does llms.txt exist?

Websites are built for browsers: navigation, JavaScript, ads and layout that a person takes in at a glance but a language model pays for in tokens. When an AI assistant or agent wants to understand a site, reading the HTML page by page is slow and noisy, and it can fill the context window before reaching the substance.

llms.txt was proposed by Jeremy Howard of Answer.AI in September 2024. It borrows the spirit of [robots.txt](https://millionshort.com/docs/glossary/what-is-robots-txt) but turns the purpose around: instead of telling crawlers what to avoid, it hands language models a concise, curated guide to what matters.

## What's in the file?

The format is deliberately simple markdown, in a fixed order:

1. **An H1** with the name of the site or project. This is the only required element.
2. **A blockquote** straight after it, with a short summary of what the site is.
3. Optionally, a few paragraphs of context.
4. **Link sections under H2 headings** (for example "Docs" or "Guides"), each a bulleted list of markdown links: a name, a URL and a short description of what is behind the link.
5. An optional section titled **"Optional"**, whose links can be skipped when a shorter context is needed.

Because it is plain markdown at a predictable address (`/llms.txt`), any model or agent can fetch and read it with no special tooling.

## What is llms-full.txt?

A heavier companion that has become a common convention: **llms-full.txt** puts the complete text of the documentation into one large file. It grew up alongside the proposal and is not one of its required parts. The index file suits agents that navigate selectively. The full file suits loading everything at once. This documentation publishes both, and each page is also available as markdown.

## Does it matter for RAG and answer engines?

It is a proposal, not a ratified standard, and nothing obliges an AI system to read it, so do not treat it as a way to influence how models rank or describe you. Its practical value today is with tools you point at it: coding assistants and agents that are given the address get a compact, accurate entry point, and for site owners it is cheap to publish. For retrieval pipelines, a site's llms.txt is [context engineering](https://millionshort.com/docs/glossary/what-is-context-engineering) done at the source.

## Related terms

- [What is RAG?](https://millionshort.com/docs/glossary/what-is-rag)
- [What is a web search API?](https://millionshort.com/docs/glossary/what-is-a-web-search-api)
