AnswerLion

llms.txt

What Is LLMS Txt: A Practical Guide for 2026

Curious about what is llms txt? Learn how the file is structured, how it differs from robots.txt and XML sitemaps, and whether your site should publish one.

Published · Updated · By AnswerLion

What Is LLMS Txt: A Practical Guide for 2026

llms.txt is a Markdown file at a website's root path that gives AI systems a concise summary of the business and links to its most useful pages. In a 2026 measurement of the top 10,000 websites, 5.61% of successfully crawled domains served a valid one, which places the file firmly in early-adopter territory.

Your team can name every page Google indexed last week. Can it tell you what ChatGPT says when a buyer asks who does what you do, in your city, at your price point? That gap is where most AI visibility budgets get spent badly, because a file that describes the business and a system that cites the business are two different things.

Marketing leaders keep getting sold llms.txt as a switch that turns on AI citations. It isn't a switch. It's a well-structured summary you control, and it's worth building for exactly that reason, provided you measure what changes after you publish it.

What llms.txt Is and Where It Lives

llms.txt is a Markdown file placed at a website's root path, usually /llms.txt, that gives AI systems a concise explanation of the site and links to its most useful content. The llms.txt proposal published by Jeremy Howard on September 3, 2024 defines it as a voluntary web convention rather than a ratified web standard, so any tool can support it, ignore it, or use part of it.

Think of your website as a large office building. robots.txt is the door policy that says who may enter. The XML sitemap is the full directory of every room, including the storage closets. llms.txt is the reception card: it tells a visitor what the company does and which three rooms to visit first.

Here's the concept in one picture.

A diagram explaining that llms.txt is a markdown file placed at a website's root to guide AI systems.

Why Markdown and not XML

Markdown reads cleanly for people and for language models, which is the whole point of choosing it over an XML-based machine file. An AI system trying to understand a normal web page spends effort filtering navigation menus, styling, scripts and repeated page elements before it reaches the substance. A short curated summary removes most of that work.

Large sites can also publish a file at a subpath such as /docs/llms.txt, so a documentation collection gets its own guidance instead of competing with the marketing pages.

Practical rule: treat the file as your answer-oriented description of the business, written once and maintained, not as a permission slip or a ranking lever.

The outcome you want is simple: you can state in one sentence what the file is, where it sits and why it exists, and your developer can find it in a browser without a login.

The Anatomy of an llms.txt File and How to Build One

Say Harbor Accounting is a fictional firm in Columbus, Ohio serving small manufacturers. Its file fits on one screen.

A sample file you can copy

Harbor Accounting, root file # Harbor Accounting > Harbor Accounting is an accounting firm in Columbus, Ohio serving small manufacturers. > The team handles tax planning, monthly bookkeeping and controller support for owner-operated plants. Use the service pages below for scope and deliverables. Use the contact page for current office details. ## Services - Tax planning: Quarterly estimates and year-end planning for manufacturers. - Bookkeeping: Monthly close, reconciliations and management reports. ## Contact - Contact: Office address, phone number and intake form.

Five parts, each with a job.

Element What it does Rule
H1 heading Names the site or project Required, one per file
Blockquote Summarizes what the business does and for whom One short summary, plain facts
Intro paragraph Explains how the links should be used Optional, no links
H2 section Groups related URLs by topic Optional, one per topic
Link bullet Pairs a URL with a one-line description Canonical URLs only

Seven steps that reproduce it

  1. Pick the pages that answer the buying question. Choose the 5 to 15 URLs that best explain what the firm sells and who it serves. Leave the blog archive out.
  2. Name the business exactly. Put the legal or brand name in the H1, spelled the way you want an assistant to repeat it.
  3. Write the blockquote as two or three plain sentences. What you do, for whom, and where. No positioning language, because a model can't verify a slogan.
  4. Group links under H2 headings and describe each as a fact. "Monthly close, reconciliations and management reports" beats "bookkeeping that scales with you."
  5. Use canonical URLs only. One URL per resource, no redirects, no tracking parameters, no duplicates across sections.
  6. Save and serve it correctly. Put the Markdown file at /llms.txt and serve it as plain text from the root so a request returns the file itself rather than an HTML error page.
  7. Validate it in the build pipeline. Confirm the H1, blockquote and H2 pattern, check that every link returns a live response, flag stale URLs, and strip anything addressed to the model instead of describing the business.

That last step matters more than it sounds. A Common Crawl content analysis of llms.txt files found that only 49.90% of sampled files followed the proposal's complete structural pattern of an H1, summary blockquote and H2 sections with link bullets, and that two-thirds were generated by plugins. Templates produce files that look right and say little, and some carry off-spec directives such as rate limits or citation demands that add noise and create prompt-injection exposure.

Read every generated line as if a customer would read it aloud. If a sentence instructs a model rather than describes your business, delete it.

Finish by checking each description against the page it links to, then record the review date somewhere your team will see it. A file nobody has opened since launch is a liability, not an asset.

llms.txt Compared with robots.txt and XML Sitemaps

All three files live at the root, all three help machines understand a site, and they do three different jobs. The confusion usually starts when someone assumes the newest file replaces the older two.

A comparison chart explaining the roles of robots.txt, XML sitemaps, and llms.txt files for search and AI.

File Primary purpose Read by Format Controls access
llms.txt Summarizes the site and points to its key pages AI assistants and agents Markdown No
robots.txt Sets which crawlers may request which paths Search and AI crawlers Plain text directives Yes
XML sitemap Lists indexable URLs with metadata Search engine crawlers XML No

Access control belongs to robots.txt. It decides whether a named crawler may request a path, and llms.txt can't override that decision. A page blocked in robots.txt stays unreadable even when your summary links to it, so audit the rules in your robots.txt file before you point anything at those pages.

Coverage is the sitemap's job. It lists every indexable URL so search engines can discover them. llms.txt lists only the handful of pages that explain the business best, which is why copying your sitemap into it defeats the purpose.

Audience and format differ. Crawlers parse robots.txt directives and XML sitemap entries. llms.txt is written in Markdown for language models and agents that choose to read it.

Crawler permissions are also more granular than many assume. A technical review of AI crawlers separates training bots from search bots, and each channel is permitted or blocked on its own:

  • OpenAI: GPTBot handles training, OAI-SearchBot handles search.
  • Anthropic: ClaudeBot is separate from Claude-SearchBot, and blocking Claude-SearchBot prevents Anthropic from indexing content for search optimization.
  • Google: Googlebot is separate from Google-Extended, which controls grounding in Gemini applications and Vertex AI.

This walkthrough shows where the three files sit in a live setup.

robots.txt is the gate, the sitemap is the index, llms.txt is the guide. Keep the gate open for the search crawlers whose citation channels matter to you, and keep the pages behind it server-rendered and readable.

Whether AI Assistants Actually Use llms.txt

A published file shows intent, not use. llms.txt is designed to give machines a concise business summary, but adoption figures do not establish that assistants read it or cite its contents. Publishing is inexpensive; evidence of a citation benefit remains thin.

The measurements below describe publishing activity, not assistant behavior. Read each figure alongside its sample rather than treating the table as a single adoption rate.

Source Sample Reported figure
HTTP Archive Web Almanac 2025 Desktop and mobile home pages, respectively 2.13% and 2.10%
Independent 2026 measurement Top 10,000, top 1,000, and top 100,000 websites, respectively 5.61%, 6.28%, and 5.17%
Margly.io's Semrush summary Domains reported with an llms.txt file, July 2025 951 domains

These are different samples and measures. A domain count and a percentage of home pages cannot be read as equivalent evidence, and neither measures citations.

The measurement gap

A review of llms.txt and AI crawlers reports that an Ahrefs analysis of 137,210 domains found files on about 28% of its technically advanced sample, while 97% of those files received no requests during the study month; it also describes a separate study of nearly 300,000 domains that found no detectable relationship between publishing the file and AI citations.

Even a fetch proves only retrieval. It does not establish that an assistant used the contents in an answer.

Treat the file as an inexpensive documentation layer with a measurable hypothesis: does making this summary available improve retrieval, citations, or accuracy? Keep the larger investment focused on your content strategy for LLM visibility, especially pages that answer a question directly and support the answer with specifics.

Measure before and after publication:

  • Server logs: check for verified requests to /llms.txt from named crawlers.
  • Citation rate: repeat the same fixed prompt set and record which businesses are named.
  • Agent accuracy: check whether technical agents answer documentation questions with fewer wrong turns.

Track these separately. A crawler request, a citation, and a correct answer represent different outcomes; improvement in one does not establish improvement in the others.

What to Include and How to Keep It Accurate

Governance decides whether this file helps you or misinforms a buyer six months from now. Five decisions settle it.

  • Ownership: name one person who edits the file and one who approves changes, usually the SEO lead and the product or operations owner.
  • Source of truth: generate it from a maintained CMS record or location database rather than hand edits that drift away from the site.
  • Stable versus volatile claims: keep founding year, service categories and service areas in the summary, and date or omit prices, promotions and seasonal hours.
  • Exclusions: leave out confidential material, user-specific data and anything regulated that shouldn't be restated outside its approved page.
  • Conflict resolution: when the file disagrees with rendered HTML, a directory listing or a Google Business Profile, the canonical page wins and the outside listing gets corrected.

A multi-location firm answers these differently from a software company. Say a services firm runs five offices: it links one hub page per location, keeps the address details on those pages, and removes a discontinued service line from the file the day the service ends. A SaaS company with versioned documentation publishes a separate file under a /docs/ path so an agent reading version-specific guidance doesn't pull last year's API behavior.

The file is an index and a summary, not an authority registry. It can't override robots.txt, access controls or the facts on the page itself.

Before you call it done, verify the destinations are live and consistent using the same discipline you'd apply to validating your XML sitemap. Then ask three AI assistants the questions the file answers and compare their wording with yours. Where they diverge, you've found the next fix, and it's usually on the page rather than in the file.

Decide Whether to Publish Your llms.txt Now

Publish now if your site has clear service pages and a maintained source for core facts. The file takes little time to produce and gives AI systems a stable description of the business you want repeated.

A woman at her desk organizing website content to create a clear summary for AI systems.

Sequence it after the crawler access check and the answer-first page work, so the path is open and the content is worth reading before the summary points at it.

Start with a baseline. Run the questions customers ask across ChatGPT, Google AI, Claude and Perplexity, record who gets named and how your business is described, then choose the first fixes from that record. Our audit does exactly this and returns a written report before any changes are made, and our Starter plan includes an llms.txt file plus Organization and FAQ schema markup.

Email hello@answerlion.com with your website and a few questions customers ask, and we'll tell you where the business stands and what we'd change first.


We're an answer engine optimization agency, and we build llms.txt as part of a full technical setup that also covers schema markup, a clean sitemap and crawler access for AI bots, so the summary points at pages that are ready to be read. Visit AnswerLion to see how the audit, fix and track process works, then send us your website and three customer questions so we can show you what the engines say today and which change we'd make first.

Related guides

Want this done for your business?

Request an AEO audit and we will run your customers' questions through every major AI engine.

Book a call
Book a discovery call
Open in a new tab