Explainer
What is llms.txt?
Where did llms.txt come from?
The idea was published on 3 September 2024 by Jeremy Howard of Answer.AI, the research and development company he co-founded. The specification lives at llmstxt.org, with the source on GitHub, and it has since been revised (the site now labels it version 2).
The problem it tries to solve is simple. Web pages are built for people: navigation menus, cookie banners, scripts, adverts and layout code surround the actual text. A large language model (LLM) answering a question has a limited context window, so stuffing whole HTML pages into it is wasteful. Howard's proposal is that a site can offer a short, clean Markdown map that points a model straight at the content worth reading.
It was aimed mainly at use at the moment a question is asked (inference time), for example a coding assistant that needs a library's documentation, rather than at training data collection.
What goes inside an llms.txt file?
The format is deliberately loose, but the specification describes a fixed order. First comes a level-one heading (a line starting with a single hash) giving the name of the site or project. This is the only required part.
Next is a blockquote (a line starting with the greater-than sign) with a one or two sentence summary of what the site is. After that you can add plain paragraphs or lists with any notes a reader would need, such as "prices are in euros" or "version 3 replaced version 2 in 2025".
Then come sections, each under a level-two heading, holding lists of Markdown links. Each list item is a link followed by an optional colon and a short note about what the page covers. A section titled "Optional" has a special meaning: it marks links a tool can skip when it is short on space.
The proposal also suggests two companions. One is llms-full.txt, a single file containing the full text of the important pages so a tool can load everything at once. The other is offering a clean Markdown version of individual pages at the same address with .md added. Both are optional, and many sites publish only the basic file.
What does a simple llms.txt look like?
Picture a small bakery. Its file would open with the heading "Hilltop Bakery". The blockquote underneath would say something like: "Family bakery in Leeds selling sourdough and celebration cakes; orders need 48 hours' notice."
Below that, a section headed "Ordering" would list two links: the order form, described as "how to order and pay", and the delivery page, described as "areas covered and delivery charges". A section headed "Products" would link the bread menu and the cake menu with one-line notes. Finally, an "Optional" section would link the company history page and the blog, which a tool can skip if space is tight.
This site publishes one too, at /llms.txt. It is generated automatically: the heading is the site name, the blockquote is the site's one-line description, and the sections follow the site's topics, each listing its explainers and comparisons with their short descriptions, followed by the tools and the glossary.
Who actually reads llms.txt?
This is where honesty matters. As of late 2026, no major AI search product (Google AI Overviews and AI Mode, ChatGPT search, Perplexity or Microsoft Copilot) has publicly said it uses llms.txt to decide what to read or cite. OpenAI, Anthropic and Google publish llms.txt files for their own developer documentation, which shows they find the format useful for coding tools, but publishing a file is not the same as their crawlers consuming yours.
Google has been the most explicit. Its May 2026 guide to optimizing for generative AI features on Google Search says you do not need to create new machine-readable files, AI text files, markup or Markdown to appear in those features. After a later clarification, Google's position is that such files neither help nor harm visibility in Google Search, because Search ignores them. Google's John Mueller has also described llms.txt as speculative.
There is one mixed signal: Chrome's Lighthouse auditing tool added an experimental check, aimed at AI agents that browse websites, that looks for an llms.txt file. That concerns browsing agents, not search rankings. Independent server-log studies published in 2026 found that most llms.txt files receive few or no requests from AI crawlers. The tools that clearly do use the files are coding assistants and documentation tools, where a developer points the tool at a library's llms.txt on purpose.
Is it worth adding an llms.txt file?
It is cheap and low-risk, and unproven. For a small site it takes under an hour, and Google has said it will not hurt you in Search. If your site is technical documentation, an API, or a software library, it is more clearly worthwhile, because developers increasingly paste these files into coding assistants.
For a typical business or content site, do not expect a measurable change in AI citations. The things that demonstrably matter for AI search are the same as for normal search: pages that can be crawled and indexed, clear answers, specific facts and evidence of who wrote them. The site's SEO vs AEO vs GEO guide covers that groundwork. Treat llms.txt as a small extra, not a strategy, and be sceptical of anyone selling it as a shortcut to being cited.
How do you create an llms.txt file?
Step 1: list the 10 to 30 pages you would hand a new colleague to understand your site, grouped into a few themes. Step 2: write a plain-text file with your site name as the heading, a one-sentence summary in a blockquote, and one section per theme, each line a link plus a short description. Put less important pages in an "Optional" section.
Step 3: upload it to the root of your domain so it loads at yoursite.com/llms.txt, served as plain text. Most website platforms let you upload a file to the root; several content management system plugins and documentation platforms can generate one for you. Step 4: keep it in sync. A stale file that links to deleted pages is worse than none, so if your site changes often, generate it automatically, as this site does.
Do not put anything in it that is not already public, and remember it controls nothing: if you want to stop AI crawlers, that is a job for robots.txt and the crawler-specific user agents each AI company documents.
llms.txt vs robots.txt vs sitemap.xml
| File | Purpose | Who reads it | Enforced or advisory |
|---|---|---|---|
| robots.txt | Tells crawlers which paths they may or may not fetch | Almost all reputable search and AI crawlers, including Googlebot, Bingbot and AI companies' bots | Advisory: a voluntary standard (RFC 9309) that well-behaved crawlers follow; it is not access control |
| sitemap.xml | Lists the URLs you want discovered, with optional last-modified dates | Search engines such as Google and Bing | Advisory: a hint that helps discovery; it does not guarantee indexing |
| llms.txt | Gives AI tools a short summary and a curated reading list in Markdown | Some coding assistants and documentation tools; no major AI search product has confirmed using it | Advisory and unofficial: a community proposal, not a standard |
Examples
- A software library publishes llms.txt linking its quick-start guide, API reference and changelog, so a developer can tell a coding assistant to read that one file.
- A documentation site also publishes llms-full.txt, one long file containing every guide, so a tool can load the whole manual at once.
- A recipe blog adds an llms.txt in 20 minutes; its AI referral traffic is unchanged a month later, which is the typical, unremarkable outcome.
- A shop's llms.txt still lists a discontinued product range a year after it was removed, showing why the file needs to be generated or reviewed.
- A site owner wants to stop an AI company's crawler and edits llms.txt, which does nothing; the correct fix is a rule in robots.txt.
Common questions
Is llms.txt an official web standard?
No. It is a community proposal published on llmstxt.org by Jeremy Howard of Answer.AI. It has not been adopted by a standards body such as the IETF or W3C, and no search engine or AI company is required to read it. Thousands of sites publish one, but adoption by sites is not the same as use by AI products.
Does llms.txt help SEO or Google rankings?
No. Google says its Search systems, including AI Overviews and AI Mode, ignore llms.txt, so it neither helps nor harms rankings or visibility there. Its 2026 guidance lists AI text files among things you do not need. Normal SEO groundwork, such as indexable pages and clear, useful content, is what matters.
Can llms.txt block AI crawlers from my site?
No. llms.txt only suggests what to read; it has no allow or disallow rules. To ask AI crawlers to stay away, add rules for their named user agents in robots.txt, which reputable AI companies document and say they follow. For stronger protection you need server-level blocking, since robots.txt is also voluntary.
What is the difference between llms.txt and llms-full.txt?
llms.txt is a short index: a summary plus links to important pages. llms-full.txt is an optional companion that contains the full text of those pages in one file, so a tool does not have to follow each link. The full file can be very large, so it suits documentation more than general websites.
Does ChatGPT read llms.txt files?
OpenAI has not said that ChatGPT search uses llms.txt to choose or cite sources. OpenAI documents its crawlers and says they respect robots.txt. ChatGPT may read an llms.txt file if a user gives it the link or it happens to fetch the page, but that is no different from reading any other page.
Sources and further reading
- The /llms.txt file — llmstxt.org (Jeremy Howard, Answer.AI)
- /llms.txt: a proposal to provide information to help LLMs use websites — Answer.AI
- AnswerDotAI/llms-txt — GitHub
- Optimizing your website for generative AI features on Google Search — Google Search Central
- RFC 9309: Robots Exclusion Protocol — IETF / RFC Editor
Glossary terms
- LLM
An LLM (large language model) is an AI model trained on huge amounts of text to predict the next piece of text in a sequence. That one skill lets it answer questions, write, summarise, translate and code. ChatGPT, Claude and Gemini are apps built on LLMs.
- GEO
GEO (generative engine optimization) is the practice of making content clear, trustworthy, and citable for generative AI answer systems.
- SEO
SEO (search engine optimization) is the practice of improving a site's visibility for relevant queries in search engines.
- AEO
AEO (answer engine optimization) focuses on structuring content so answer engines can extract and present a direct response.
Keep reading
- SEO vs AEO vs GEO: what's the difference?
SEO (search engine optimization) is getting pages to rank in search results. AEO (answer engine optimization) is getting your content used as the direct answer, as in featured snippets and voice assistants. GEO (generative engine optimization) is getting your content cited or mentioned inside AI-written answers. All three rest on the same base: crawlable, clear, trustworthy content.
- How to track your AI search visibility
To track AI search visibility, combine four sources: Google Search Console's generative AI reports, Bing Webmaster Tools' AI Performance report, AI referral visits in your analytics, and a fixed set of test prompts you run and log every month. No single source shows the whole picture, so watch trends across all four rather than any one number.
- How to get cited in AI Overviews
To get cited in Google AI Overviews, a page must first be indexed and eligible to show a snippet in normal Google Search. Beyond that, Google says no special markup or files are needed. Citations go to pages that answer the question clearly and add original, trustworthy information, so the work is good SEO plus genuinely useful content.
- How to get cited by ChatGPT, Perplexity, and other AI assistants
AI assistants cite websites when they search the web live to answer a question. To be cited, let their search crawlers (such as OAI-SearchBot, Claude-SearchBot and PerplexityBot) reach your pages, make sure you are indexed in the search engines they draw on, and publish clear, original, up-to-date information other sites already trust and mention.
- What is schema markup?
Schema markup is structured data added to a web page's code that labels what the content is, such as a product with a price, a recipe with a cooking time, or an article with an author. It uses the shared Schema.org vocabulary, usually written as JSON-LD. Search engines use it to understand pages and to show rich results.
- LLM vs search engine
An LLM (large language model) writes a new answer word by word from patterns learned in training. A search engine finds existing web pages in its index and ranks them for your query. Use an LLM to explain, summarize, or draft; use search to find current information and primary sources you can check yourself.