- llms.txt is a Markdown file in the root of your website. It gives AI systems a curated overview of your most important content.
- There is no evidence that ChatGPT, Perplexity or Gemini mention you more often because of an llms.txt. No provider confirms using other websites' files for answers, and Google's own documentation says it needs them neither for Search nor for AI Overviews.
- The proven benefit is for coding agents and browser agents. For AI answers, what matters first is that the bots of AI search engines are allowed to fetch your pages.
What is llms.txt?
llms.txt is a text file in Markdown format at /llms.txt. It summarizes what a website is about and links to the pages a language model or AI agent should know. Jeremy Howard proposed it in September 2024. The description is on llmstxt.org. The current version 2 dates from 10 August 2026.
The proposal addresses a practical problem. HTML pages contain navigation, scripts and ads, and a model has limited room in its context. A short overview in Markdown is meant to do the selection for it.
What does the file not control?
llms.txt does not control access. Which bots may fetch your pages is still set in robots.txt. That is also where you opt out of AI model training, for example with dedicated rules for GPTBot.
Structure and example
The specification defines a fixed order. Only the first line, with the name of the website as a heading, is required.
| Element | Required | Purpose |
|---|---|---|
| # Name | yes | Name of the website or project |
| > Blockquote | no | Summary in one or two sentences |
| Free text | no | Notes that apply to all links |
| ## Sections with links | no | Links in the format [Name](URL): note |
| ## Optional | no | Secondary content an agent may skip when space is short |
This is what an llms.txt for a fictional shop looks like.
llms-full.txt and Markdown versions
Many generators and documentation platforms also create an llms-full.txt. It contains the complete content in a single file. It does not appear in the specification. Instead, the specification recommends Markdown versions of individual pages at the same URL, with .md appended or replacing the extension.
Files in subdirectories
Since version 2, an llms.txt may also sit in a subdirectory, for example at /docs/llms.txt for the /docs/ section. If there are several, the most specific one applies. Chrome Lighthouse, however, only checks the file in the root of the domain.
Who reads llms.txt?
Whether the file achieves anything depends on who fetches and uses it. The table shows the public statements as of 15 October 2026.
| Who | What is known |
|---|---|
| Google Search, AI Overviews, AI Mode | According to Google, AI text files such as llms.txt are not needed, neither for Search nor for the AI features (as of 10 July 2026 and 10 December 2025). |
| Chrome Lighthouse | Checks in the experimental “Agentic Browsing” category whether there is an llms.txt in the root (as of 5 May 2026). |
| OpenAI (ChatGPT) | Publishes an llms.txt for its own developer docs. OpenAI does not say that ChatGPT uses other sites' files for answers. Bot access is governed by robots.txt. |
| Anthropic | Publishes an llms.txt for its own docs. There is no statement about other sites' files. |
| Perplexity | Publishes an llms.txt for its own docs. There is no statement about other sites' files. |
| CMS and platforms | Yoast SEO, AIOSEO, Mintlify, GitBook and Wix generate the file automatically. |
Publishing your own file is not the same as evaluating other websites' files.
What do studies measure?
In May 2026, Ahrefs analyzed around 137,000 domains with traffic. 28% had an llms.txt, and 97% of these files were not fetched a single time during the whole month. Among AI bots, GPTBot fetched the files most often, followed by Claude Code. A fetch does not show, however, whether the content feeds into answers.
In September 2026, Rankability found a valid llms.txt on 9.3% of the 1,000 most visited domains. The figures differ widely because the studies count different domains and check with different strictness.
Will an llms.txt get you mentioned more often in AI answers?
That is the hope behind most of these files. So far there is no evidence for it. OpenAI, Anthropic, Perplexity and Google do not say that they evaluate other websites' llms.txt for their answers. Google states explicitly that no such file is needed for AI Overviews and AI Mode.
The access figures point the same way. In the Ahrefs study, only 1.1% of llms.txt fetches came from bots that retrieve content for live answers. Overall, 96% of fetches came from bots, most of them with no recognizable link to AI answers.
- The bots of AI search engines are allowed to fetch your pages. OpenAI names OAI-SearchBot for this, so that pages can appear in ChatGPT search results.
- Your content is reachable without obstacles, meaning no login, no blocking by bot protection and a clean status code.
- You measure whether and how AI answers mention you, instead of inferring it from files.
llms.txt, robots.txt and XML sitemap
| llms.txt | robots.txt | XML sitemap | |
|---|---|---|---|
| Purpose | Overview of the most important content for AI systems | Rules on which bots may fetch what | List of URLs that should be crawled |
| Format | Markdown | Text with directives | XML |
| Standard | Proposal on llmstxt.org | RFC 9309 since 2022 | Protocol on sitemaps.org |
| Who reads it | Coding agents, Chrome Lighthouse | Crawlers that follow RFC 9309 | Search engines |
Do you need an llms.txt?
- you have developer docs or an API that people work with through coding agents.
- your CMS generates the file with no effort.
- you want to make things easier for browser agents and test with Lighthouse.
- you are hoping for more mentions in ChatGPT, Perplexity or Gemini.
- you expect better rankings on Google.
- nobody maintains the file when pages or URLs change.
Create and check an llms.txt
- Decide which pages a model should know, such as products, docs, pricing and contact.
- Write the file in Markdown following the structure above and save it as /llms.txt in the root.
- Check that /llms.txt is served as text with status 200.
- Open every link once. All of them should return status 200 and must not be blocked for AI bots in robots.txt.
- Test the page with Chrome Lighthouse in the “Agentic Browsing” category.
- Decide who updates the file when the structure or URLs change.
Common mistakes
- /llms.txt returns HTML because the CMS serves an error page or the homepage.
- A catch-all rule returns status 200 even though no file exists.
- Links point to redirects, deleted pages or URLs that robots.txt blocks for AI bots.
- After a relaunch, the file still points to the old URLs.
FAQ
Will an llms.txt get me mentioned more often in ChatGPT?
There is no evidence for that. OpenAI does not confirm that ChatGPT uses other websites' llms.txt for answers. For your pages to appear in ChatGPT search results, OAI-SearchBot must be allowed to fetch them.
Does an llms.txt help with Google, AI Overviews or AI Mode?
No. Google states that it needs AI text files such as llms.txt neither for Search nor for its AI features (as of July 10, 2026).
Does ChatGPT read my llms.txt?
OpenAI does not confirm this. According to Ahrefs, GPTBot does fetch llms.txt files. A fetch does not show, however, whether the content feeds into answers.
What is the difference between llms.txt and llms-full.txt?
llms.txt is an overview with links. llms-full.txt contains the complete content in a single file. It is a convention of generators and documentation platforms and is not part of the specification.
Can I opt out of AI training with llms.txt?
No. You control that in robots.txt, for example with dedicated rules for GPTBot or Google-Extended.
How do I create an llms.txt?
Many CMS and documentation platforms generate it automatically, such as Yoast SEO, AIOSEO, Mintlify, GitBook and Wix. If you want to choose the content yourself, write it by hand following the structure above.
Sources
Retrieved on October 15, 2026. If something is out of date or missing, let us know.
- llmstxt.org, specification (version 2, Aug 10, 2026): https://llmstxt.org/
- Google Search Central, guidance on generative AI features: https://developers.google.com/search/docs/fundamentals/ai-optimization-guide · As of Jul 10, 2026
- Google Search Central, AI features and your website: https://developers.google.com/search/docs/appearance/ai-features · As of Dec 10, 2025
- Chrome for Developers, Lighthouse Agentic Browsing: https://developer.chrome.com/docs/lighthouse/agentic-browsing · As of May 5, 2026
- OpenAI, crawlers: https://developers.openai.com/api/docs/bots
- OpenAI, llms.txt of the docs: https://developers.openai.com/llms.txt
- Anthropic, llms.txt of the docs: https://docs.claude.com/llms.txt
- Perplexity, llms.txt of the docs: https://docs.perplexity.ai/llms.txt
- Ahrefs, llms.txt study: https://ahrefs.com/blog/llmstxt-study/ · Jun 15, 2026
- Rankability, llms.txt adoption: https://www.rankability.com/data/llms-txt-adoption/ · Scan Sep 18, 2026
- RFC 9309, Robots Exclusion Protocol: https://www.rfc-editor.org/rfc/rfc9309 · 2022
- sitemaps.org, protocol: https://www.sitemaps.org/protocol.html