Skip to content
Utilities2026-10-05Shuai Li7 min read

llms.txt, Explained: A Site Manual for LLMs — and Whether Yours Deserves One

The problem llms.txt solves

An LLM processing a website faces a dilemma: it crawls the homepage, wades through navigation, ads, and footer noise, and can't tell what's worth reading or how to understand it. Traditional SEO infrastructure doesn't help — robots.txt only governs "may you crawl", sitemap only lists "what pages exist", and no file answers "what is this site's knowledge structure".

llms.txt (proposed September 2024 by Jeremy Howard of Answer.AI) fills the gap: a markdown file at the site root that serves as a manual for large models. The path is fixed at /llms.txt, and the format is human-readable markdown — a deliberate choice, since LLMs digest markdown far better than XML.

The spec: three-part structure

# Site Name

> One sentence on what this site is and who it serves (blockquote summary)

## Essential
- [Core page](https://example.com/path): one sentence on why this page is worth reading
- [Another core page](https://example.com/path2): one sentence

## Optional
- [Secondary content](https://example.com/path3): one sentence

Three design points:

  1. Every link should carry a one-sentence annotation — the essential difference from a bare link list; the annotation helps the model decide whether to expand that link. Unannotated URLs dump that judgment back onto the model and hollow out the manual
  2. Tiers (essential / optional) — model context is finite; priority information saves its compute directly
  3. Markdown, not XML — compared to the machine format of sitemap.xml, llms.txt is "prose written for a model to read"

Between the summary and the first section you may insert free-form notes (stack, update cadence, privacy model) — they do not have to be jammed into link lines.

Division of labor with existing SEO files

FileQuestion answeredConsumer
robots.txtMay you crawlAll crawlers
sitemap.xmlWhat pages existSearch engines
llms.txtWhat's worth reading, and how to frame itLLMs and AI applications

All three coexist, each covering its own lane. Shipping llms.txt doesn't exempt you from robots configuration, or vice versa (allow/block decisions in the AI crawler guide). For crawler-side drafts, the on-site robots.txt generator is a practical starting point.

The honest controversies

To be clear, llms.txt is no silver bullet:

  • Google's public stance is reserved — the search team has stated it is not used for ranking; AI vendors have made no unified commitment on whether or how they consume it
  • Adoption is growing but the absolute numbers remain small (some major sites in, most of the long tail out)
  • It does not single-handedly produce rankings or citations — without good content, the shiniest manual is worthless

So why ship one? Three pragmatic reasons: the cost is near zero (half an hour); there are no side effects (if nobody consumes it, you lose nothing); and when a citation decision happens, it improves your hit quality — a clear manual is a tiebreaker when a model chooses among candidate sources. The full GEO strategy is in the introduction.

Practice: generate it, don't maintain it

Hand-maintained llms.txt inevitably rots (the moment a page changes, the manual is stale). This site's approach is build-script generation: the file is derived from the tool registry and blog index, refreshed automatically on every deploy — llms.txt always matches site structure at zero marginal cost.

The advice for independent site owners is the same: if your site structure lives in a single source of truth (even a YAML config), generate llms.txt from it. If not, at least put "sync llms.txt" into the publishing checklist — an outdated manual is worse than none. For a manual start, copy the skeleton above, then wire generation into your build.

Multiple artifacts: digest, locale edition, full

We ship more than a single /llms.txt — three complementary files from one build script:

FileRoleSize intuition
llms.txtEnglish digest: tools by category + recent postsKeep to a few KB so it fits in context
llms-zh.txtChinese digest for CN AI ecosystemsUTF-8 often makes the byte count larger; that is expected
llms-full.txtEnglish full edition: per-tool summary + FAQ Q&ACan reach ~100KB; agents fetch it when they need depth

The split matters: the digest answers "what to read first"; the full file answers "what you can cite after reading." Stuffing every FAQ into the root digest turns a manual into a dictionary — models bounce before they choose you. Cross-link the three files at the end of each so an agent that finds one can discover the others.

How to write annotations that carry signal

The clause after the colon on each link line matters more for recall than the section heading. Practical rules:

  1. Answer "when would I need this?" — "JWT decode" is weaker than "paste a token to inspect header/payload; input never leaves the browser"
  2. Include one verifiable fact — runs locally, no sign-up, handles a specific edge format — beats adjectives
  3. Skip marketing empty calories — "powerful / all-in-one / professional" is mostly noise to a model
  4. Stay one sentence — manuals are scanned; park paragraphs in notes or on the destination page
  5. Link markdown sources when you have them — parsing .md / plain text costs less than scrubbing HTML

Failure modes we have already paid for

  • Hand-edit rot — duplicate section titles after copy-paste, tool counts drifting from the registry, a Chinese edition that never existed because nobody remembered
  • Bare URL lists — no annotations means no priority signal; you have reinvented a worse sitemap
  • Renaming sitemap.xml to llms.txt — an XML inventory does not explain how to understand the site
  • Unbounded digest growth — appending every new page until nobody wants to load the file whole
  • llms without robots — a clear manual still never reaches models if training/search crawlers are Disallowed

What our generator's design taught us

Building the auto-generator surfaced design decisions a hand-written file never forces you to make. The ones that generalized:

  1. Derive, don't duplicate. The file's source of truth is the site's tool registry and blog index. Any hand-edited llms.txt will drift from reality the week you ship a new page
  2. Tier by intent, not by recency. "Essential" should mean "what a model needs to understand the site," not "what I published lately"
  3. Write annotations for a stranger's question. The one-line notes work when they answer "when would I need this?" — utility-first phrasing beats marketing phrasing
  4. Expose markdown sources where possible. Where the site serves markdown versions of content, linking them in llms.txt drops the model's parsing cost dramatically — HTML-to-text conversion is where most fidelity is lost
  5. Keep digests under a few KB. The whole point is that they fit comfortably in a context window alongside everything else the model is reading
  6. Regenerate on every deploy. Ours runs in the build pipeline, so a page that ships without its llms.txt entry is a build error, not a hope
  7. Version the format, not the content. If the spec evolves (it's young), the generator changes in one place — 40 hand-edited files don't

Implementer's note

Two details from writing the generator: first, the annotation wording matters more than you'd think — "online tool" carries zero information for a model, while "a JWT decoder where input never leaves your browser" is what makes the model recall you in the right context. Second, llms.txt should also expose entrances to markdown versions of content pages where the site supports them — models digest markdown sources at far lower cost than HTML, the cheapest concession a content site can make to AI.

A third lesson from our pipeline: the same registry drives sitemap, digest, and full FAQ files — tools missing summaries or FAQs show up immediately in llms output, which keeps metadata honest. We also keep a client-side builder (same shape as the build script) that can round-trip paste an existing llms.txt and flag missing annotations or soft size overruns; while new tool-page registration stays frozen, use the skeleton in this post or your own script, and keep crawler allow/block drafts on the robots.txt generator.