What is llms.txt?
llms.txt is a Markdown file at a site's root (/llms.txt) that gives AI models and agents a short, curated map of the site's most useful pages.
By Grace Kong·Updated ·2 min read
Put an llms.txt to work from your agent
TL;DR
Jeremy Howard proposed it on **September 3, 2024**; the only required part is an H1 with the site's name, followed by a summary and H2 lists of links.
robots.txt says what crawlers may fetch and sitemap.xml lists every URL to index; llms.txt points agents to the few pages that answer most questions, as clean Markdown.
Developer docs adopted it first: on November 30, 2026 the MCP, Anthropic, OpenAI and Stripe docs all served one.
Google says no AI system it runs uses the file (June 2025), so citations in AI answers still come from the pages themselves.
The format
A title, a summary and lists of links, in plain Markdown.
- H1: the name of the site or project. The only required section.
- Blockquote: a short summary.
- Base URL line: optional, for resolving relative links.
- Detail blocks: optional paragraphs or lists; H1 and H2 are reserved.
- H2 sections: lists of Markdown links, each optionally followed by a colon and a note.
The proposal also asks sites to offer clean Markdown copies of pages at the same URL with .md added (llmstxt.org, v2.1). A minimal file:
# Example Running Co. > Running shoes and gear, with fit guides and a 60-day return policy. ## Guides - [Shoe fit guide](https://www.example.com/fit.md): how to measure and pick a size - [Returns](https://www.example.com/returns.md): policy and steps ## Products - [Road shoes](https://www.example.com/road.md)
llms.txt, robots.txt and sitemap.xml
Three root files with three different jobs.
| File | Written for | What it does |
|---|---|---|
| robots.txt | Crawlers | Says what may be crawled |
| sitemap.xml | Search engines | Lists every URL you want indexed |
| llms.txt | AI models and agents | Points to the few pages that answer most questions, as clean Markdown |
Who publishes one
Developer docs adopted it first.
When we checked on November 30, 2026, modelcontextprotocol.io, Anthropic's developer docs, OpenAI's developer site and Stripe's docs all served a /llms.txt file. The MCP docs go further and tell agents, at the top of each page, where to fetch the full index. That fits the main use: an agent reading documentation in the middle of a task. Hypesonic serves one at hypesonic.com/llms.txt with the MCP setup steps, the live ad channels, the playbooks with their prices and the model list.
Does it help you get cited by AI?
Not by itself.
Google says none of its systems use it, per Mueller's June 17, 2025 post (Search Engine Roundtable). It is cheap to make and useful for agents that read docs, but being quoted in AI answers depends on the pages themselves: a clear answer, numbers and sources. See generative engine optimization.
Questions
Where do I put llms.txt?
At the site root, for example https://www.example.com/llms.txt. The proposal also allows files at subpaths that cover the URLs below them.
Does Google use llms.txt?
No. Google's John Mueller wrote in June 2025 that no AI system currently uses it.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may fetch. llms.txt suggests which pages are most useful and links to clean Markdown versions.
Should I add llms.txt to my site?
If agents use your docs or API, yes: it takes about an hour. Don't expect it to change rankings or AI citations on its own.
Sources
- 1llmstxt.org, the /llms.txt file · proposed Sep 3, 2024; v2.1 Nov 28, 2026
- 2Search Engine Roundtable, Google: no AI system currently uses llms.txt · Jun 18, 2025
Put an llms.txt to work from your agent
Keep reading