What is llms.txt and does it actually work?

· 6 min readVerified Sep 30, 2026 · 6 sources

Short answer

What is llms.txt?

llms.txt is a markdown file at your domain root (/llms.txt) that gives language models a curated list of your most important pages. It is a proposed convention, not a standard. It's cheap to write and helps tools that read it, but as of September 2026 no major AI search provider has said its crawlers use it.

Key takeaways

05 points

  1. 01llms.txt was proposed by Jeremy Howard in September 2024, and the only required element is a single H1.
  2. 02Google Search says it ignores the file, and no OpenAI, Anthropic or Perplexity documentation lists it as a crawl input.
  3. 03Chrome's Lighthouse has checked llms.txt since 2026, but a missing file is marked "not applicable", not a failure.
  4. 04The real value is as a forcing function and a clean map for developer tools and agents that do read it.
  5. 05A stale file is worse than none, so generate it from the same source as your sitemap.
On this page

What does the llms.txt spec actually say?

The spec defines a markdown file with one required H1 and a few optional sections, nothing more. The llms.txt proposal[1] was published by Jeremy Howard of Answer.AI on 3 September 2024. A compliant file is plain markdown with a fixed shape:

  1. A single H1: your project or company name. This is the only strictly required element.
  2. A blockquote summary: one paragraph of the key facts an unfamiliar reader needs.
  3. Zero or more paragraphs or lists with more detail (no headings).
  4. H2-delimited link sections: each a list of [name](url): description entries pointing at the pages that matter.
  5. An optional ## Optional section: links a model can skip when its context window is tight.

There are no crawl directives, no Disallow rules and no priority weights. It's a curated index in the kind of clean markdown a model parses well. The proposal also recommends serving a markdown version of each page at the same URL with .md added, so a model gets the text without the nav, cookie banners and scripts. This blog does that: every post is also served as markdown, and the site publishes an llms-full.txt with the full text alongside the index. For a plain-language definition, see the llms.txt glossary entry.

What does a good llms.txt file look like?

A good file names the company, summarises it in one blockquote, and lists answer-shaped pages with absolute URLs and descriptions. Here is a complete, valid example. The <!-- --> comments are illustrative; delete them in production.

# EchoRanked
 
> EchoRanked tracks how often AI engines such as ChatGPT, Perplexity,
> Gemini and Google AI Overviews mention and cite a brand, reported with
> confidence bands, not bare numbers.
 
EchoRanked samples each tracked prompt repeatedly, shows where competitors
are cited instead of you, and drafts the content that closes the gap.
Plans start with a 7-day free trial.
 
## Docs                          <!-- H2 = a named link section -->
 
- [Methodology](https://echoranked.com/methodology): Sampling, confidence bands, and the api vs consumer measurement surface.
- [Pricing](https://echoranked.com/pricing): Plans and what each includes.
 
## Blog
 
- [What is llms.txt](https://echoranked.com/blog/what-is-llms-txt): This guide.
- [JSON-LD for AI search](https://echoranked.com/blog/json-ld-for-ai-search): Which schema actually matters.
 
## Optional                      <!-- safe to skip under tight context -->
 
- [Changelog](https://echoranked.com/changelog): Release notes.

Three things make this file good rather than merely valid:

  • Absolute URLs. A model that reads /llms.txt out of context can't resolve relative links. Always write the full https:// URL.
  • Descriptions that disambiguate. "Pricing: plans and what each includes" tells the model when to pick the link. "Pricing" alone does not.
  • Answer-shaped pages. A page that buries its answer under three screens of brand copy wastes the model's attention. If a page can't be summarised in a sentence, fix it before you list it; see how to check if ChatGPT can read your website.
How a model reaches a site's key pages with and without llms.txtTwo paths an AI model can take to learn about example.com. Without llms.txt: the crawler lands on raw HTML, works through navigation, scripts and ads, and guesses which pages matter — hopping to /about, an old blog post and finally /pricing, each hop a guess. With llms.txt: it reads /llms.txt, a short curated index, and follows a named link straight to a clean Markdown page, /docs/pricing.md, in one hop. Note: llms.txt shortens the path — it doesn't force the model down it.PATH A · WITHOUT LLMS.TXTAI modelRaw HTMLnav, scripts, ads/about ?/blog/2019 ?/pricingSeveral hops, each one a guessabout what mattersPATH B · WITH LLMS.TXTAI model/llms.txtshort curated indexnamed link/docs/pricing.mdclean Markdown✓ One hopto the pagellms.txt shortens the path —it doesn’t force the model down it.
Two ways inllms.txt shortens the path to the pages that matter — it doesn’t force the model down it.

What does llms.txt not do?

llms.txt offers guidance, not control, and it guarantees nothing about citations:

  • It does not control crawling. That's robots.txt (RFC 9309)[2]. A bot blocked there never sees your llms.txt.
  • It does not guarantee citation. Models cite what their retrieval layer surfaces. llms.txt can improve the odds that the right page is the one surfaced by tools that read it; it can't create demand for your content.
  • It does not replace structured data. JSON-LD still carries prices, FAQs and organisation facts inside the page itself; see which JSON-LD actually matters.
FileWhat it doesWho reads it
robots.txtGrants or denies crawler accessEvery major crawler
sitemap.xmlLists every URL you want indexedSearch engines
llms.txtCurates the pages worth reading, in markdownSome developer tools and agents; no confirmed AI search crawler

Does llms.txt actually work?

For AI search visibility, there is no public evidence that it does. As of September 2026, no major AI provider (OpenAI, Anthropic, Google or Perplexity) documents llms.txt as something its crawlers fetch and use. Google's AI optimization guide (2026)[3] is explicit: you don't need llms.txt to appear in Google Search, including its AI features, because Google Search ignores it. In April 2025, Google's John Mueller compared it to the keywords meta tag[4] and said server logs show AI services don't even check for it (Search Engine Journal, 2025).

One part of Google does look at it. Chrome's Lighthouse llms.txt audit[5] (documentation updated May 2026) flags a server error when fetching the file and marks a missing file "not applicable", noting that providing it is optional. That's a well-formedness check for agents, not a ranking signal.

What the file genuinely buys you:

  • A forcing function. Writing a good llms.txt makes you decide which ten pages actually answer buyer questions. That clarity helps every channel.
  • A clean map for tools that read it. Developer documentation is the common case: Anthropic publishes one for its API docs[6], and coding assistants can be pointed at such files. There you've handed over accurate, current facts instead of a guess.
  • Near-zero downside. It's a static text file. The only real risk is letting it go stale.

The verdict: add it, keep it honest, automate its upkeep, and don't expect it to move AI search results on its own. The page-level work (rendering, structured data, answer-first copy) is what changes whether models can read and quote you, and our guide to AI visibility covers how to measure whether they do.

Why do most llms.txt files go stale?

Most files go stale because they're written once by hand and never regenerated. Teams link forty pages and move on. Six months later half the links 404 and the blog section is missing the posts that answer real buyer questions. A stale map is worse than none: it tells anything that reads the file that your site can't be trusted.

The fix is boring and durable: generate the file from the same source of truth as your sitemap, and fail the build when it drifts. That's how EchoRanked produces its own llms.txt, and a missing or malformed file is one of the checks in our readiness scan. To check yours now, run it through the llms.txt validator.

Validator checklist

Before you ship /llms.txt, confirm:

  • It is served at the root: https://yourdomain.com/llms.txt, HTTP 200, Content-Type: text/markdown or text/plain.
  • Exactly one H1 at the top (your name). No second #.
  • A blockquote summary immediately under the H1.
  • All link sections use H2 headings and [name](url): description list items.
  • Every URL is absolute (https://…) and returns 200: no relative paths, no 404s, no redirects to a login page.
  • Each link has a description that says when to choose it.
  • Optional or low-priority links live under a ## Optional section.
  • It is not blocked by robots.txt, and the pages it links are crawlable too.
  • It is regenerated on deploy so it can't silently drift from your sitemap.
  • Total size is reasonable (well under a few hundred KB) so it fits a model's context budget.

Frequently asked questions

Is llms.txt the same as robots.txt?

No. robots.txt controls access: which crawlers may fetch which paths, under the Robots Exclusion Protocol standardised as RFC 9309. llms.txt assumes access is already allowed and offers guidance, a curated list of the pages worth reading, written in markdown. They solve different problems, and a crawler blocked by robots.txt will never reach your llms.txt file at all, so fix access first.

Where does the llms.txt file go, and what should it be named?

It goes at the root of your domain and is named exactly llms.txt in lowercase, served over HTTPS at https://yourdomain.com/llms.txt. Copies in subdirectories are not part of the convention. The proposal also recommends serving markdown versions of key pages at the page URL with .md added, so a tool that follows your links gets clean text without navigation, scripts or cookie banners.

Will adding llms.txt improve my rankings in ChatGPT or Google?

There's no evidence it does. Google's AI optimization guide says Google Search ignores llms.txt, and as of September 2026 no major AI provider has confirmed its crawlers use the file. Treat it as a low-cost clarity exercise and a clean map for developer tools and agents that do read it. The work that measurably affects AI visibility is page-level: crawler access, server-side rendering, structured data and answer-first content.

What is llms-full.txt?

llms-full.txt is a common companion to llms.txt that contains the full text of the listed pages in one markdown file, rather than links to them. It isn't part of the original llms.txt proposal, but some documentation sites, including Anthropic's API docs, publish one so a tool can load everything in a single fetch. It can get large, so keep it for sites where the whole corpus fits comfortably in a model's context window.

Sources

Checked Sep 30, 2026

  1. [1]llms.txt proposal — llmstxt.org
  2. [2]robots.txt (RFC 9309) — rfc-editor.org
  3. [3]Google's AI optimization guide (2026) — developers.google.com
  4. [4]compared it to the keywords meta tag — searchenginejournal.com
  5. [5]Lighthouse llms.txt audit — developer.chrome.com
  6. [6]Anthropic publishes one for its API docs — platform.claude.com

Keep reading

All articles →