Definition
llms.txt is a Markdown text file, usually placed in a website’s root directory, that offers AI agents and large language models a short summary and links to the site’s most important content. It was proposed in 2024 and isn’t a web standard. Google Search doesn’t use it, and no effect on mentions in AI answers has been shown.
Key takeaways
- Google Search doesn’t use llms.txt. According to Google, the file neither harms nor helps visibility in Google Search.
- Almost all llms.txt files studied are never fetched, and AI providers’ search crawlers rarely request them.
- No effect on mentions or citations in AI answers has been shown. A large-scale analysis found no link.
- The file is used most for software documentation, which coding agents fetch on demand.
- An llms.txt file doesn’t control access. To block crawlers or opt out of AI training, you use robots.txt.
Where does llms.txt come from, and is it a standard?
Jeremy Howard of Answer.AI published the llms.txt proposal on September 3, 2024, and a revised version, v2, followed on August 10, 2026. The file is not a standard. The proposal describes itself as an informal overview that is open for community input.
The idea behind it: web pages are built for people. Navigation, ads and JavaScript make it hard for large language models (LLMs) to pull out the main text. And a whole website rarely fits into a model’s context window, the amount of text it can process at once. So a short overview in a fixed location is meant to take AI agents straight to the content that matters (proposal on llmstxt.org (external site)). AI agents are programs that fetch web pages and complete tasks on their own, on a person’s behalf.
Version 2 adopts what has become common practice (changes in v2 (external site)):
- An llms.txt file can also sit in a subdirectory and then covers the pages below it.
- Individual pages can get a Markdown version at the same URL with a
.mdextension. Markdown is a simple text format in which, for example,#marks a heading. - Agents find these files through link relations:
rel="alternate" type="text/markdown"points to the Markdown version of a page, andrel="describedby"to the llms.txt file that covers it.
For comparison, robots.txt has been an IETF standard since September 2022 (RFC 9309 (external site)). Separately, the IETF is working on a way to express preferences about how AI may use content, in its AI Preferences working group (external site). These preferences are to go into robots.txt and into HTTP headers, the information a server sends along with every response. That work, too, is still a draft, as of September 14, 2026 (external site). Our guide to generative engine optimization (GEO) explains how llms.txt fits into work on AI visibility.
What goes into an llms.txt file?
An llms.txt file starts with the website’s name as a heading. A short summary follows, then lists of links, each with a brief note. Only the heading is required. The other parts are optional but come in a fixed order.
The structure, as set out in the proposal on llmstxt.org (external site):
# Nameas the main heading, the only required part.> Summaryas a blockquote with the information needed to understand the rest of the file.- Free text without headings, for example a note on who your services are for.
- Sections with
## Heading, each followed by links in the pattern- [Name](URL): Note.
By convention, a section called ## Optional collects links that an agent can skip when space is tight. As of version 2, it no longer has any special technical meaning.
# Example GmbH
> Example GmbH from Anytown plans and installs solar power systems for businesses.
We only work with business customers in North Rhine-Westphalia, Germany.
## Services
- [Solar for businesses](https://example.com/solar/): Process, timeline and funding
- [Maintenance](https://example.com/maintenance/): What our maintenance contracts cover
## Company
- [About us](https://example.com/about/): Team and location
- [Contact](https://example.com/contact/): Inquiry form and address
## Optional
- [Guides](https://example.com/guides/): Articles on battery storage and grid connectionAccording to the proposal, the links should point to content that language models can read easily, such as Markdown versions. If your website doesn’t have any, link to pages whose full text is in the HTML. Our how-to explains why that matters in the step Are your services visible in the HTML?
Some websites, especially documentation sites, also offer an llms-full.txt file. It puts the site’s entire text into a single file. According to the documentation platform Mintlify, the format was developed in collaboration with Anthropic (Mintlify, updated Mar 14, 2026 (external site)). The proposal itself doesn’t mention it.
Who reads llms.txt, and who doesn’t?
According to Google, Google Search doesn’t use llms.txt. OpenAI, Anthropic, Perplexity and Microsoft don’t say in their guidance for site owners that they use it. The file is rarely fetched. Among the AI bots in an Ahrefs analysis, an OpenAI training crawler and the coding agent Claude Code fetched it most.
Google says explicitly that this also applies to the AI features in Search: AI Overviews and AI Mode. On June 15, 2026, Google added that it’s fine to maintain the file for other services. Doing so will “neither harm nor help” your visibility in Google Search (Google Search Central (external site)). So if Googlebot fetches your llms.txt, that doesn’t mean anything. Google crawls many kinds of files without treating them specially.
| Who | What’s publicly known | Sources |
|---|---|---|
| Google Search | doesn’t use the file, including for AI Overviews and AI Mode | 3, 4 |
| Chrome Lighthouse | checks, in the experimental Agentic Browsing category, whether the server delivers the file without errors; if the file is missing, the audit counts as not applicable | 5, 6 |
| OpenAI (ChatGPT) | lets site owners manage its crawlers with robots.txt rules; its crawler page doesn’t say whether they read llms.txt; publishes its own llms.txt for its developer documentation | 7, 11 |
| Anthropic (Claude) | honors robots.txt; its help page doesn’t say whether its crawlers read llms.txt; publishes its own llms.txt for its developer documentation | 8, 12 |
| Perplexity | lets site owners manage its crawlers with robots.txt rules; its crawler page doesn’t say whether they read llms.txt; publishes its own llms.txt for its developer documentation | 9, 14 |
| Microsoft (Bing, Copilot) | the Bing Webmaster Guidelines don’t mention the file; Copilot uses the same crawling and indexing foundation as Bing Search | 10 |
| Google (Gemini API) | publishes its own llms.txt for its developer documentation | 13 |
The numbers in the “Sources” column refer to the source list at the end of this article. So the AI providers do use the file themselves: as publishers of documentation for developers and their coding agents, which are AI tools that help with programming. The proposal also names this as the most common use. Lighthouse’s reasoning for its audit is that without the file, agents may spend more time crawling a site to understand it (Chrome for Developers (external site)). The category is experimental and, unlike the other Lighthouse categories, doesn’t give a score from 0 to 100. Instead, the report shows how many of the agentic readiness checks a site passes (Lighthouse scoring (external site)).
To find out who actually fetches the file, Ahrefs analyzed the server logs of 137,210 domains that use the company’s analytics tool. Of these, 28% had a valid llms.txt file, and 97% of those files weren’t fetched a single time in May 2026. For the remaining 3%, bots made 96% of the requests. AI bots of all kinds accounted for 19.5% of the requests, and the AI providers’ search crawlers for 1.1%. Where there was no file, not a single AI bot asked for one.
| Figure | Value |
|---|---|
| Domains analyzed | 137,210 |
| Domains with a valid llms.txt file | 28% |
| Files with no fetches at all | 97% |
| Requests to the remaining 3%, from bots | 96% |
| Requests to the remaining 3%, from AI bots of all kinds | 19.5% |
| Requests to the remaining 3%, from the AI providers’ search crawlers | 1.1% |
Source: Ahrefs (external site), · vendor study · 137,210 domains, server logs from May 2026
Ahrefs points out the limits itself: its customers are more tech-savvy than average, and a fetch doesn’t prove that a system actually uses the file.
Does llms.txt improve your visibility in AI answers?
No effect on mentions or citations in AI answers has been shown. An analysis of nearly 300,000 domains found no link, and AI providers’ search crawlers rarely fetch the file. It can help where agents fetch it on purpose, above all for software documentation.
SE Ranking checked nearly 300,000 domains to see whether having an llms.txt file is linked to how often a domain is cited in AI answers. Of these domains, 10.13% had one. Neither the statistical analysis nor a machine learning model showed an effect. Without the llms.txt variable, the model even predicted citations more accurately.
Source: SE Ranking (external site), · vendor study · nearly 300,000 domains
Both analyses come from SEO software vendors. They measure correlations and fetches, not causes.
It’s a different story for agents that read documentation on purpose. According to Ahrefs, AI tools fetch an llms.txt file when a link, an index or an instruction points to it. They don’t go looking for one on their own. For software vendors, the file can therefore point agents to tutorials and API references. For what matters more for visibility in AI answers as things stand, see the section What’s proven about GEO, and what isn’t? in our guide.
How is llms.txt different from robots.txt and a sitemap?
A robots.txt file sets out what crawlers may fetch. An XML sitemap lists the pages that search engines should crawl. An llms.txt file offers AI agents a small, annotated selection of content and neither allows nor blocks anything. So to control crawlers, you still need robots.txt.
Crawlers are programs that fetch websites automatically, for example to build a search index or to train AI models.
| Feature | robots.txt | XML sitemap | llms.txt |
|---|---|---|---|
| Purpose | rules on which areas crawlers may fetch | list of the pages search engines should crawl | selection of key content, with notes, for AI agents |
| Format | text file with rules per crawler | XML | Markdown |
| Status | IETF standard (RFC 9309) since 2022 | protocol from sitemaps.org, supported by Google and Microsoft, among others | proposal, v2 of Aug 10, 2026 |
| Who reads it | crawlers that follow the rules | search engines | some agents and tools; not Google Search |
| Scope | rules for paths, not a list of pages | all pages you want found | a selection small enough for a model’s context window |
| Blocks crawlers | yes, if the crawler follows the rules | no | no |
| Sources | 18 | 21 | 1, 3, 15 |
An llms.txt file replaces neither of the other two files, and it doesn’t override a block in robots.txt. You don’t need to list llms.txt in robots.txt or in your sitemap; the proposal doesn’t call for that. So the label “AI robots.txt” that you’ll see online is misleading.
Can you use llms.txt to opt out of AI training?
No. An llms.txt file contains no rules for crawlers. Your training preference goes in robots.txt. That’s the file the major AI providers follow, and it’s also where the shared control token against AI training from October 30, 2026, goes.
In the EU’s General-Purpose AI Code of Practice for the AI Act, signatories commit to using crawlers that follow robots.txt as specified in RFC 9309 (Code of Practice, Copyright chapter, Measure 1.3 (external site)). Signatories include OpenAI, Anthropic, Google and Microsoft (European Commission, as of Oct 7, 2026 (external site)). The code doesn’t mention llms.txt. The shared control token against AI training that OpenAI announced on October 30, 2026, also goes in robots.txt (OpenAI (external site)).
For the lines you need and what’s new since October 2026, see the section What does a rights reservation mean for AI training? in our article on AI crawlers and robots.txt. The first step of our ChatGPT how-to also shows the lines for individual training crawlers.
This is a technical assessment. If in doubt, a lawyer can tell you what applies in your case.
Should you create an llms.txt file?
Yes, if you offer software documentation or an API that developers work with through AI agents. That’s what the file is used for most. For a regular company website, it’s optional. A small, well-maintained file costs little and does no harm in Google Search, but no effect on AI visibility has been shown.
How to create an llms.txt file:
- Choose your pages: Include the pages that explain what you offer, such as services, process, price range and contact. Keep the file small so that a model can read it in one go.
- Create the file: Write the file as UTF-8 text following the template above, and put it in your root directory. Then open its URL in your browser. It must show the text file, not an error page that the server delivers with status 200 (“OK”). An llms.txt validator can also check the structure, but it won’t tell you whether anyone reads the file.
- Use tools, but check the result: Several SEO plugins for WordPress and some website builders generate the file at the click of a button or automatically (list in the proposal (external site)). Read through the result anyway, because a tool doesn’t know which pages matter to your customers.
- Treat it like code: Make every change traceable, link only to your own content and don’t write instructions for agents into the file. Language models process text from websites and files as input, and manipulated content can change their behavior. Experts call this indirect prompt injection (OWASP (external site)). Ahrefs has already found a research crawler called prompt-injection-survey among the fetchers.
- Keep it up to date: When your services or URLs change, update the file too. It’s easiest if your system generates it from the same data as your pages.
- Test it: Give an AI assistant only your llms.txt and ask it questions about what you offer. The proposal itself recommends this test.
If you want agents to find the file, point to it with rel="describedby" in your HTML head or in the HTTP Link header. If what you’re after is mentions in ChatGPT and other AI assistants, other steps matter more. Our how-to How to get your business recommended by ChatGPT takes you through them in order.
From our work: how is our own llms.txt built?
Our llms.txt is generated automatically from this website’s sitemap every time we publish. It lists the home page, the Services and Insights overviews, our guides and our methodology page, once those pages are online. Legal pages are never included. Each link text is a page’s short name, and the note after it is the page’s meta description. This is what the file looked like on November 9, 2026:
# Datafalke
> Datafalke aus Bottrop entwickelt Websites mit SEO und GEO, SaaS-Produkte und Verwaltungssoftware für Selbstständige, kleine Unternehmen und den Mittelstand. Anbieter: Mohammad Alboush – Alboush IT & Webdesign.
## Deutsch
- [Startseite](https://datafalke.de/): Datafalke aus Bottrop baut Websites mit SEO und GEO, SaaS und Verwaltungssoftware für KMU. Festpreis nach Analyse, Code bei Ihnen. Erstgespräch vereinbaren.
- [Leistungen](https://datafalke.de/leistungen/): Websites mit SEO und GEO, SaaS-Entwicklung und Verwaltungssoftware: Festpreis nach Analyse, fester Ansprechpartner je Leistung. Für Unternehmen in Deutschland.
- [Wissen](https://datafalke.de/wissen/): Leitfäden, Ratgeber und Kostenübersichten zu GEO, KI-Suche, Websites und Software für Unternehmen, mit Primärquellen, Datum und Angabe, was belegt ist.
- [Was ist GEO?](https://datafalke.de/wissen/generative-engine-optimization/): Was Generative Engine Optimization (GEO) ist, wie ChatGPT, Perplexity und Google Quellen auswählen und was belegt ist. Definition, Studien und Einstieg.
- [Was ist SaaS?](https://datafalke.de/wissen/saas/): SaaS (Software as a Service) einfach erklärt: Aufbau, Kosten, Hosting in der EU und der Weg vom MVP zum mandantenfähigen Produkt. Für Gründer und Mittelstand.
- [Technisches SEO](https://datafalke.de/wissen/technisches-seo/): Technisches SEO für Firmenwebsites: Crawling, Indexierung, Ladezeit, strukturierte Daten und Mehrsprachigkeit, mit der Prüfkette dieser Website als Beispiel.
- [Methode und Messprotokoll](https://datafalke.de/methode/): So werden wir Websites und KI-Sichtbarkeit messen: welche Fragen, welche Regeln. Bisher gibt es eine Labormessung der Technik; das Protokoll folgt.
## English
- [Home](https://datafalke.de/en/): Datafalke builds websites for Google and AI search, plus SaaS and business software. Fixed price after analysis, code in your accounts. Book an intro call.
- [Services](https://datafalke.de/en/services/): Websites with SEO and GEO, SaaS development and custom business software: a fixed price after analysis and one named contact per service. Based in Germany.
- [Insights](https://datafalke.de/en/insights/): Guides, how-tos and cost overviews on GEO, AI search, websites and software for businesses, with primary sources, dates and a clear note of what’s proven.
- [What is GEO?](https://datafalke.de/en/insights/generative-engine-optimization/): What generative engine optimization (GEO) is, how ChatGPT, Perplexity and Google pick their sources, and what the evidence shows. Definition and first steps.
- [What is SaaS?](https://datafalke.de/en/insights/saas/): SaaS (software as a service) explained: how it works, what it costs, EU hosting and the path from MVP to a multi-tenant product. For founders and SMEs.
- [Technical SEO](https://datafalke.de/en/insights/technical-seo/): Technical SEO for business websites: crawling, indexing, page speed, structured data and multilingual setup, using this site’s own test pipeline as the example.
- [Methodology](https://datafalke.de/en/methodology/): How we’ll measure websites and AI visibility: which questions, which rules. So far there’s one lab measurement of our technology; the log will follow.We deliberately leave a few things out. No page links to the file, not even this one. We don’t offer Markdown versions of our pages yet; their text is in the HTML, without JavaScript. Our robots.txt allows all crawlers. And we don’t count the file as a tactic for AI visibility.
Every month, we’ll count who fetches the file, by type of fetcher: search engine, AI search, user-initiated fetch, training, SEO tool. To do this, we’ll analyze the logs of our CDN, the network that delivers our pages, without IP addresses. Because user agents can be faked, we’ll report a fetch only if it comes from a network that matches the provider’s published addresses. We’ll report the first numbers here once there’s a measurement log.
To check this on your own site, ask your hosting provider for your website’s access log. If it’s in the “combined” format, this terminal command for Linux or macOS counts which programs have fetched your llms.txt:
grep '"GET /llms.txt ' access.log | awk -F'"' '{print $6}' | sort | uniq -c | sort -rnThe output shows each fetcher’s user agent and how many requests it made. A fetch only proves that the file was retrieved, not that a system uses it. Our article What is RAG? explains how AI systems use retrieved text before they answer.