What is llms.txt? An example, and whether it works
llms.txt is a Markdown file that points AI agents to a site's key pages. What goes in one, an example, how it differs from robots.txt, and if it helps.
129,000
Domains in SE Ranking's study of ChatGPT citations, where llms.txt made no measurable difference
On this page
llms.txt is a Markdown file at the root of a site, /llms.txt, that gives AI agents a short summary of the site and a list of the pages worth reading. It is a proposal, not an adopted standard. Google says you don't need one to appear in its AI features, and OpenAI's crawler guide doesn't ask for one.
So publish one if it is cheap for you, and expect little from it. The rest of this page is what the file is, what goes in it, how it differs from robots.txt, and what the evidence says about whether it changes anything.
What is llms.txt?
Jeremy Howard proposed the file in September 2024 and published a second version of the proposal in August 2026 (llmstxt.org). The argument is practical. Web pages are built for people, so an agent reading one has to dig the text out of navigation, scripts and layout, and a whole site rarely fits in a model's context window. A short file in a known place gives an agent a curated way in.
The proposal says the file is read on demand, when an agent needs information while helping someone, rather than crawled ahead of time the way a search engine crawls (llmstxt.org). Its author also says it is used most heavily for software documentation, where coding agents follow it to API references and tutorials.
What goes in an llms.txt file?
The format is ordinary Markdown in a fixed order (llmstxt.org):
- An H1 with the name of the site or project. This is the only required part.
- A blockquote with a short summary, the facts needed to read the rest.
- Optional paragraphs or lists with more detail, with no headings.
- Sections under H2 headings, each a list of links written as
[name](url), optionally followed by a colon and a note. - By convention, a section called Optional for links an agent can skip when it is short on room.
The file can sit at the root or under a path: /docs/llms.txt covers everything in /docs/. The proposal also asks sites to publish a plain Markdown version of each page at the same address with .md added, so the links in the file can point at clean text.
llms.txt example
Here is a short file for Northward, a made-up data consultancy that sells to retail groups with two data warehouses after an acquisition, with each part named:
- # Northward
H1 The name of the site. The only required part.
- > Northward is a data consultancy for retail groups that have just> bought another company and now run two data warehouses. We merge> the reporting first, then the warehouses.
Blockquote A short summary: the facts needed to read the rest.
- ## Services- [Warehouse consolidation](/consolidation): one warehouse after an acquisition, planned around the quarterly close- [Migration](/migration): moving Redshift workloads to Snowflake
H2 section A list of links, written [name](url), each with a note after a colon.
- ## Guides- [Two data warehouses after an acquisition](/guides/two-warehouses): what to merge first, and why the reporting goes before the data
H2 section As many sections as the site needs.
- ## Optional- [About Northward](/about)
Optional Links an agent can skip when it is short on room.
Every line says something a buyer's question could need, and nothing in it is a keyword list. This site publishes its own llms.txt, built from the same data files as the pages, so the services, articles and tools it lists can't drift from what the site says. It bends the format in one place: a few sections hold a short paragraph rather than a list of links.
llms.txt vs robots.txt
They do different jobs. robots.txt tells automated tools what they may crawl; llms.txt is read when an agent wants to understand the site (llmstxt.org). The proposal sets it apart from a sitemap too: a sitemap lists every indexable page, and llms.txt is a curated set small enough to fit in a model's context.
robots.txt
- Its job
- Says which pages automated tools may crawl
- Read
- By a crawler, before it fetches pages
- Can it keep a page out?
- Yes, from crawlers that follow it
sitemap.xml
- Its job
- Lists every indexable page
- Read
- By search engines, to find pages
- Can it keep a page out?
- No
llms.txt
- Its job
- A curated set of pages, small enough for a model's context
- Read
- On demand, when an agent wants to understand the site
- Can it keep a page out?
- No. Leaving a page out hides nothing
Access is still decided in robots.txt. OpenAI uses separate robots.txt tags for OAI-SearchBot, its search crawler, and GPTBot, its training crawler, and says sites that opt out of OAI-SearchBot will not be shown in ChatGPT search answers. Anthropic says its bots honor industry standard directives in robots.txt, and it names separate bots for training (ClaudeBot) and for search (Claude-SearchBot). If an AI search crawler can't reach your pages, no llms.txt will put them in its answers. The free AI crawler checker reads your robots.txt the way each crawler does.
Does llms.txt work?
For search visibility, the evidence says no.
Google's guide to AI Overviews and AI Mode says you don't need new machine-readable files or AI text files to appear in them, and that there are no extra requirements beyond normal SEO. OpenAI's crawler overview describes robots.txt tags and IP ranges and doesn't ask sites for an llms.txt (OpenAI). Anthropic's crawler page describes robots.txt and doesn't mention the file (Anthropic).
Two large studies point the same way. SE Ranking analyzed 216,524 pages on 129,000 domains and modeled what predicted ChatGPT citations. Having an llms.txt showed negligible impact, and the model predicted citations better with it left out. That is a correlation study of what cited sites have in common, not a test of what ChatGPT reads, but it gives no reason to expect a lift.
Ahrefs looked at the requests instead. Of about 38,000 domains with a valid llms.txt, 97% saw no requests for it at all in May 2026, and among the AI tools that did fetch one, OpenAI's training crawler GPTBot made the most requests, ahead of every AI search and assistant bot (Ahrefs).
- No requests for the file in May 2026: 97%
- Requested at least once: 3%
Of the AI tools that did fetch one, GPTBot, OpenAI’s training crawler, made the most requests.
Where the file does get used is the proposal's original home, documentation. Its author notes that OpenAI, Anthropic and Google's Gemini publish llms.txt files for their own developer docs (llmstxt.org), which help coding agents find the right page. That is a different job from getting a marketing page cited.
Is llms.txt a standard?
No. It is a proposal written by one person and revised by him, not a specification from a standards body. The proposal explains why it uses a plain file at a path rather than the /.well-known/ location that registered standards use (llmstxt.org): many authors control only a folder on a shared host.
What is llms-full.txt?
A companion file some documentation platforms publish. It isn't part of the proposal. Mintlify, for one, describes its llms-full.txt as the entire documentation site in a single file, each page with its title, address, description and full Markdown. For a documentation site an agent might load whole, that can be useful. For a marketing site, it is a long file nobody asked for.
How to create an llms.txt file
- Write the H1 and a two-sentence summary that would make sense to someone who has never heard of you.
- List the ten or twenty pages that answer what buyers ask, each with a note on what it covers.
- Put secondary links under Optional.
- Generate it from the same source as your pages if you can, so it updates when they do. The proposal lists platforms that make one automatically, including Mintlify, GitBook, Wix and the WordPress plugins Yoast SEO and AIOSEO (llmstxt.org).
- Test it the way the proposal suggests: give an agent only the file and ask it questions about your business.
llms.txt
What does Northward do, and what should I read about merging two warehouses?
Northward is a data consultancy for retail groups that have just bought another company and run two data warehouses. It merges the reporting first, then the warehouses. Start with “Two data warehouses after an acquisition” at /guides/two-warehouses.
- Answered from the summary
- Pointed at the right page
Should you publish one?
If it takes an hour, yes; it does no harm and documentation agents use it. Just don't spend the budget there. What gets a page cited is access and the page itself: crawlers let in, an answer in the opening lines, and a record of which answers name you. That is the work in how to get cited by ChatGPT, and it is what our answer engine optimization covers. We add an llms.txt for clients who want one, and we don't sell it as a lever.
Sources
- llmstxt.orgJeremy Howard proposed the file in September 2024 and published a second version of the proposal in August 2026
- developers.openai.comwill not be shown in ChatGPT search answers
- support.claude.comhonor industry standard directives in robots.txt
- developers.google.comnew machine-readable files or AI text files
- seranking.comHaving an llms.txt showed negligible impact, and the model predicted citations better with it left out
- ahrefs.comOf about 38,000 domains with a valid llms.txt, 97% saw no requests for it at all in May 2026, and among the AI tools that did fetch one, OpenAI's training crawler GPTBot made the most requests, ahead of every AI search and assistant bot
- mintlify.comthe entire documentation site in a single file