Home/Guides/What is llms.txt?
Guide

What is llms.txt? Format, example and how to check it

llms.txt is a plain markdown file at the root of a website that tells language models what the site is and links to its most useful pages, each with a one-line summary. It was proposed by Jeremy Howard in September 2024; a companion file, llms-full.txt, holds the full documentation in one file.

30checks in the free AI visibility report, llms.txt among them
94.5%fewer tokens when an agent reads the passages that answer instead of a whole page
0sign-ups needed for the llms.txt validator
The short answer

What should you remember?

01

A map for models

A short index of your best pages, written for an AI to read in one go.

02

Markdown at /llms.txt

An H1, a one-paragraph summary, then sections of links with one line each.

03

Read on purpose

Agents and tools fetch it when pointed at your site; it is not a ranking signal.

What goes in an llms.txt file?

  1. An H1 with the name of the site or product.
  2. A blockquote with a one-paragraph summary.
  3. Optional paragraphs with details a model should know.
  4. H2 sections, each a list of links written as [Title](URL): one-line summary.
  5. An "Optional" section for links an agent can skip when it is short on context.

What does an llms.txt example look like?

For developers: the exact call
# Example Co

> Example Co makes invoicing software for small agencies. These pages explain the product, the API and pricing.

## Docs
- [Quickstart](https://example.com/docs/quickstart): create an account and send a first invoice
- [API reference](https://example.com/docs/api): every endpoint with examples

## Optional
- [Changelog](https://example.com/changelog): what changed, newest first

Keep the summaries specific. "Every endpoint with examples" helps a model choose the right page; "Learn more" does not.

How is llms.txt different from robots.txt and sitemap.xml?

FileWho it is forWhat it says
robots.txtCrawlersWhich paths they may fetch
sitemap.xmlSearch enginesEvery URL, for indexing
llms.txtLanguage models and agentsWhat the site is and its best pages, in plain words
llms-full.txtLanguage models and agentsThe whole documentation as one file

Who reads llms.txt?

Mostly AI agents and tools that are pointed at a site on purpose: coding agents looking up a library's docs, research agents, and documentation tools. Search engines have not said they use it for ranking, so treat it as a help for agents, not as SEO. CrawlGenie's own docs tool tries llms-full.txt and llms.txt first when it looks up a package's documentation.

How do I check my llms.txt?

Run the free llms.txt validator: it fetches /llms.txt and /llms-full.txt, checks the format, lists the sections and links, and counts the tokens. The AI visibility checker includes llms.txt among its 30 checks of a page.

Measured, not promised

What did we measure?

Runs recorded with their date and their limits; your own numbers appear on every call.

30checks in the free AI visibility report, llms.txt among them
94.5%fewer tokens when an agent reads the passages that answer instead of a whole page
0sign-ups needed for the llms.txt validator
FAQ

Questions people ask

Is llms.txt an official standard?

No. It is a proposal that many documentation sites have adopted; no standards body publishes it.

Does llms.txt help SEO?

Not directly: search engines have not said they use it for ranking. It helps agents that read your site find the right pages quickly.

Where do I put llms.txt?

At the root of the site, so it loads at yourdomain.com/llms.txt, served as plain text.

Spend tokens on answers, not on pages.

Create a workspace in a minute. Connect ChatGPT, Claude, Cursor or your own agents. Every answer comes with the token savings.