llms.txt Explained: How to Make Your Website Readable for LLMs
llms.txt is a plain Markdown file placed at the root of your domain (yoursite.com/llms.txt) that gives large language models a short, curated summary of your site and links to its most useful pages. It does not block or allow anything, unlike robots.txt; it is a reading guide. It is cheap to create, but as of late 2026 it is a proposed convention rather than a guaranteed ranking or citation signal.
This guide explains where the idea came from, the expected format, a worked structure you can adapt, how it differs from robots.txt and sitemaps, and the honest limits. If you want the broader strategy around AI visibility, read our guide to generative engine optimization alongside this one.
What problem does llms.txt try to solve?
Modern web pages are noisy for a machine reader. Navigation menus, cookie banners, client-side rendering, carousels and tracking scripts surround the few paragraphs that actually explain what you do. A language model fetching your page at answer time has a limited context window and limited patience, so it may miss the important part or quote the wrong page.
The llms.txt proposal, published in 2024, suggests a simple fix: give models one predictable file that says, in clean Markdown, who you are and where the canonical explanations live. Think of it as the page you would hand a new colleague on their first day, not a full index of everything you have ever published.
What does the llms.txt format look like?
The proposed format is deliberately minimal and human-readable. A typical file follows a fixed order, and every link should point to a page that makes sense on its own when read without your site's navigation.
- An H1 line with the name of the site or product.
- A short blockquote summary: one or two sentences describing what the organization does and for whom.
- Optional plain paragraphs with important context, such as service area, languages or what you do not offer.
- H2 sections (for example Services, Pricing, Guides, Policies), each containing a Markdown list of links with a one-line description after each link.
- An optional section literally named Optional for secondary material a model can skip when context is tight.
How do llms.txt, llms-full.txt, robots.txt and sitemaps differ?
These files are complementary and often confused. Getting the roles right avoids a common mistake: assuming llms.txt controls access. It does not. If you want to allow or restrict AI crawlers, that still happens in robots.txt and, where relevant, at server or CDN level.
- robots.txt: access rules for crawlers by user agent. Controls what may be fetched, not what is understood.
- XML sitemap: a complete list of indexable URLs for search engines, optimized for discovery, not explanation.
- llms.txt: a short, curated, annotated reading list for language models, written in Markdown.
- llms-full.txt: an optional companion that inlines the full text of key pages in one file, useful for documentation-heavy products.
- Markdown page versions: some sites also serve a .md variant of important pages so models can read clean text.
Want an expert opinion on your product?
Talk to a UX expert or AI Code Engineer — 30 minutes, free, no obligation.
Book a call for freeWhat should go into your llms.txt?
Curate ruthlessly. A model that reads ten excellent links will represent you better than one that skims two hundred. As a rule of thumb, aim for the pages a sales or support person would send most often: what you offer, what it costs, how it works, who is behind it and how to get in touch.
Write the one-line descriptions as factual claims you would be happy to see quoted, because that is exactly what may happen. Avoid superlatives you cannot back up. For a service business, a clear statement of scope, delivery time and pricing model usually matters more than marketing copy.
- Core service or product pages, each with a factual one-line description.
- Pricing page, if prices are public.
- About page with company facts, location and certifications.
- Your best evergreen guides, not every blog post.
- Contact or booking page, so assistants can route users to a real next step.
- Policies that answer common questions: privacy, refunds, data handling.
Does llms.txt actually improve AI visibility?
Be realistic. As of late 2026, adoption by AI search products is uneven and public commitments from the large providers are limited; some have indicated they do not rely on it. Check current statements before you promise stakeholders anything. Its most reliable use today is in developer tooling and coding agents, where documentation sites benefit when an agent can pull a clean summary.
That said, the cost is a few hours of work, and the exercise itself is valuable. Writing llms.txt forces you to decide which pages are canonical, to fix pages that only make sense with surrounding navigation, and to state your offer in plain sentences. Those improvements help human visitors, classic search and AI answer engines alike. Pair it with solid structured data and server-rendered content rather than treating it as a shortcut.
How to publish and maintain llms.txt
Stale information is worse than none. An llms.txt that still lists a discontinued service will be quoted confidently by any model that reads it, and users will arrive with the wrong expectations.
- Draft the file in Markdown and have a non-marketing colleague read it: does it describe the business accurately in under a minute?
- Check that every linked page renders its main content without JavaScript, because many AI fetchers do not execute scripts.
- Upload to the domain root and serve it as plain text or Markdown with a 200 status code.
- Do not block the file in robots.txt for the crawlers you want to reach.
- Add a review date to your content calendar; update the file whenever pricing, services or key URLs change.
- Monitor server logs for requests to /llms.txt to see which agents actually fetch it.
Frequently asked questions
Is llms.txt an official standard?
No. It is a community proposal from 2024, not a W3C or IETF standard. Support varies by tool and provider, so check current documentation from the AI products you care about before relying on it.
Will llms.txt stop AI companies from training on my content?
No. llms.txt does not grant or deny permission. Use robots.txt rules for specific AI user agents, plus contractual or technical measures, if you want to restrict crawling or training.
Do I need llms-full.txt as well?
Usually only if you run documentation or a knowledge base that developers and coding agents consume. For a typical marketing site, a well-curated llms.txt plus clean, server-rendered pages is enough.
Can a UX review help with AI readability?
Yes. Many of the issues that confuse language models, such as vague page purposes, content hidden behind interactions or unclear pricing, also confuse people. A UX audit surfaces both kinds of problems in one pass.
Book a call for free
From UX audits and Agentic UX reviews to AI development, agentic coding workshops and publishing your AI-built app on the App Store and Google Play — we help you ship. 24/7 call support in English and German.