# What is llms.txt?

Source: https://rimfe.com/learn/llms-txt
Updated: October 30, 2026

llms.txt is a Markdown file at the root of a site that lists its key pages with short descriptions, written for language models and coding agents to read. It is cheap to publish and useful to tools that fetch it. Do not treat it as a search ranking lever, and keep it as current as the pages it lists.

## The format

The proposal at llmstxt.org defines a plain Markdown file: an H1 with the site name, a blockquote summary, then H2 sections of link lists, each link followed by a short description. Many docs tools also publish `llms-full.txt`, the full text of the docs in one file.

```markdown
# Acme

> Acme is a payments API.

## Docs

- [Quickstart](https://docs.acme.com/quickstart): Send a first payment.
- [Webhooks](https://docs.acme.com/webhooks): Events and signatures.
```

## What it is good for

- Giving a coding agent a map of your docs without crawling.
- Pointing tools at the pages you consider authoritative.
- Pairing with Markdown versions of pages that are easier to read than HTML.

## What it is not

It is not a standard that search engines honor for ranking, and it does not control what a model learns. Publish it because it costs little, not because it moves traffic.

## Keeping it right

A stale index is drift in miniature: it links a page that moved or describes a feature that is gone. Generate the file from the same source as the site, and treat a changed route or renamed page as a reason to update it.

## What to put in it

Start with the pages a newcomer, or an agent starting a task, needs first: the quickstart, the main concepts, the API reference and the changelog. Describe each in one plain sentence that says what the reader will find, not marketing copy. Leave out pages that are generated noise, archived versions and anything private. A short, accurate file is more useful than a complete one that nobody maintains.

## How agents use it

A coding agent that is told to read your docs can fetch the file first and follow the links that match its task, instead of crawling the whole site. That saves tokens and avoids pages that are out of date. It only works if the descriptions are honest and the links resolve, so check both whenever you rename or remove a page.

## Related

- [What are agent context files](https://rimfe.com/learn/agent-context-files)
- [What is documentation drift](https://rimfe.com/learn/documentation-drift)
- [Rimfe's own llms.txt](https://rimfe.com/llms.txt)
- [Fumadocs](https://rimfe.com/docs-frameworks/fumadocs)
- [Glossary](https://rimfe.com/glossary)
- [llms.txt generator and validator](https://rimfe.com/tools/llms-txt)
- [Rimfe for Mintlify docs](https://rimfe.com/docs-frameworks/mintlify)
- [Hosted docs sites](https://rimfe.com/integrations/hosted-docs)
