What goes in an llms.txt file?
- An H1 with the name of the site or product.
- A blockquote with a one-paragraph summary.
- Optional paragraphs with details a model should know.
- H2 sections, each a list of links written as [Title](URL): one-line summary.
- 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?
| File | Who it is for | What it says |
|---|---|---|
| robots.txt | Crawlers | Which paths they may fetch |
| sitemap.xml | Search engines | Every URL, for indexing |
| llms.txt | Language models and agents | What the site is and its best pages, in plain words |
| llms-full.txt | Language models and agents | The 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.