What is llms.txt? Explained, with an example
By Philipp Kant 4 min read
llms.txt is a Markdown text file that explains to language models and AI
agents, in short form, what a website is about and which pages matter. It
usually lives at /llms.txt, for example https://example.com/llms.txt.
Jeremy Howard of Answer.AI proposed it in September 2024; the second
version came out in August 2026.
The idea: a website is built for people, with navigation, ads, and scripts. A model that has seconds to understand what the site is about is better served by a short, clean overview.
How an llms.txt is structured
The file follows a fixed order:
| Part | Required | Content |
|---|---|---|
| H1 heading | Yes, the only required part | Name of the site or project |
| Blockquote | No | A short summary in one or two sentences |
| Text | No | Further notes, without headings |
| H2 sections | No | Lists of links, each with a short description |
| “Optional” section | No | Less important links an agent may skip |
An example for a fictional company:
# Example Valves Ltd
> Manufacturer of ball valves and fittings for drinking water and heating,
> based in Exampletown. Sells to wholesalers in Germany and Austria.
## Products
- [Ball valves](https://example.com/ball-valves/): brass, DN15 to DN50, PN 40
- [Data sheets](https://example.com/downloads/): technical data as PDF
## Company
- [About us](https://example.com/about/): history, certificates, location
- [Contact](https://example.com/contact/): sales and service
## Optional
- [Press](https://example.com/press/)
What version 2 changes
The second version from August 2026 brings three changes:
- Subfolders too: the file may live under any path and then covers the pages below it. If there are several, an agent uses the most specific.
- Markdown versions of pages: pages should offer a clean Markdown
version at the same address with
.mdappended. - Discoverability: pages point to the llms.txt with
rel="describedby"and to their Markdown version withrel="alternate" type="text/markdown", as an HTML link or in the HTTP header.
Does Google use llms.txt?
No. Google added to its guide on optimizing for AI features in June 2026: Google Search ignores llms.txt files, but it is completely fine to create them for other services. So there is no ranking benefit on Google, and no penalty either.
Adoption is still low: in our check of the 1,000 most-linked German websites, 5.9 percent had an llms.txt, see AI visibility of German websites. Whether ChatGPT, Perplexity, or Claude read the file when answering is not documented. It is used where agents fetch documentation on purpose, such as when coding, and by checking tools: Lighthouse’s agentic browsing category in Chrome checks whether an llms.txt exists.
Is an llms.txt worth it?
| Website | Worth it? |
|---|---|
| Documentation, developer portal, API | Yes, agents use it when coding |
| Company website with services and products | Yes, as cheap insurance, an hour of work |
| Shop with thousands of products | For categories and core pages, not every product |
| Expectation: more visibility on Google | No, Google ignores it |
Other things do more for visibility in AI answers: that AI crawlers are allowed to read your pages at all, that content is in the HTML without JavaScript, and that it is clear who you are. Why that matters is in can AI crawlers read JavaScript? and how many sites block AI crawlers.
How to create an llms.txt
- Pick core pages: services, products, about, contact, the most important guides. Not everything, just what a stranger needs to know first.
- Write the summary: one or two sentences on what you do, for whom, and where. Concrete, no marketing speak.
- Create the file: as
llms.txtin the root, in the format above. Some WordPress SEO plugins generate it automatically. - Check it: is the file reachable, served as text, and not blocked by robots.txt or a firewall?
Whether your llms.txt is found, and whether AI crawlers may read your site at all, is checked by the free AI crawler check. Whether AI agents can operate your pages is shown by the AI agent readiness check.
FAQ
Is llms.txt a standard? No, a proposal that many sites implement. No body makes it binding.
What is the difference from robots.txt? robots.txt tells crawlers what they may read. llms.txt tells models what matters. One governs access, the other helps understanding.
What is llms-full.txt? A common addition that holds the full content of the important pages in one file instead of only links. The proposal’s second version relies on Markdown versions of individual pages instead.
Does an llms.txt hurt my rankings? No. Google ignores it for search and says explicitly that creating one is fine.
Ask an AI about this post