Key takeaways
  • llms.txt is a curated markdown index served at /llms.txt. It is a proposal with thin confirmed consumption, so treat it as cheap insurance, not a traffic lever.
  • It is worth building for documentation sites, developer products and large content sites. Brochure sites, local businesses and product catalogs can skip it.
  • Crawlability, indexing and answer-first writing do far more than llms.txt. Check your server logs before and after any change to see what is actually being read.

llms.txt is a plain markdown file you host at the root of your domain. It lists your most useful pages with a one-line description each, so a language model or an agent can find the right material without crawling your whole site. It is cheap to create and unlikely to hurt you. It is also a proposal rather than a standard, and as of this writing there is no public evidence that the major AI chat products read it when they answer questions. Build one if you run documentation or a large product site. Do not expect it to change what ChatGPT, Gemini or Perplexity says about you.

What llms.txt is

The proposal came from Jeremy Howard of Answer.AI in September 2024, and the spec lives at llmstxt.org. The idea is simple: a site publishes /llms.txt, a markdown file with a fixed shape. It may also publish /llms-full.txt, which contains the content of the linked pages in one file.

The format is short. Here is a minimal example for a fictional analytics API:

# Acme Metrics

> Acme Metrics is an event-tracking API for mobile apps. It stores events,
> computes funnels and exports raw data to a warehouse.

Authentication uses a bearer token from the dashboard. All endpoints are
versioned under /v1. Rate limits are 100 requests per second per key.

## Docs

- [Quickstart](https://acme.example/docs/quickstart.md): Send your first event in five minutes
- [Authentication](https://acme.example/docs/auth.md): Creating and rotating API keys
- [Event API reference](https://acme.example/docs/events.md): Endpoints, parameters and error codes

## Optional

- [Changelog](https://acme.example/changelog.md): Release history

The rules are small. There is one H1 with the project name, and it is the only required element. A blockquote follows with a short summary. Plain paragraphs can add context a model needs before any links. Each H2 section holds a markdown list of links in the form [Title](URL): short note. A section titled "Optional" marks links a tool can drop when its context window is tight. The linked pages are often the markdown source of each page, at a .md URL, so a model gets clean text without navigation, cookie banners and scripts.

Anatomy of an llms.txt fileserved at /llms.txt# Project namerequired - H1> One-line summary of what this isblockquoteOptional context paragraphplain text## Section- [Title](url.md): short note  - [Title](url.md): short notecurated links## Optional - links a tool may dropdroppable
One H1, a summary, then curated links to clean pages.

The theory behind it, and the reality in 2026

A sitemap answers "what URLs exist on this site." llms.txt is meant to answer a different question: "which URLs explain this product." Models and agents work with limited context, and HTML is noisy, so a curated list of clean pages is a shortcut to the material you most want read. Picture a developer asking a coding assistant to integrate your API: the assistant fetches /llms.txt, picks the quickstart and the reference, and skips your pricing, blog and careers pages. That is the entire case for the file. It is a retrieval hint, not a ranking signal, and it only matters when something actually fetches it. Publishing it does not put your content into a model's training data.

Now the reality check, split into the parts with real use and the parts without evidence. Where it has narrow, genuine use is in coding assistants and developer-documentation tools: some accept an llms.txt URL as a documentation source, and docs generators can emit the file automatically. If you publish developer docs, the file gives those tools a clean entry point, and that benefit is real. Where the evidence is thin is general chat assistants and AI search. As of this writing, there is no public statement from OpenAI, Google, Anthropic or Perplexity that their answer pipelines use llms.txt to decide what to retrieve or cite, and Google's search team has said publicly that it does not use llms.txt for Search. Some site owners report requests for /llms.txt in their logs, but a fetch is not an answer, and nobody has published a controlled test showing the file changed what an AI product cites. Treat any vendor claim that llms.txt moves AI visibility as unproven until you see your own before-and-after logs.

The contrast with the files that do work is the reason for the scepticism. robots.txt was formalised as RFC 9309 in 2022, and the major crawlers document that they honour it. XML sitemaps follow a published protocol, and Google and Bing read them for discovery. Both have a standard and observable consumption. llms.txt has neither a standards body nor a set of consumers that have publicly committed to reading it. It is a sensible proposal with a reasonable rationale, and that is all it is. Does it hurt? No - it is a text file search engines ignore for ranking. The real costs are time and maintenance: a stale file full of dead links signals a poorly kept site to any tool that reads it.

llms.txt or llms-full.txt

The two files do different jobs, and most sites need only the first. llms.txt is an index: small, cheap to generate, and it lets a tool choose what to fetch. llms-full.txt is the concatenated content of the linked pages in one document, which suits a tool that wants a whole documentation set in a single fetch. The downside is size. A documentation set of a few hundred pages can run to megabytes, far beyond what a context window holds, and tools that ingest it may truncate it silently, so the model sees a partial picture without knowing it. My rule is to publish llms-full.txt only if your complete documentation fits comfortably in a context window, which for most products means well under 100,000 tokens. For anything larger, keep the index and skip the full file. If you publish both, generate them from the same source in the same build step so they cannot disagree.

Who should bother, and who should not

The file is worth the time for three kinds of site. Developer documentation and API products come first: the audience already asks coding tools for help, and the docs are long enough that a curated map is useful. Large documentation or knowledge-base sites come next, where the answer a user needs is buried under many sections or product lines. And sites with a clean markdown source and a team that will maintain the file come third, because generating it then costs almost nothing.

Most other sites can skip it or do it last. Brochure sites, local businesses and small practices with five pages should focus on their homepage, contact page and a clear description of what they do; an index of five pages adds nothing. Ecommerce catalogs should not use llms.txt for products at all - product data belongs in structured data and feeds, and a text file listing tens of thousands of product URLs is useless to a model and a person alike. News publishers get their value from freshness and syndication, not a curated index.

How to create and host one, and keep it fresh

The steps are short, and most of the time goes into choosing pages.

  1. Choose 15 to 40 pages. Pick the ones that answer "what is this," "how do I start," "how do I do the common tasks" and "what changed recently." Leave out legal pages, tag archives and search-result pages.
  2. Write the summary. State what you are and who you serve in two plain sentences. No slogans.
  3. Write one-line notes. "Send your first event in five minutes" is useful; "our amazing quickstart" tells a model nothing.
  4. Link to clean sources. Prefer the .md version of each page, or a page that renders readable text without JavaScript.
  5. Generate it from the same data as your sitemap so it cannot drift, and host it at https://yourdomain.com/llms.txt with a direct 200 response, UTF-8, no redirect chain, not behind a login or bot wall, and not blocked by robots.txt.
  6. Test every link. Fetch the file and confirm each URL returns 200:
curl -sI https://yourdomain.com/llms.txt | head -n 1

Then keep it honest: generate the file at build time and fail the build if a linked URL returns anything but 200, run the same link check on a schedule, and review the Optional section once a quarter. A stale llms.txt is worse than none.

What actually matters more

If you have an hour, spend it on these before llms.txt, because they decide whether search engines and AI products can find, read and cite your pages at all. Crawlability: pages should return 200 with the real content in the HTML, not an empty shell waiting on JavaScript, and your robots rules should not block the crawlers you want. Indexing: a page that is not indexed cannot be cited by any search-backed product, so rely on sitemaps and coverage reports, and use IndexNow to submit URLs to the engines that support it - submitting is not a guarantee, so check coverage after. Answers on the page: lead each page with the direct answer to the question its heading asks, in self-contained passages. Structured data: schema.org markup tells engines what a page is; be realistic about what it buys you. Measurement: read your logs for bot visits - which crawlers arrive, which pages they read, whether they come back, and whether they fetch /llms.txt at all. This is where InstantIndexingPro is useful: it submits URLs to Google and Bing, logs each bot visit including AI crawlers, and shows whether a crawler returned to a page after you submitted it.

llms.txt is a sensible, low-effort file for documentation-heavy sites and a reasonable hedge while the proposal, if it becomes a standard, settles. It is a clean map for tools that already read markdown. It is not the lever that decides whether your product appears in an AI answer. Spend your first effort on crawlability, indexing and pages that answer their own questions. Then write the file in an afternoon, keep it honest with a link check, and look at your logs in a month to see whether anything came to read it.