Back to blog
AI Search7 min readJuly 9, 2026Updated

What is llms.txt? What it does and what the data shows

llms.txt is a machine-readable index of your site for AI tools. What it does, what the data says about adoption, and whether your business needs one.

llms.txt is a markdown file at the root of a website that points AI tools at its most important pages. We ship llms.txt files for clients and on our own site, so we have watched who reads them. Here is what the file is, what the measurements show, and when it is worth an hour.

What is llms.txt, exactly?

llms.txt is a plain markdown file at your site's root that points AI tools at your most important pages. It lives at yoursite.com/llms.txt and says who you are, what you do, and what each linked page covers. Where robots.txt tells crawlers what they may not read, llms.txt suggests what they should read: a menu instead of a fence.

The idea was proposed on September 3, 2024 by Jeremy Howard, co-founder of fast.ai, as a response to a real problem: language models work with limited context windows, and a typical webpage buries its substance under navigation, scripts, and boilerplate. A clean, hand-curated index lets a machine find the substance directly; it's one small piece of the wider discipline covered in our answer engine optimization guide. The format is deliberately simple: an H1 with your name, a summary, and H2 sections of annotated links. You can read ours at viziblty.com/llms.txt.

Does anything actually read llms.txt?

In a study published June 15, 2026, Ahrefs looked at 137,210 domains that use Ahrefs Web Analytics. About 28% of them had published an llms.txt file, and 97% of those files received zero requests in May 2026: nothing fetched them at all. Ahrefs treats the 28% as an upper bound, because its users are more technical than the web at large. AI retrieval bots made just 1.1% of the requests to llms.txt files that Ahrefs logged. Adoption by websites: high. Adoption by AI companies: thin.

And Google is explicit that its AI features need no new machine-readable files: its AI optimization guide says "optimizing for generative AI search is optimizing for the search experience, and thus still SEO", and that you don't need to create new machine-readable files or AI text files to appear in Google Search. So anyone selling llms.txt as a ranking lever for Google AI is selling something Google itself disclaims. The realistic case is narrow: in the Ahrefs data, AI retrieval bots made just 1.1% of requests to llms.txt files, so treat it as an hour of optional work.

Should my business have an llms.txt file?

It is optional. It is cheap and harmless, but on the evidence it rarely matters, so it belongs at the end of the checklist, after the things with proven weight.

Where llms.txt sits in the AI-visibility stack
PriorityWorkWhy it outranks llms.txt
1Crawlable, server-rendered siteIf bots can't read your pages, nothing else exists
2Consistent business facts everywhereEngines verify before they recommend
3Schema markupThe established machine-readable layer engines do parse
4Deep, evidence-rich contentWhat actually gets absorbed into answers
5llms.txtOne hour, low odds, non-zero payoff: do it last, then forget it

How do I write a good llms.txt file?

Start with your business name as the H1, then a one-paragraph summary a machine could quote. After that come H2 sections grouping annotated links (services, locations, pricing, guides), each with a one-line description of what's on that page. That shape comes straight from the llms.txt spec, which treats the H1 as the only required element and everything after it as optional. Curate hard: ten essential pages beat eighty indiscriminate ones, because the whole point is pre-digested relevance.

Two cautions from the field. Keep it synced: a stale llms.txt that contradicts your site is worse than none, and the Ahrefs study found bad actors already probing these files for prompt injection, so treat yours like code: versioned, reviewed, minimal. And don't confuse it with schema markup: the two do different jobs, and the technical SEO layer needs both. Schema is the one engines are known to parse, so check it first with a schema markup checker. We write one as part of AI search optimization, in the build in our program, and the free AI visibility check notes whether you have one without counting it in your score.

Frequently asked questions

Is llms.txt an official standard? No. It's a community convention with a published spec at llmstxt.org: no standards body governs it and no AI company is obligated to read it.

Does llms.txt affect my Google rankings? No, and Google's own AI optimization guide says so directly: its AI features need no new machine-readable files. The file plays no part in classic rankings either. Publish one because it helps the AI tools that do read it find your best pages, not because you expect a ranking lift.

What's the difference between llms.txt and robots.txt? robots.txt restricts: it tells crawlers what not to access. llms.txt recommends: it points AI tools at your best content. They coexist at your site root doing opposite jobs.

Can llms.txt hurt my site? Only through neglect: an outdated file that contradicts your live site feeds machines wrong facts, and an uncontrolled one is a small prompt-injection surface. Keep it current and minimal.

Sources