Guides→llms.txt→Deep Dive

The complete llms.txt spec, explained

What goes in, what doesn't, and what the spec gets wrong — plus a copy-paste template for SaaS and the honest 2025–2026 evidence on whether ChatGPT, Gemini, or Perplexity actually read the file when they answer a question about your brand.

Updated July 202612 min readMaintained by Jerry Harrison

llms.txt is one of the most over-described and under-verified ideas in AEO. Search "complete llms.txt guide" and you'll get a dozen posts that walk the format, hand you a template, and stop — almost none check the one thing a buyer cares about: do the three models people actually ask about your brand — ChatGPT, Gemini, Perplexity, the exact set our scan covers — read the file? The honest answer, as of mid-2026, is "not that anyone has confirmed." That doesn't make the format useless. It makes it useful for a different reason than most sites deploy it for.

This guide does three things: walks the actual normative spec line by line and flags where the format's own docs and the tooling around it disagree; hands you a complete, spec-correct copy-paste template for a SaaS site; and lays out the 2025–2026 evidence on whether llms.txt moves anything for consumer AI answers versus developer tooling. Those two cases have wildly different support, and conflating them is how you ship the wrong thing.

Chapter 01What llms.txt actually is, and who proposed it

Jeremy Howard — co-founder of Answer.AI and fast.ai — proposed llms.txt and published it on September 3, 2024, on answer.ai and the companion site llmstxt.org.

The problem it solves is narrow. LLM context windows are too small to hold a whole website, and there's no standard way to decide what to feed a model. Should a tool crawl your entire sitemap? Follow external links? For a docs site, include source code alongside the prose? Every crawler answers with its own heuristics, and the answers are inconsistent. llms.txt lets the site owner answer once — curate the short list of what matters, in the concise, collated, markdown-native form the proposal says models "generally like."

The original use cases matter, because they're not what the SEO industry later turned the format into. Howard listed IDE and dev-tool documentation lookup, research on organizations and people, software-library docs, corporate-structure information, e-commerce catalogs, and course summaries. Dev tooling was the anchor case. He did not propose llms.txt as an answer-engine or visibility play. The reframing — "publish llms.txt and ChatGPT will say nicer things about you" — came later, from marketing blogs, not the spec author.

That origin is why the evidence later in this guide looks the way it does. The format was built to solve a context-assembly problem for tools you point at a documentation domain. Most sites now deploy it hoping to solve a brand-accuracy problem in consumer chat. Different problems; the file was only ever designed for the first.

Chapter 02The spec, exactly

Here's the normative structure from llmstxt.org, in order, with required versus optional called out.

  • An optional byte-order mark (BOM). Ignorable; noted once so you know it's permitted.
  • An H1 with the project or site name. The only required element in the spec. Everything below it is optional.
  • A blockquote summary — one or more lines starting with >. Optional but strongly recommended. Short and information-dense; this is the block that gets quoted back when someone asks "what is X." Write it like an encyclopedia's first sentence, not a tagline.
  • Zero or more free-form markdown detail sections, with no headings. Background prose. Optional.
  • Zero or more H2-delimited "file list" sections. Each is a markdown list where every item is a required hyperlink in [name](url) form, optionally followed by : and a note. The note is a content hint, not marketing copy.
  • A reserved H2 section literally named Optional. The spec's own trap. ## Optional is a named section with a specific meaning: secondary links a consuming tool can skip when it needs a shorter context. That is a different thing from "the file is optional to publish." When you read "optional" in llms.txt writing, check which is meant.

A few structural rules that guides routinely get wrong:

File location. The spec puts the file at your root: /llms.txt. /.well-known/llms.txt is not part of the official spec — it was raised in an open GitHub issue (AnswerDotAI/llms-txt #2, "Suggestion: /.well-known/llms.txt instead") and never adopted. Some tools and sites (Mintlify, docs.x.com, Aptos docs) additionally serve or redirect from the .well-known path for clients that expect it there, but that's a compatibility convention, not a requirement. Ship at root; mirror to .well-known only if you want belt-and-suspenders coverage.

The companion file, llms-full.txt. Same root location, but instead of curated links plus notes it holds the full concatenated content of every linked page — one big markdown document. Tooling like llms_txt2ctx can further generate llms-ctx.txt (links, no embedded content) and llms-ctx-full.txt (with it). Ship llms.txt first. Add llms-full.txt only once you have enough canonical, markdown-friendly content that concatenating it earns the bytes.

Size. The spec sets no numeric limit. Community practice converges on keeping the curated llms.txt well under ~10KB; past ~50KB you're listing sitemap-scale content, not a curated manifest, and you've missed the point. A "256KB hard cap" figure shows up in some marketing copy and tools — it is not in the llmstxt.org spec. Treat any hard cap as a tool-specific choice, not a standard.

Format. Plain UTF-8 markdown. No HTML, no JavaScript, no auth wall.

Here's the annotated skeleton, each line mapped to the rule above it:

# Acme Project                          ← H1 with the site/project name (REQUIRED)

> One or two factual sentences.         ← blockquote summary (optional, recommended)
> This is what gets quoted verbatim.

Some free-form background prose here,    ← detail section, no heading (optional)
with no ## above it.

## Docs                                  ← H2 file-list section (optional, repeatable)
- [Quickstart](https://…/quickstart): Get running in 5 minutes   ← [name](url): note
- [API reference](https://…/api): Every endpoint, with examples

## Optional                              ← RESERVED section name — skippable links
- [Changelog](https://…/changelog): Release history

Every line traces to a numbered rule. If a line in your file doesn't, it doesn't belong.

Chapter 03What goes in

Content, in priority order for a SaaS site:

  • The blockquote summary. One to two factual sentences, no adjectives. Consuming tools quote this block close to verbatim, so write it like an encyclopedia infobox line: who you are, what you do, the one or two hard facts (founded when, based where, what it costs) that anchor everything else.
  • A ## Docs section. Quickstart, API reference, key how-tos. For the dev-tool case the format was built for, this is the highest-value block — it's the part coding agents fetch.
  • A ## Company or ## About section. Founding facts, headquarters, leadership. These are the claims our methodology scores as Category A: the founding-fact, HQ, and leadership assertions a model either gets right or confabulates.
  • A pricing or product section, if pricing is public. Put the actual number or range in the link's note, not just the title — some tools read notes without fetching the target page, so [Pricing](…): Plans from $29/mo carries the fact even when the page never loads.
  • Canonical contact. One support or contact URL.
  • A freshness marker. A plain Last updated: 2026-07-03 line. Not required by the spec. Costs one line, tells any consumer how stale the manifest is. Worth it.

Chapter 04What doesn't go in

  • Full page dumps or your entire corpus. That's llms-full.txt's job. Keep llms.txt a manifest.
  • Marketing copy, superlatives, calls to action. Link notes are parsed as content hints. "The fastest, most powerful analytics platform" doesn't help a model extract a fact — it spends tokens and dilutes the signal.
  • Duplicate or non-canonical URLs. One canonical link per resource. Two links to the same page under different URLs is exactly the ambiguity the file exists to remove.
  • Walls of un-annotated links. If you won't write a note, a sitemap already does the undifferentiated-list job better. A curated manifest whose links aren't curated is just a worse sitemap.
  • Anything behind a login or paywall. A consumer that fetches a linked page and hits an auth challenge treats the link as dead weight. Link only what an unauthenticated fetch can read.
  • Anything that contradicts your JSON-LD or site copy. This is the one people miss. Inconsistency across your own surfaces is exactly what produces a bad accuracy score — if your llms.txt says founded 2021 and your Organization schema says 2020, you've manufactured a disagreement for a model to trip over. llms.txt is one more surface that has to agree with all the others.

Chapter 05What the spec gets wrong — the honest 2025–2026 evidence

The section other guides skip. Three claims, each with the evidence and the so-what.

a) No confirmed adoption by the consumer answer engines people actually ask

Google has been blunt. Gary Illyes, at a Search Central Live event, reportedly said Google does not support llms.txt and has no plans to. John Mueller has said, in effect, that no AI system currently uses llms.txt, and separately compared it to the long-deprecated keywords meta tag. When Google's own Developer Docs team briefly added an llms.txt reference on December 3, 2025, it was removed the same day; Mueller's public reaction ("hmmn :-/") read to observers as Google declining to endorse it even internally.

OpenAI has made no on-record commitment that GPTBot or the ChatGPT crawler reads a third-party /llms.txt during retrieval, and the independent fetch-volume studies below find AI crawlers requesting these files at negligible rates.

Anthropic and Perplexity both publish their own llms.txt — docs.claude.com and docs.perplexity.ai serve one for their documentation. Several SEO posts cite this as proof the format works. It isn't. Publishing a file for your own docs is a different claim than your production crawler consuming other sites' files during inference. No public statement from either company confirms the latter.

Zero of the three models we scan — ChatGPT, Gemini, Perplexity — has a documented commitment to reading a third-party llms.txt when answering a question about a brand.

Net: as of mid-2026, zero of the three models we scan has a documented commitment to reading a third-party llms.txt when answering a question about a brand. One caveat, stated plainly: absence of confirmation is not proof of zero effect. Crawlers change behavior silently and grounding pipelines are opaque. But "unconfirmed as of mid-2026" is the defensible claim. "Confirmed to work" is not.

b) Independent measurement: publishing is common, fetching is near zero

Two numbers get conflated constantly, so separate them: how many sites have a valid llms.txt (adoption) versus how often AI crawlers actually request it (usage). Studies use different populations, so don't quote any single percentage as gospel — the ranges are what's real.

Adoption (share of sites publishing a valid file):

Study populationValid llms.txt
Tranco top 10,000 (crawl)~5.9%
~300,000-domain study~10%
Narrow "tech-savvy" sample~28%

Different denominators, not comparable to each other — which is why the spread runs 6% to 28%.

Usage (the number that actually matters):

  • OtterlyAI's 90-day study of ~62,100 AI-bot requests found only 84 hit llms.txt files — roughly 0.1% of bot traffic — with llms.txt pages crawled less often than an average content page.
  • A separate ~500M-visit, 90-day monitor found roughly 408 direct llms.txt fetches total — a rounding error against total AI-bot volume.

These come from AEO/SEO analytics vendors, not peer-reviewed data, so hold them as directional. But they're consistent with each other and with the companies' own statements. So-what: publishing the file is cheap and harmless. Expecting it to move a consensus or accuracy score the way JSON-LD or a server-render fix would is not supported by any current measurement.

c) Where it demonstrably is used — and the legitimate reason to ship it

Coding agents and IDE tools — Cursor, Windsurf, GitHub Copilot, Cline, Aider, Claude Code — do fetch /llms.txt and /llms-full.txt when a developer points the tool at a documentation domain. This is the original, validated use case from Howard's proposal, and it's real and current.

Chrome added an llms.txt check to Lighthouse under its "agentic browsing" audits — deliberately not the SEO category. It flags server errors when fetching the file and treats a 404 as not-applicable, since the spec makes the file optional. The placement is itself a signal: Chrome filed llms.txt as agent and developer tooling, not classic SEO.

So-what: ship llms.txt if you have real docs or an API surface worth curating for coding agents and developer-facing AI tools. That's a named, current, defensible use case. Don't ship it expecting it to change what ChatGPT says about your pricing tomorrow — nothing in the evidence supports that. For that goal, JSON-LD (schema.org) and server-side-rendered page content remain the higher-leverage levers, as the AEO 101 guide lays out in full.

Chapter 06Should a SaaS company ship one anyway?

Yes — conditionally. It's cheap: one file, no build step, no conflict with anything else you've shipped. And it genuinely helps the dev-tool and agent audience if you have docs or an API. If that's you, ship it.

No — if the plan is "ship llms.txt instead of fixing JSON-LD or a hydration problem." That's optimizing the low-evidence lever over the two high-evidence ones. Our own scan categories bear it out: the facts models get right come from structured data and renderable page content, not from a manifest file almost no crawler requests.

Rule of thumb: if you've already shipped Organization JSON-LD and confirmed your homepage renders content without JavaScript, llms.txt is a same-afternoon add — cheap, can't hurt, helps the agent audience. If you haven't done those two things, do them first. That's where the measurable wins are. (Not sure your schema is right? The JSON-LD generator emits spec-correct Organization and Product blocks.)

Chapter 07Copy-paste template for SaaS

A complete, spec-correct file for a fictional project-management SaaS, "Tangline." Every block is annotated against the rules above.

# Tangline                               ← H1, project name (the one required element)

> Tangline is a project-management app   ← blockquote summary: factual, no adjectives.
> for small software teams. Founded 2021.  This is what a model quotes for "what is Tangline."
> Based in Austin, TX. Plans from $12/user/mo.

Tangline replaces scattered issue         ← free-form detail block (no heading).
trackers and status docs with one         Optional. Background only — keep it terse.
board per team. Self-serve; no sales call.

## Docs                                   ← H2 file-list section. Highest-value block
- [Quickstart](https://docs.tangline.com/start): Create a board in 5 minutes
- [API reference](https://docs.tangline.com/api): REST endpoints, auth, rate limits
- [Integrations](https://docs.tangline.com/integrations): Slack, GitHub, Linear
- [Self-hosting](https://docs.tangline.com/self-host): Docker + Postgres setup

## Product                                ← put the actual price in the NOTE, not just the link
- [Pricing](https://tangline.com/pricing): Starter $12/user/mo, Team $22/user/mo
- [Changelog](https://tangline.com/changelog): Shipped features, dated
- [Security](https://tangline.com/security): SOC 2 Type II, data residency options

## Company                                ← Category-A factual claims (founding, HQ)
- [About](https://tangline.com/about): Founded 2021, Austin TX, 14 people
- [Contact](https://tangline.com/contact): support@tangline.com

## Optional                               ← RESERVED section: skippable for short context
- [Blog](https://tangline.com/blog): Product and engineering writing
- [Status](https://status.tangline.com): Live uptime and incident history

Last updated: 2026-07-03                  ← not required by spec; recommended practice

What to change — map each placeholder to what you swap in:

  • Tangline → your product name (H1 and throughout).
  • The blockquote → your one-to-two-sentence factual summary. Founding year, location, price anchor. No superlatives.
  • The detail paragraph → what you do, in plain prose. Delete it if the summary already covers it.
  • ## Docs → your real quickstart, API, integration, and self-host URLs. Keep the notes concrete.
  • ## Product → your pricing (number in the note), changelog, security page.
  • ## Company → your about and contact pages, with founding facts in the notes.
  • ## Optional → genuinely secondary surfaces — blog, status, community — a tool can skip.
  • Last updated → the date you last touched the file.

Generate yours without hand-editing markdown

The free llms.txt generator builds a spec-correct file from the template above right in your browser — fill in the fields, copy the output, ship it to your root.

Chapter 08Shipping and verifying it

Deploy to /llms.txt at your root. Mirror to /.well-known/llms.txt only if you want extra coverage — convention, not requirement.

Critical: verify the fetch

curl -sI https://yourdomain.com/llms.txt. Expect a 200, a text/plain or text/markdown content type, no redirect chain, and no auth challenge. A 301/302 hop or a login wall and a consuming tool gives up before it reads a byte.

Here's the genuine gap in the spec: there is no submission or ping mechanism. Unlike a sitemap, there's no Search Console equivalent to notify anyone you shipped one, and no acknowledgment that anything read it. The only way to confirm it works for the dev-tool case is to test it directly against a tool known to fetch it — point Cursor or Claude Code at your docs domain and watch whether it picks the file up.

For the parts that are measurable, re-run a free scan afterward: JSON-LD presence and the page-render check. The honest limit: a scan can confirm your llms.txt exists and validates against the format, but it can't verify a model read it, because no model confirms that it does.

Update cadence: whenever founding facts, pricing, or doc URLs change. Treat it like a schema update, not a one-and-done deploy.

· · ·

Chapter 09FAQ

Does llms.txt replace robots.txt?
No. robots.txt controls crawl permission — who may fetch what. llms.txt is a content manifest — here's what matters and where it is. Different jobs. Ship both.
Do I need llms-full.txt too?
Only once llms.txt alone doesn't give a consuming tool enough to work with. Most SaaS sites don't need it on day one. Ship the manifest first; add the full variant when you have canonical content worth concatenating.
Will publishing llms.txt make me easier to scrape competitively?
It makes your structured facts easier to read — it doesn't bypass anything robots.txt already blocks. If scraping is the worry, that's a robots.txt and rate-limiting conversation, not a reason to skip llms.txt.
Does it change what ChatGPT, Gemini, or Perplexity say about me right now?
Not confirmed — see the evidence section. Ship it for the dev-tool audience and as cheap insurance if that changes, not as your primary AEO lever.
How often should I update it?
Same trigger as any fact sheet: whenever a founding fact, a price, or a doc URL changes. If nothing material changed, leave it.

Check what's actually measurable

Once llms.txt is shipped, run the free AI Readiness Scan to check the parts of your AEO surface that are measurable today — JSON-LD, page rendering, and what ChatGPT, Gemini, and Perplexity agree on about your brand. No card.

Start free scan →