llms.txt, the Definitive Guide

Four studies disagree about llms.txt. This guide reconciles the evidence, gives a verdict by site type, and shows the WordPress setup in 15 minutes.

TopicHow AI Reads the Web

llms.txt is a plain markdown file at your site root that gives AI systems a curated map of your best content. It will not improve your rankings or your AI citations, and Google confirmed in June 2026 that Search ignores it. Coding agents and integration tools do fetch it, though. Documentation sites should publish one. Most B2B marketing sites can give it 15 minutes and no more. Ecommerce and local businesses can usually skip it.

Nobody agrees about this file. One study found that 97% of llms.txt files were never fetched at all. Another watched OpenAI bots crawl the same file type more than 5,000 times in three months. Both are real measurements from serious teams, and they point in opposite directions.

This guide reconciles them. I have worked in marketing for roughly 30 years, since HotBot was a serious search engine, and I have watched plenty of "essential" files come and go. The pattern rarely changes. A proposal lands, vendors sprint to sell it, evidence arrives late, and by the time anyone has measured anything the advice has already fossilised. llms.txt has just reached the measurement stage, so this is the right moment for the honest version. That means the spec, all the major studies, a verdict by site type, the WordPress setup, and how to read your own server logs rather than trust anyone else's.

What is llms.txt and what does it actually do

llms.txt is a proposed standard, written in markdown, that sits at the root of your domain and tells AI systems where your most useful content lives. The proposal was authored by Jeremy Howard and published on 3 September 2024 at llmstxt.org. No major AI platform has ever committed to reading it.

The reasoning behind it is sound enough. As the spec puts it, "Context windows are too small to handle most websites in their entirety", and turning cluttered HTML into clean text is imprecise, so the file offers a shortcut. One tidy page listing your canonical content in a format language models parse natively.

The format is deliberately light. Per the official spec, the only required element is an H1 with your site or project name. After that you may add a blockquote summary, freeform notes, and H2 sections containing lists of links, with an "Optional" section flagging URLs an AI can drop when context runs short. The same proposal recommends serving clean markdown twins of key pages by appending .md to their URLs, and it ships a command line tool, llms_txt2ctx, that expands the file into ready-made LLM context.

How strong is your own AI marketing? Take the free two minute scorecard and get an honest read plus the next steps that matter most.

Take the scorecard

That is the whole idea. A menu for machines.

What does the evidence say about llms.txt

Four proper studies have now measured llms.txt in the wild, and they disagree in ways most write-ups ignore.

Ahrefs analysed 137,210 domains in May 2026 and found 28% publishing a valid llms.txt file, a figure Ahrefs itself calls an upper bound because its sample skews towards technically sophisticated sites. The headline finding was harsher. 97% of those files received zero requests of any kind during the month.

SE Ranking examined roughly 300,000 domains and found just 10.13% adoption, and its machine learning analysis found llms.txt had no effect on how often a domain gets cited by AI tools. Removing the variable from the model actually improved its accuracy. Results do not come much more null than that.

Those two adoption figures, 28% against 10.13%, look contradictory but mostly reflect different samples. Ahrefs drew from a technical crowd where early adoption runs hot, and says so. SE Ranking's broader sample probably sits closer to the real web.

OtterlyAI ran a 90 day experiment on a single site and logged more than 62,100 AI bot visits. Just 84 of them, 0.1%, touched /llms.txt, while the average content page on the same site drew around 265 AI bot visits. Their verdict called llms.txt "a niche, integration-focused standard" rather than a way to earn visibility.

Limy reports a 90 day dataset of 515,382,577 LLM bot traffic events containing only 408 requests for /llms.txt. Treat that figure with care. It is proprietary vendor data nobody outside Limy can verify, which is precisely the sort of caveat this topic needs more of.

Then comes the outlier. The Wix AI Search Lab test with Archer Education put llms.txt files on 7 education sites from 23 July 2025 and watched OpenAI bots crawl them over 5,000 times in roughly three months, escalating from a handful of pings to more than 300 per day at peak. The same write-up counts around 35,100 llms.txt pages indexed in Google, comparable to ads.txt indexing, and notes that Anthropic referenced llms.txt in its agent building documentation in September 2025.

How can all of these studies be true at once

They measure different things, and once you see that, the contradiction dissolves. The large studies measure what search-adjacent AI crawlers do across the broad web, and the answer is that they almost entirely ignore the file. The Wix test measured what happened on a handful of niche education sites once specific OpenAI bots took an interest, with no control group of similar sites lacking the file, so it cannot show the file caused anything you would care about commercially.

Seven sites is not a sample. It is an anecdote with logging.

The most useful clue sits inside the Ahrefs data itself. Where llms.txt files were fetched at all, 96% of those requests came from bots rather than humans, but named AI tools accounted for only 19.5% of the total, with GPTBot leading the AI crawlers at 4.51% of all requests and Claude Code out-fetching every AI retrieval bot. The heaviest user of llms.txt is not a search crawler building answers for consumers. It is a coding agent working inside a terminal.

That matches the adoption story elsewhere. Limy's guide lists Cursor, Windsurf, Claude Code, GitHub Copilot, Cline and Aider as tools that fetch llms.txt routinely, alongside MCP servers such as LangChain's mcpdoc built specifically around it. And the organisations behaving as if the file matters are developer businesses. Anthropic publishes a live llms.txt for its developer documentation, more than 1,700 markdown links organised into H2 sections at the time of writing.

Here is the reconciliation, and the verdict of this guide. llms.txt is dead for search or GEO. Two large null results sit against it, and no credible evidence says it earns rankings, citations or traffic. It is quietly alive as business-to-agent infrastructure, or B2A, read by IDE agents, coding assistants and integration tools that genuinely do fetch it. I say this as an early adopter rather than a sceptic on the sidelines. I published support for EntityMap v1.0 the day after that standard launched, and I keep llms.txt on my own sites. You can publish something early and still expect nothing from it.

Does Google use llms.txt

No, and Google has now said so twice. Its Search Central documentation on AI features states that "You don't need to create new machine readable files, AI text files, or markup to appear in these features", covering AI Overviews and AI Mode.

In June 2026 the guidance got sharper still. As Roger Montti reported on 17 June 2026, Google's updated documentation now reads, "It's completely fine if you decide to create and maintain LLMS.txt files (or other similar files) for other services or systems that use these files. Doing so won't harm (nor help) your visibility or rankings in Google Search, as Google Search ignores them."

That paragraph ends the SEO debate. The guidance is new enough that almost every llms.txt guide you will find was written before it and has not caught up.

Should your site have an llms.txt file

Documentation sites should publish one today, most B2B marketing sites can justify 15 minutes, and everyone else has better things to do. Here is the reasoning by site type.

Site type Verdict Reasoning Time worth spending
SaaS or developer docs Yes, publish now Coding agents demonstrably fetch these files, and your users work inside those agents An hour, automate regeneration if you can
B2B services or agency site Yes, with low expectations Zero ranking effect, but a cheap way to hand agents your scope, pricing and proof pages 15 minutes, review quarterly
Ecommerce store Probably skip No evidence shopping searches touch it, product feeds and structured data matter far more None until a platform commits
Local business Skip Assistants pull local answers from maps data, reviews and entities, not root files None, do profile and review work instead
Publisher or blog Optional No citation effect measured, curating evergreen pieces is the only plausible upside 15 minutes if curious, then measure

For UK B2B firms my priority order is short. Entity consistency, answer-shaped content and measurable AI visibility come first, and our complete guide to generative engine optimisation covers that work end to end. llms.txt sits at the bottom of the list, a tidy extra you add once the things that actually influence citations are in place.

How do you write a good llms.txt file

Write it as a shop window, not a warehouse inventory. Carolyn Shelby's framing at Search Engine Land remains the best mental model, "It's more like a curated sitemap.xml that includes only the very best content", and her advice is to resist dumping every URL on your site into the file. Pick the evergreen pages that answer specific questions.

Structure follows the spec. One H1 with your name. A blockquote saying what you do in a sentence or two. Then H2 sections grouping your links, each on its own line with a short plain note. Here is the top of the real file this site serves at axiomai.uk/llms.txt, trimmed.

# AxiomAI > AI-native marketing and automation agency for the UK and US.
> We run SEO, GEO, AEO, PPC, email and AI automation as one
> measurable system, judged on booked revenue. ## Services
- [SEO Agency for UK & US Businesses](https://axiomai.uk/seo/)
- [GEO & AEO Agency](https://axiomai.uk/geo/) ## Industries
- (one line per industry page, with a short note)

Keep it small. A few dozen links is plenty, because the entire point is to fit comfortably inside one model context window rather than fill it.

There are three files here and they are easy to confuse. llms.txt is the curated index above. llms-full.txt is an optional companion that inlines the complete text of your key pages into one large file, useful for documentation, wasteful for most marketing sites. And the per-page .md convention from the same proposal serves a clean markdown twin of any page by appending .md to its URL. That is arguably the piece coding agents value most, since it strips templates, cookie banners and navigation out of their context entirely.

How do you add llms.txt to WordPress

The reliable method takes three steps and no plugin. First, write the file in any text editor and save it as llms.txt. Second, upload it by SFTP to your web root, the directory holding wp-config.php, so it sits beside robots.txt. Third, request yourdomain.co.uk/llms.txt in a browser and confirm it loads as plain text. WordPress only rewrites requests for files that do not exist, so a real file at the root simply gets served. No code involved.

If you would rather generate it dynamically, a short snippet in a child theme or small custom plugin does the job.

add_action('init', function () { add_rewrite_rule('^llms.txt$', 'index.php?llms_txt=1', 'top');
});
add_filter('query_vars', function ($vars) { $vars[] = 'llms_txt'; return $vars;
});
add_action('template_redirect', function () { if (get_query_var('llms_txt')) { header('Content-Type: text/plain; charset=utf-8'); readfile(get_stylesheet_directory(). '/llms-content.md'); exit; }
});

Afterwards, flush permalinks once by going to Settings then Permalinks and clicking save. The static file route has never given me trouble. The dynamic route earns its keep only when the file must rebuild itself as content changes.

How do you check whether anything fetches your file

Your server logs already hold the answer. On most Linux hosting one line pulls every request for the file.

grep "llms.txt" /var/log/nginx/access.log

Then count which agents are asking.

grep "llms.txt" access.log | grep -oiE "gptbot|claudebot|claude-code|perplexitybot|ccbot|bingbot" | sort | uniq -c | sort -rn

The user agents worth watching are GPTBot from OpenAI, ClaudeBot and Claude-Code from Anthropic, and PerplexityBot. On Apache the log usually lives at /var/log/apache2/access.log, and managed WordPress hosts normally expose raw access logs in the control panel as downloadable text files, which the same commands will read.

Set your expectations before you run anything. Since 97% of llms.txt files drew zero requests in Ahrefs' month of data, an empty grep is the normal result, not a configuration error. A trickle of hits from SEO tools and uptime monitors is normal too. A genuinely active file shows steady fetches from coding agents, the Claude Code pattern Ahrefs identified. If you run developer documentation you may see it within days. I keep an eye on my own logs rather than relying on any study, and that is my honest recommendation for you too.

What are the risks of publishing llms.txt

Stale content, accidental cloaking and a public list of your best URLs are the three real risks, and every one is manageable.

Stale content is the big one. The file is a manual snapshot, and every redesign, URL change or service pivot silently breaks it. An agent reading last year's llms.txt retrieves last year's prices and dead links, which is worse than no file at all. Set a quarterly reminder to check it, or generate it dynamically so it cannot drift.

Mismatch is subtler. If your llms.txt or its markdown twins say something materially different from your rendered pages, you have built accidental cloaking, and you should assume platforms will eventually compare the two. Derive the markdown from live content. Never let it become a separate copy that evolves on its own.

Exposure gets talked about least. A curated list of your most valuable URLs is also a convenient shopping list for scrapers and competitors. Nothing goes in the file that is not already public.

What should a buying agent find on your site

An agent shortlisting suppliers for a buyer hunts for scope, pricing, proof and canonical facts, and most B2B sites bury all four. This is the commercial half of the B2A idea. If the readers of llms.txt are agents, and the evidence says they are, then the file should point at the pages a machine needs when someone asks it to compare UK consultancies, check a vendor's credentials or build a shortlist.

  • Service scope stated plainly, what you do and what you refuse to do
  • Pricing signals, even a range or a starting price an agent can quote
  • Proof that survives scrutiny, accreditations, registrations, named credentials
  • A contact route a machine can describe to a human in one sentence
  • Canonical facts, founding date, location, company number, consistent everywhere

Link those pages before anything clever. This is the same thinking behind entity maps, machine-readable statements of who you are that stay consistent across every surface an AI checks. The file is one small output of that discipline.

What actually earns AI citations in 2026

Not this file. SE Ranking's citation analysis and Otterly's log experiment point the same way, and none of the studies above found any citation benefit at all. What does move AI visibility is the content itself, answer-shaped pages carrying quotable statistics and named sources. That is the approach examined in the Princeton GEO research we unpack here. Entity consistency matters too, so models are certain who you are and what you do. Our state of AI search report tracks how those citation patterns are shifting through the year.

So publish the file if your row in the table says yes. Then spend the real effort where the evidence points. You can see how consistently AI systems understand your business with our free entity audit, and benchmark the wider gaps with the AI marketing scorecard. Fifteen minutes for the file. The rest of the quarter for the work that gets you cited.

llms.txt questions answered

What is the difference between llms.txt and robots.txt

They pull in opposite directions. robots.txt is exclusionary, telling crawlers what they may not fetch, with decades of de facto enforcement behind it. llms.txt is invitational, suggesting what AI systems should read first, and nothing enforces it. Publishing llms.txt neither grants nor denies crawl permission, so you still manage AI crawler access through robots.txt directives.

Is llms.txt the same as a sitemap and do I need both

No. An XML sitemap aims for completeness, listing every indexable URL for search engines. llms.txt aims for curation, a short list of your very best evergreen pages with human-readable notes, per Search Engine Land's framing. Keep your sitemap regardless. Add llms.txt only if your site type justifies it.

What is llms-full.txt and should I publish both files

llms-full.txt packs the complete text of your key pages into one large markdown file, where llms.txt only links out to them. Documentation sites often publish both so agents can ingest everything in a single fetch. For a typical marketing site the full variant is rarely worth maintaining, and a lean llms.txt plus clean fast pages does the job.

Which companies actually use llms.txt

Adoption concentrates among developer-facing businesses. Anthropic serves a live llms.txt for its developer docs with more than 1,700 organised links, and Wix's research noted Anthropic referencing the file in agent documentation in September 2025. Ahrefs found 28% adoption in its technically skewed sample, against SE Ranking's 10.13% across a broader one.

Can an llms.txt file hurt my site

Not in search. Google's June 2026 guidance says the file neither harms nor helps rankings because Search ignores it. The practical risks are self-inflicted, stale content misleading agents, markdown twins drifting from live pages into accidental cloaking, and handing scrapers a tidy list of your best URLs. A quarterly review handles all three.

Is llms.txt still worth doing in 2026

For documentation and developer sites, yes, because coding agents fetch it and your users live inside those tools. For a B2B marketing site it is a reasonable 15 minute hedge with no ranking upside. For ecommerce and local businesses, skip it. Nothing measured to date suggests it earns citations, so entity work and answer-shaped content come first.

Put this to work on your business

We build exactly this, SEO, AI visibility, PPC, email and automation, as one measured system. Talk it through with a real person, no obligation.

Book a free strategy call or take the two minute scorecard