llms.txt in 2026: what it does, what it doesn't, and whether you need one
llms.txt is cheap to publish and useful to agents doing tasks, but it won't move your rankings or your AI citations.
Guides
By Stefan Maritz6 min read
TL;DR
- llms.txt is a Markdown file that gives AI agents a short map of your site. It sits at /llms.txt, needs only an H1 with the site name, and links to clean versions of your key pages.
- Google Search ignores it. Creating one will neither harm nor help your visibility in Google Search, including AI Overviews and AI Mode.
- It shows no link to AI citations. Across nearly 300,000 domains, having an llms.txt made no difference to how often AI models cited a site.
- Its real users are agents doing tasks. Coding agents and documentation tools read it most, which is why OpenAI, Anthropic, and Gemini publish one for their developer docs.
- Publish one if it costs you ten minutes, then forget it. Generate it from your CMS so it never goes stale, and spend the real effort on pages worth citing.
llms.txt is a welcome mat for robots that mostly climb in through the window. The idea is sound, the file is cheap, and the big crawlers still read your HTML like everyone else. Yet it keeps turning up on SEO roadmaps, where it doesn't belong.
This guide covers what the file is, what the evidence says about search and citations, who reads it, and how to write one in a few minutes if you decide it's worth having.
What is llms.txt?
llms.txt is a proposed standard: a Markdown file at the root of a website, or at any path within it, that gives language models a short overview and a list of links to read next. The spec is now on version 2, after two years in which thousands of sites published a file and documentation platforms started generating one automatically.
The format is strict and small. An H1 with the site name is the only required part, followed by an optional blockquote summary, optional notes, and H2 sections that list links with a short description each. A section titled "Optional" holds links an agent can skip when it is short on context. Here is a trimmed version of the file we publish at theainativemarketer.com/llms.txt:
# AI Native Marketing
> Insights, a weekly AI news roundup, a verified agent skills index, and a free site template every day, for marketers who build with AI.
## Sections
- [News](/news): the weekly roundup plus a live wire from 15 AI news sources
- [Skills index](/insights/agent-skills-for-marketers): 327 verified agent skills with install commands
Does llms.txt help SEO or AI citations?
No, on every piece of evidence available in 2026. Google lists llms.txt under things you can ignore, because Google Search does not use special machine-readable files or AI text files, and creating one will neither harm nor help your rankings.
The citation data agrees. Only 10.13% of nearly 300,000 domains had an llms.txt file, and removing the file from a model predicting AI citations made the model more accurate. Adoption barely moves with traffic, so the file isn't a habit of the winners either.
Share of domains with an llms.txt file, by monthly traffic
Google's John Mueller put it bluntly in June: the file "has existed for years, yet none of the AI systems use it", and any benefit is "purely speculative for now". If you want to be cited, the work sits in the AEO checklist and in how you run SEO, AEO, and GEO as one programme.
Who uses llms.txt?
Agents that already have a task on your site use it, mostly in software documentation. A coding agent that needs an API reference can read the file, follow one link, and skip the navigation, scripts, and cookie banners around the content. The spec names software documentation as the heaviest use, with coding agents following the files to API references and tutorials.
Chrome's Lighthouse checks for the file in its agentic browsing audits, and it marks a missing file as not applicable, because providing one is optional. It only flags a server error when it tries to fetch the file.
| Who | Reads llms.txt? | What it changes for you |
|---|---|---|
| Google Search | No | Nothing, rankings are unaffected |
| AI Overviews and AI Mode | No | Nothing, they use Google's index |
| ChatGPT, Perplexity, and other assistants | No public commitment | No measured effect on citations |
| Coding agents and docs tools | Yes, the main use case | Faster, cleaner reads of your docs |
| Chrome Lighthouse | Checks it exists | An optional audit, never a penalty |
Should you create an llms.txt file?
Yes, if it takes ten minutes and updates itself, and no if it competes with real work for a slot on the roadmap. A product with docs, an API, or detailed policies gets the most out of it, because agents doing tasks for your customers need that information fast.
Several platforms generate the file for you, including Mintlify, GitBook, Yoast SEO, and Wix. Ours is built from the same content files as the site, so every new insight land in it on publish. If you are planning a rebuild, fold it into your AI-native website migration and don't treat it as a project of its own.
How to write an llms.txt file
Write it like a good table of contents for a busy colleague. These steps take a small team one sitting.
- Start with an H1 and a one-line summary. Name the site, then add a blockquote that says what you do and who for, in plain words.
- Group your key pages under H2 sections. Docs, products, pricing pages, and policies, each link followed by a colon and one line on what it covers.
- Point to clean versions where you have them. The spec suggests a Markdown copy of each page at the same URL with .md added, so agents skip the HTML.
- Put the nice-to-have links under "Optional". Agents with a tight context window drop that section first.
- Generate it from your CMS. A hand-written file goes stale the week you forget it, and a stale map is worse than none.
- Test it with an agent. Give an assistant only your llms.txt and ask it three questions about your product, as the spec recommends. Fix whatever it gets wrong.
- Check that you don't block agents. Mueller calls "don't block agents" the most basic agentic optimisation, and the biggest hurdle for most sites. An open robots.txt does more than any text file.
If your team already writes agent skills, the habit carries over: short, specific, and written for a reader that has a job to do.
Frequently asked questions
What is llms.txt?
llms.txt is a proposed standard Markdown file, placed at /llms.txt, that gives AI agents a short summary of a website and a list of key links to read. It is mostly used for software documentation.
Does Google use llms.txt?
No. Google Search ignores llms.txt files, including for AI Overviews and AI Mode, and creating one neither helps nor harms your rankings.
Does llms.txt help you get cited by ChatGPT?
There is no evidence it does. Across nearly 300,000 domains, having the file made no difference to how often AI models cited a site.
Where do I put an llms.txt file?
Put it at the root of your site, for example example.com/llms.txt. You can also place one at a subpath such as /docs/llms.txt to cover only the pages under that path.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may access, while llms.txt is a curated reading list an agent uses on demand when it needs information about your site.
More insights
Claude Code vs Codex for marketing teams in 2026: a docs-based comparison
Claude Code and Codex both edit a repository, run commands, and open pull requests. This comparison, built from each tool's docs, shows where they differ for a marketing team and how to keep your rules portable.
Reviews · 7 min
Claude Cowork vs Claude Code for marketers: which one to use in 2026
Claude Cowork and Claude Code share one agent engine and do different jobs. This docs-based comparison shows which one a marketing team should open for reports, decks, websites, and scheduled work.
Reviews · 7 min
Best AI website builder for marketing sites in 2026
Wix, Framer, Webflow, Lovable, v0, and Claude Code compared on what a marketing team keeps after launch: code, SEO output, and agent editing. Built from each tool's own docs.
AI-native websites · 7 min