Skip to content
AI search and crawlers

What is llms.txt?

3 min read · Updated · By the Reveata team

Short answerllms.txt is a proposed Markdown file served at /llms.txt that gives large language models and AI agents a short summary of a website and a curated list of links to its most useful pages, ideally in Markdown form.

White book page on white table
Photo by Nicolas HIPPERT on Unsplash

The idea comes from a proposal by Jeremy Howard (opens in a new tab), first published on 3 September 2024. Web pages are full of navigation, scripts and layout that make them awkward for a language model to read. An llms.txt file offers a clean, hand-picked entry point instead.

The format

The file is Markdown, placed at the root (/llms.txt) or under a path such as /docs/llms.txt. The proposal defines its parts in order:

  1. An # H1 with the name of the site or project. This is the only required part.
  2. A blockquote with a short summary.
  3. Optional paragraphs of detail, without headings.
  4. ## sections holding lists of links, each written as [name](url) with an optional note after a colon. A section called Optional marks links an agent can skip.
markdown
# Example Analytics

> Revenue-first web analytics for small software companies.

## Docs

- [Install the script](https://example.com/docs/install.md): add tracking to any site
- [API](https://example.com/docs/api.md): read stats from code

## Optional

- [Changelog](https://example.com/changelog.md)

The proposal also suggests offering a Markdown copy of useful pages at the same address with .md added, so an agent can fetch the text without the HTML around it.

llms.txt is not robots.txt

robots.txt llms.txt
Purpose Says what crawlers may fetch Suggests what is worth reading
Status Internet standard (RFC 9309) A community proposal
Effect on access Asks crawlers to stay out of paths None

If you want to keep a crawler out, robots.txt is still the file to use.

Does llms.txt help you appear in AI answers?

Nobody can promise that it does. The proposal does not say that any search engine uses the file, and Google's guidance on AI features in Search (opens in a new tab) says there are no special requirements to appear in AI Overviews or AI Mode, and that you do not need new machine-readable files or AI text files for them. Where an llms.txt file is more clearly useful is with coding assistants and agents that are pointed at it directly, for example to read a product's documentation.

Treat it as cheap and optional: a few minutes of work, worth keeping accurate if you write one, but no substitute for clear pages that crawlers can reach.

How to see whether anything reads it

A request for /llms.txt reaches your server like any other. If you forward crawler requests to Reveata, crawler and AI agent fetches of the file show up on the Bot traffic page under the most-read pages, with the crawler that asked for it. Browser visits to it count as ordinary pageviews only if the page runs the tracking script, which a plain-text file does not.

Frequently asked questions

What is llms-full.txt?

Some sites publish a second file with the full text of their documentation in one document, often named llms-full.txt. The llms.txt proposal does not define it, so its contents vary from site to site.

Should my llms.txt link to every page?

No. The point is curation. List the pages that explain what you do, how to use it and what it costs, and put everything secondary under an Optional section.

Does llms.txt replace a sitemap?

No. A sitemap lists every URL you want search engines to crawl. llms.txt is a short, readable summary for AI tools; the two do different jobs and can live side by side.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is robots.txt?Robots.txt is a plain-text file at the root of a website, such as example.com/robots.txt, that tells crawlers which paths they may and may not fetch, using groups of User-agent, Allow and Disallow lines. Crawlers follow it voluntarily; it does not block anyone.GlossaryWhat is generative engine optimization (GEO)?Generative engine optimization (GEO) is the practice of shaping and publishing content so that generative AI systems, such as ChatGPT search, Perplexity or Google's AI features, are more likely to use it as a source and to mention or cite it in their answers.GlossaryWhat are Google AI Overviews?AI Overviews are AI-generated summaries that Google Search shows above or among the regular results for some queries, written from several web pages and linking to them as sources.GlossaryWhat are AI citations?AI citations are the links to source pages that an AI assistant or AI search engine shows alongside its answer to indicate where the information came from, such as the numbered references in Perplexity or the source links in ChatGPT search.GlossaryWhat is a web crawler?A web crawler, also called a spider or bot, is a program that automatically fetches web pages, follows the links it finds and stores what it reads, usually to build a search engine index, an archive or a dataset.GlossaryWhat is AI search?AI search is a way of searching in which an AI model reads sources for you and writes a direct answer, usually with links to the pages it used, as in ChatGPT search, Perplexity, Google's AI Overviews and AI Mode, or Microsoft Copilot.