llms.txt: what it is, what it doesn't do, and when to use it

llms.txt is a proposed convention, not an AEO requirement. Google Search ignores it and there is no evidence it improves AI citations. What it is, when it may help, and how to validate it.

Status: unproven. llms.txt is a proposed convention for giving language models a short, curated map of a site. There is no controlled evidence that adding one improves AI citations, rankings, or traffic. Google Search says it ignores the file. Treat it as optional agent-facing documentation, not as an AEO requirement.

That is the short answer. The rest of this page explains what the file is, what it does not do, when it may still be worth maintaining, and how to validate it. The full evidence review is in the llms.txt evidence guide.

What is llms.txt?

llms.txt is a plain-text or Markdown file served at a site's root (for example, https://example.com/llms.txt). It gives a short summary of the site and links to the pages that a language model or agent should treat as the canonical starting points. The proposal is documented at llmstxt.org.

A minimal file looks like this:

# Example Company

> One-line summary of what this site provides.

## Documentation
- [Getting started](https://example.com/docs/getting-started): install and first run.
- [API reference](https://example.com/docs/api): endpoints, auth and limits.

## Optional
- [About](https://example.com/about): who publishes the site.

The format is intentionally simple: an H1 with the site or project name, a blockquote summary, and H2 sections with links. There is no required schema, no special header, and no enforcement mechanism.

What llms.txt is not

llms.txt is not robots.txt, not a sitemap, and not a ranking or citation lever. It does not grant crawler permissions, it does not replace crawlable HTML, and it does not make a page eligible for AI features.

What the evidence says

Two facts matter more than the marketing around the file. First, Google Search does not use it: Google's AI optimization guide says you do not need new machine-readable files or AI text files to appear in Google Search, including its generative AI features, and that Google Search ignores llms.txt. Second, the largest published log study found that the overwhelming majority of llms.txt files received no requests at all, and the requests that did happen were mostly from tools that study or validate the file rather than AI search systems.

Google's statement: Optimizing your website for generative AI features on Google Search. The evidence review, with links and caveats, is in the llms.txt evidence guide. Our maintained rule: do not rely on llms.txt or manual chunking hacks as a substitute for sound HTML structure.

When is llms.txt worth adding?

It may be worth adding when the file serves a real audience of agents or developer tools: API documentation, an SDK, a large documentation set, or a product that coding agents are expected to use. In those cases, a short curated map can reduce guesswork and point agents at the canonical Markdown or HTML pages.

It is usually not worth prioritizing for a marketing site that wants citations in Google AI Overviews. The same effort is better spent on crawlability, answer-first structure, entity clarity and content that is worth citing. If the file is cheap to generate and keep accurate, maintain it; do not sell it as a visibility lever.

How do llms.txt and agents.md differ?

llms.txt is site-level guidance for models and agents: a summary and a map of canonical pages. agents.md is repository-level instruction for coding agents: how to work in the codebase, what to read, what to run, and what not to change. Neither is a search-ranking file.

FileWhere it livesWho it is forWhat it does not do
llms.txt Site root Language models and agent tools that choose to read it Does not control crawlers, guarantee citation, or replace HTML
agents.md Repository root Coding agents and maintainers Does not affect search rankings or AI Overview eligibility
MCP A server endpoint AI clients that call tools and resources Not a file format or a search signal; it is a protocol

For coding-agent instructions, see the AGENTS.md docs. For the protocol, see the MCP setup docs.

How do I implement and validate llms.txt?

Serve the file at the site root, return HTTP 200 without authentication, keep it in sync with the canonical pages, and validate that every link resolves. A generator can produce a first draft; the maintenance is the real work.

  1. Generate a draft. Use the llms.txt generator or write the file by hand.
  2. Put it at the root. It should be reachable at /llms.txt, not under a docs subpath.
  3. Link canonical pages. Prefer stable HTML or Markdown URLs; avoid tracking parameters and stale links.
  4. Check access. The file and every linked page should be crawlable and not blocked by a login or WAF rule.
  5. Refresh when the site changes. A stale map is worse than no map.
  6. Measure only what is measurable. Server logs show requests; they do not show that a citation was caused by the file.

Validate with curl -I https://example.com/llms.txt and check that the response is 200 with a text or Markdown content type. Then spot-check the links. There is no “submit” step.

Should llms.txt be part of an AEO strategy?

Only as a small, optional documentation task, not as a core tactic. An AEO strategy starts with pages that can be crawled, indexed and quoted. A text file cannot compensate for blocked crawlers, missing content, weak headings or ambiguous entities.

The honest framing is the one we use in the rulebook: llms.txt is a hypothesis, not a proven channel. Keep it if it helps your developer audience; do not report it to clients as a citation win.

Common questions about llms.txt

Is llms.txt required for AI search?

No. llms.txt is a proposed convention, not an established requirement. There is no controlled evidence that it improves AI citations, and Google Search says it ignores the file.

Does llms.txt help with Google AI Overviews or AI Mode?

No. Google's AI features draw on the normal Search index and snippet eligibility. Google says llms.txt neither helps nor hurts visibility or rankings in Google Search.

Can llms.txt hurt SEO?

Google says it does not harm or help Google Search visibility. The real risk is spending time on the file instead of crawlability, structure and extractable content.

What is agents.md?

agents.md is an instruction file for coding agents working in a repository. It is not a search-engine file and is not a substitute for page HTML, schema or metadata.

Where should llms.txt live?

At the site root, for example https://example.com/llms.txt. It should return HTTP 200 without authentication and contain links to canonical pages.

Should I pay for an llms.txt service?

No. The file is cheap to generate and maintain. Paying for a service does not change the lack of evidence that it improves AI-search visibility.

Sources and review

Reviewed 2026-11-22. Sources belong to their authors; citing them does not imply endorsement.

Updated