What Is llms.txt and Should Your Website Have One?

A plain-English look at the proposed llms.txt file: what goes in it, who actually reads it, and when it's worth adding to your site.

All articles

What Is llms.txt?

llms.txt is a markdown file you place at the root of your website, at /llms.txt, that gives large language models a short summary of your site and links to its most useful pages. Jeremy Howard of Answer.AI proposed it in September 2024 as a way to offer AI models clean, readable content instead of cluttered HTML.

It's a reading guide, not a rulebook. llms.txt contains no instructions or permissions, so it can't tell AI systems what to do with your content.

Should you have one? It's cheap to add, but no major AI search platform has committed to reading it. Whether it's worth your time depends on who visits your site.

How an llms.txt File Is Structured

An llms.txt file is ordinary markdown served as plain text at /llms.txt. You could write one in any text editor in a few minutes. It contains three things: the name of your site, a short summary of what it offers, and grouped lists of links to the pages that matter most, each with a one-line note. Because it's plain markdown, a person can skim it and a model can load it into its context without stripping out menus, scripts or ads.

The Required and Optional Parts

The llmstxt.org specification requires exactly one element: an H1 with the name of the site or project. Everything else is convention, meant to help a model decide what to read first:

# Example Co
> Invoicing software for freelancers.

## Docs
- [Quick start](https://example.com/start.md): setup in five steps
- [API reference](https://example.com/api.md): endpoints and auth

What Changed in Version 2

In August 2026 the spec moved to version 2, revised after two years of real-world use. The changes matter if you're publishing one now:

llms.txt vs robots.txt vs sitemap.xml

Three files can sit at your domain root, and they do three different jobs. Only one of them tells crawlers what they may do, and only one is an official internet standard. Only llms.txt is written for a model to read rather than a crawler to follow.

Filerobots.txtsitemap.xmlllms.txt
JobCrawl permissionsURL discoveryCurated summary and links
FormatPlain-text rulesXMLMarkdown
StatusIETF standardJoint search-engine protocolCommunity proposal

You can check the first one with a free AI robots.txt checker.

What Each File Actually Does

robots.txt tells crawlers where they may go. Even that is a request: RFC 9309 states that its rules are not a form of access authorization.

sitemap.xml lists URLs so search engines can discover them. It aims for completeness, not judgement.

llms.txt does neither. It holds no directives and doesn't try to list everything. It's an editor's shortlist: here is what this site is, and here are the pages worth reading first.

How Their Adoption Curves Compare

Publishing is growing fast anyway: Originality.ai counted 4,088 files in June 2025 and 36,120 by May 2026. The 10-site AI visibility study found most sites still lack one.

Which AI Platforms Actually Read llms.txt?

Publishing an llms.txt file and reading other sites' files are different things. Several AI companies publish one for their own developer documentation, including OpenAI at developers.openai.com/llms.txt. That tells you they find the format useful for their docs, not that their crawlers look for yours.

No major AI search platform has said it reads site owners' llms.txt files when answering questions. What drives AI citations is covered in how to get cited by ChatGPT; llms.txt isn't on that list.

What Google and the AI Companies Say

What Server Logs and Citation Studies Show

Three independent studies point the same way:

Where the file does get read, Ahrefs found, it's mostly by coding agents reading developer docs.

How to Create an llms.txt File

Creating the file takes less time than reading about it. On a small site, write it by hand. On a large site or a documentation platform, let your CMS generate it and then edit the result.

Either way, treat it as an editorial summary rather than an export of your sitemap. A model reading it should come away knowing what you do and which few pages answer the questions people ask about you. Keep it consistent with robots.txt, too: don't list pages you block.

Write the File

  1. Start with an H1 containing your site or product name.
  2. Add a one-sentence blockquote saying what the site is and who it serves.
  3. Group your most useful pages under a few H2 headings, such as Docs, Guides or Pricing, with a one-line note after each link.
  4. Link to canonical, indexable URLs only.
  5. Keep it short. Pick the pages you'd want an AI to quote, not every page in your sitemap.

Publish It and Check It

  1. Upload the file to your domain root so it loads at /llms.txt as plain text.
  2. On WordPress, Yoast SEO can generate it and refresh it weekly. Documentation platforms such as Mintlify host one automatically.
  3. Make sure robots.txt doesn't block the file.
  4. Update it when key pages change.

AEO Tester checks for llms.txt alongside 25 other AI visibility signals: whether the file exists, whether robots.txt blocks it, and whether it follows the spec format.

llms.txt FAQ

These are the questions that come up most once teams decide to try llms.txt: whether they have to, whether it protects their content, and what the companion llms-full.txt file is for. Each answer stands on its own, so you can jump straight to the one you need.

Is llms.txt mandatory?

No. No search engine or AI platform requires it. Google says Search ignores AI text files, so adding one neither helps nor harms your rankings, and Lighthouse treats a missing file as Not Applicable rather than a failure. Nothing on your site breaks without it. Treat it as an optional extra for readers that choose to look for it, mainly coding agents today.

Does llms.txt stop AI companies from training on my content?

No. llms.txt contains no directives, so it can't block anything. If anything, it makes your key pages easier to find. Listing a page there doesn't grant or deny access; robots.txt and your server rules still decide who can fetch it. Training opt-outs live in robots.txt, using each company's crawler name, for example:

User-agent: GPTBot
Disallow: /

Check other AI companies' crawler documentation for their user-agent names.

What is llms-full.txt?

llms-full.txt is a companion file that bundles a site's full content, usually documentation, into one large markdown file, so an agent can load everything at once. It's a convention popularized by documentation platforms such as Mintlify and GitBook, not part of the llmstxt.org specification. Version 2 of the spec leans on per-page markdown copies instead. It's mostly worth it for docs sites.

Should Your Website Have an llms.txt File?

It depends on who reads your site:

Either way, don't put it ahead of the work that does move AI visibility: open crawler access, clean structure and pages with clear answers. If a major AI platform commits to reading llms.txt, move it up your list. Until then, publish one if it's cheap for you, and put your effort into the pages themselves.

Check Your llms.txt in One Click

AEO Tester checks for llms.txt alongside 25 other AI visibility signals. Free Chrome extension.

Add to Chrome — It's Free