Guides

What is llms.txt? Format, examples and who reads it

llms.txt is a Markdown file at /llms.txt that tells AI agents what your site is and which pages to read. It is a proposal, not a standard. Google Search says it ignores the file, and OpenAI, Anthropic and Perplexity have not said their crawlers use it, so treat it as a cheap extra, not a ranking factor.

Updated · Sources checked · By

What llms.txt is

llms.txt was proposed by Jeremy Howard of Answer.AI on 3 September 2024. The idea is simple: put a short Markdown file at /llms.txt that says what the site is and links to the pages an AI agent should read, ideally in clean Markdown. The proposal was revised to version 2 in August 2026.

Two things the proposal says about itself are worth knowing before you build one:

It is also not a replacement for robots.txt or sitemap.xml. robots.txt controls what crawlers may fetch; llms.txt only suggests what to read. A sitemap lists every URL; llms.txt is a short, curated reading list.

Who reads it

Who What they officially say
Google Search Its AI optimization guide says Google Search ignores llms.txt. Creating one is fine for other services, but it neither helps nor harms visibility or rankings in Google Search.
Chrome Lighthouse An experimental “Agentic Browsing” audit checks for /llms.txt at the site root. A missing file counts as not applicable; a server error fails the audit.
OpenAI, Anthropic, Perplexity Their crawler pages explain how to control crawling with robots.txt. None of them says its crawlers read other sites’ llms.txt. All three publish llms.txt files for their own developer documentation.

So the honest answer to “does llms.txt help me show up in AI answers?” is: nobody has promised it does. It mostly helps coding agents and other tools that look for it on purpose, which is why it is most common on software documentation sites.

The format (v2)

The file is Markdown, with parts in a fixed order:

Part Required? What goes in it
Byte-order mark No Allowed at the very start
H1 Yes The name of the site or project. This is the only required part
Blockquote No A short summary with the key facts needed to understand the rest
Paragraphs or lists No Any extra context, but no headings
H2 sections No Lists of links: - [Name](URL), optionally followed by : notes

A section named ## Optional is, by convention, for secondary links an agent can skip when it needs a shorter context. In version 1 that section had a special meaning to tools; version 2 dropped it, so it is now only a convention.

What changed in version 2

On the Google results we checked on 27 October 2026 for three llms.txt searches, several first-page results were written before version 2, so check which version an example follows. In short, version 2:

The version 2 text says it was updated from “two years of adoption”: thousands of sites publish a file, and the files are used most heavily in software documentation, where coding agents follow them to find API references and tutorials.

A copyable example

# Example Bakery

> Example Bakery is a family bakery in Springfield that sells bread and cakes online and delivers within 20 km.

All prices are in US dollars and include tax. Orders placed before 2 pm ship the same day.

## Shop

- [Bread](https://example.com/bread.md): Daily loaves, ingredients and allergens
- [Cakes](https://example.com/cakes.md): Custom cakes, sizes and lead times

## Policies

- [Delivery](https://example.com/delivery.md): Areas, fees and time slots
- [Refunds](https://example.com/refunds.md)

## Optional

- [Our story](https://example.com/about.md)

Replace the names and links with your own. Keep the summary factual: the same claims should appear on your real pages.

Where to put it

Writing yours step by step

  1. Pick the pages that explain what you do, how it works and what it costs. The spec says the file “stays small enough to fit in context” and the detail lives behind the links, so list pages rather than pasting them in.
  2. Write the H1 and a summary. The H1 with your site’s name is the only required part; add a blockquote with the key facts needed to understand the rest. Citeloop’s file opens with an H1 and a two-sentence blockquote, followed by the same summary in Chinese.
  3. List the pages in H2 sections, one Markdown link each, optionally followed by a colon and a short note. Each entry in Citeloop’s file is a page’s title and its meta description.
  4. Put it at the root and serve it as plain text with a 200 status, as above.
  5. Keep it current. In our view the simplest way is to generate the file from the same titles and descriptions as the pages, as citeloop.ai’s build does, so the two cannot drift apart.

Markdown versions of pages (optional)

The proposal also suggests offering a clean Markdown copy of important pages at the same URL, either with .md added (page.html.md) or with the extension replaced (page.md). Version 2 recommends linking them with rel="alternate" type="text/markdown", and pointing to the covering llms.txt with rel="describedby", in an HTML <link> or an HTTP Link header. This is a recommendation, not a requirement.

Real llms.txt files, measured

On 27 October 2026 we fetched five real llms.txt files with CiteloopBot, which read each site’s robots.txt first: the developer documentation of OpenAI, Anthropic, Gemini and Perplexity, and Citeloop’s own. Links are every Markdown [name](URL) link, including relative ones.

File Size (bytes) H2 sections Links (to .md or .txt)
OpenAI 6,201 4 40 (31)
Anthropic 90,932 5 822 (822)
Gemini 38,007 1 224 (224)
Perplexity 40,490 2 184 (177)
Citeloop 9,226 2 32 (0)

The AI companies’ files point mostly to Markdown versions of pages; none of the 32 links in Citeloop’s file does. These numbers show what the files contain, not whether any AI crawler reads them, and we have no data on that.

What llms-full.txt is

llms-full.txt is not part of the proposal. It is a convention from documentation platforms such as Mintlify: the whole documentation site merged into one file. It can be useful for very large docs, but nothing in the llms.txt spec asks for it.

Checking your file

  1. Fetch it. Request /llms.txt on your site and confirm a 200 status and a text content type.
  2. Read the first line. It should be the H1 with your site’s name.
  3. Open the links. The spec expects them to point to LLM-friendly content.
  4. Ask an agent. The spec suggests asking an agent questions about your content, giving it only your llms.txt as a starting point.

Chrome’s Lighthouse audit flags a server error when it fetches the file and marks a 404 as Not Applicable, “as providing the file is optional at the moment”. In our view a pass shows that the file can be fetched, not that any AI reads it.

Should you add one?

Yes, if your site has pages that explain what you sell, how it works and what it costs: it takes a few minutes and costs nothing. But do it after the basics, because llms.txt cannot fix them:

  1. Make sure AI crawlers are allowed in robots.txt and not blocked by your CDN. See AI crawler list: what each bot does and how to block it.
  2. Make sure your content is in the HTML, not only rendered by JavaScript.
  3. Then add a short, accurate llms.txt and keep it updated when pages change.

Citeloop’s own file is at citeloop.ai/llms.txt. The free GEO audit checks whether yours exists and follows the format.

Sources

  1. The /llms.txt file, v2 (llmstxt.org)
  2. llms.txt v2 changes (llmstxt.org)
  3. Answer.AI: /llms.txt, a proposal to provide information to help LLMs use websites (2024-09-03)
  4. Google Search Central: AI optimization guide, Mythbusting (updated 2026-07-10)
  5. Chrome Lighthouse: llms.txt audit (Agentic Browsing)
  6. OpenAI: Overview of OpenAI crawlers
  7. Anthropic: Does Anthropic crawl data from the web
  8. Perplexity: Perplexity crawlers
  9. Mintlify: llms.txt and llms-full.txt
  10. Perplexity: llms.txt for its API documentation
  11. OpenAI Developers: llms.txt
  12. Anthropic Developer Documentation: llms.txt
  13. Gemini API: llms.txt

More guides