Skip to content

AI search7 min read

llms.txt: what it is, who reads it, and whether it's worth 15 minutes

An honest look at llms.txt: the format, a complete example, what is known about which AI engines and tools read it, and when it is worth writing.

By the analyser.dev team

Every few months a new file is proposed for the root of your website, and every few months someone asks whether they need it. llms.txt is the current one. You'll find it recommended in GEO checklists, dismissed by search engineers, and published by a surprising number of developer-tool companies. Here's what it is, who reads it as far as anyone can tell, and how to decide whether to bother.

Short version: no major AI search engine has said it uses llms.txt, so don't expect traffic from it. Some developer tools and AI agents do read it, it takes about fifteen minutes to write, and writing it has a side benefit that has nothing to do with AI. For most sites that's enough to do it once and move on.

What llms.txt is

llms.txt was proposed in September 2024 by Jeremy Howard of Answer.AI, with the specification published at llmstxt.org. The idea: websites are built for people, with navigation, scripts, cookie banners and layout, and a language model with a limited context window wastes much of it on that clutter. A short markdown file at a known location can tell a model what the site is and where the important material lives, in a format that's easy for both models and people to read.

It's not robots.txt. It doesn't grant or deny anything, and no crawler is obliged to read it. It's closer to a curated table of contents.

The format

The file lives at /llms.txt and is plain markdown with a loose but specific structure:

  1. An H1 with the name of the project or site. This is the only required section.
  2. A blockquote with a short summary: the key information needed to understand the rest of the file.
  3. Optional free text: paragraphs or lists with more detail, but no headings.
  4. H2 sections containing lists of links, each written as [name](url), optionally followed by a colon and a note about what the page contains.

A section titled Optional has a specific meaning: the links in it can be skipped when a shorter context is needed.

The proposal also suggests offering markdown versions of pages at the same URL with .md appended, so a tool can fetch clean text instead of HTML. Separately, a convention grew up around llms-full.txt: a single file containing the full text of the documentation, popular with docs platforms. That one isn't part of the original proposal, though it's often mentioned alongside it.

An example

Here's a complete llms.txt for a fictional invoicing product. Notice that it's mostly an honest description and a list of the pages a newcomer would need.

# Ledgerly

> Ledgerly is invoicing and expense software for freelancers and small
> agencies in the EU and UK. It creates VAT-compliant invoices, tracks
> payments, and exports to common accounting tools. Plans start free.

Ledgerly is a web app; there is no desktop version. It supports EUR, GBP
and USD invoicing. Payroll is not supported.

## Product

- [Features](https://ledgerly.example/features): invoicing, expenses, VAT handling, exports
- [Pricing](https://ledgerly.example/pricing): Free, Solo and Team plans with limits
- [Integrations](https://ledgerly.example/integrations): Xero, QuickBooks, Stripe, bank feeds

## Docs

- [Getting started](https://ledgerly.example/docs/start): create an account and send a first invoice
- [VAT rules](https://ledgerly.example/docs/vat): how VAT is calculated per country
- [API reference](https://ledgerly.example/docs/api): REST API for invoices and clients

## Optional

- [Changelog](https://ledgerly.example/changelog)
- [About the company](https://ledgerly.example/about)

Note what it leaves out: marketing claims, every blog post, and the login page. It also says what the product doesn't do. That line ("Payroll is not supported") is the kind of fact that saves an assistant from guessing, and it's more useful than another adjective.

Who reads it

This is where honesty matters, because llms.txt is often oversold.

AI search engines: no public commitment. As of this writing, none of OpenAI, Anthropic, Google, Perplexity or Microsoft has said its search or answer products use llms.txt to find, rank or cite pages. Google's search representatives have said publicly that Google Search doesn't use it, and one compared it to the old keywords meta tag, a file that's trivial to fill with whatever you'd like to be true. That comparison is fair: a file the site owner writes about itself is easy to game, which is a reason for search engines to rely on the pages themselves.

Server logs: mixed. Site owners who check their logs report occasional requests for /llms.txt, some from AI-company crawlers, but crawlers fetch all sorts of URLs. A request doesn't show the file was used for anything.

Developer tools and agents: yes, sometimes. This is where it has real uptake. Many documentation sites publish llms.txt and llms-full.txt, including several AI companies' own docs. Coding assistants, documentation tools and AI agents can be pointed at those files, and some fetch them when given a site's URL. If your audience includes developers who use AI tools to read your docs, llms.txt is directly useful today.

We can't give you a reliable list of which products fetch it automatically, because that behaviour isn't well documented and changes often. Anyone who gives you a confident list should be asked for a source.

Is it worth fifteen minutes?

For most sites, yes, for reasons that are modest but real:

  • It's cheap and harmless. A static file, no tracking, no risk to rankings.
  • It's useful where it is used. Developer tools and agents that read it get a better picture of you than they would from your navigation.
  • Writing it improves your site. Producing a two-sentence factual summary of what you are, who it's for and what it doesn't do is surprisingly hard. Once you have it, put it on your homepage too. A clear factual description near the top of a page is something AI engines demonstrably quote, and visitors appreciate it.
  • It might matter more later. This is the weakest reason, and the only one most guides give. Don't do it for this alone.

It's probably not worth more than fifteen minutes if you're not a documentation-heavy product. Don't generate per-page markdown copies of a marketing site, and don't spend time tuning wording for engines that have said they don't read it. Spend that time on things that are known to matter: content that's readable without JavaScript, AI search crawlers that aren't blocked by your CDN, and pages that answer the questions your customers ask.

Doing it well

  • Keep it short: a summary and the 10–30 links that matter. A sitemap already lists everything.
  • Use absolute URLs and check they resolve. A broken link in a file meant to guide machines is worse than no link.
  • Write the summary as plain facts: name, category, audience, main capabilities, notable limits. No slogans.
  • Serve it as text/plain or text/markdown with a 200 status, and make sure your CDN doesn't block the AI user agents that might fetch it.
  • Update it when you add or remove a product area. Add it to your release checklist.

analyser.dev checks for /llms.txt on every scan, validates the structure (an H1, a blockquote summary, H2 sections of markdown links) and reports problems. It's weighted lightly in the AI-search score, which reflects how much evidence there is for its effect. If you want something with a bigger payoff, start with which AI crawlers you allow.

See how your site does in about a minute

Free, no account needed for the scores and top fixes.