Blog
/
GEO
/
Article

GEO

Calculating...

Nov 2026

What Is llms.txt? What It Does and Whether B2B SaaS Should Bother

What is llms.txt? A markdown file that maps your best pages for AI agents. See who reads it in 2026, the v2 spec, and whether B2B SaaS needs one.

SEO for SaaS Businesses
Free LLM Optimization Checklist
A simple guide to improving your website’s visibility in AI search tools like ChatGPT and Perplexity.
Download the checklistDOWNLOAD A COPY

Free LLM Optimization Checklist

A simple guide to improving your website’s visibility in AI search tools like ChatGPT and Perplexity.

Download the checklist
Key takeaways
  • llms.txt is a markdown file at your site root that hands an LLM a curated map of your best content. It controls nothing and blocks nothing.
  • No major AI search platform reads it. Google has said outright that it doesn't use llms.txt, and server logs back that up.
  • Ahrefs checked 137,210 sites (May 2026 data) and found 97% of published llms.txt files got zero requests in a month. AI retrieval bots were 1.1% of the traffic they did get.
  • Having one doesn't lift AI citations either. SE Ranking found no correlation across nearly 300,000 domains (October 2026).
  • The one real audience is AI coding agents. Anthropic's Claude Code fetched llms.txt more often than any AI search bot, and the August 2026 v2 of the spec is written around agents.
  • For B2B SaaS: publish it if your platform generates it for you or you ship developer docs. Don't build a project around it expecting ChatGPT or Perplexity citations.
  • It is not a substitute for the things that actually drive AI visibility: crawlable pages, liftable structure, and third-party coverage.

llms.txt is a proposed standard: a single markdown file you place at yoursite.com/llms.txt that lists and summarises the pages you most want a large language model or AI agent to read. Think of it as a hand-drawn map to your best content, written for machines instead of humans. It doesn't block, rank or command anything.

It sounds like exactly the kind of thing a B2B SaaS marketing team should jump on, and most AI-visibility checklists tell you to add one immediately. We run AI search and SEO campaigns for B2B SaaS companies every day, and llms.txt comes up in almost every kickoff. So we went and checked the one thing the checklists skip: does anything actually read the file? The honest answer is more useful than the hype, and it changes what you should do about it. This is the companion piece to our guide on AI crawlers, and the two share a lesson: a lot of AI-search effort is spent on signals that no crawler consumes yet.

We refreshed this guide in November 2026. Since our first version in July, the spec itself has been rewritten (v2, August 2026), SE Ranking has tested whether the file moves AI citations, and the log data has kept piling up. The conclusion hasn't flipped. It has got sharper.

What is llms.txt, and what is it not?

llms.txt is a markdown file that gives a language model a short, curated index of your site so it doesn't have to guess which pages matter. It was proposed by Jeremy Howard of Answer.AI in September 2024, and the reasoning is sound. When a model needs context from your site, it has to decide what to pull, and raw web pages are full of navigation, scripts and markup that burn through the model's limited context window. A clean markdown summary is cheaper to read and less ambiguous.

Howard, who also co-founded fast.ai and co-created the ULMFiT approach that fed into modern language models, framed the file as a way to let authors do the selecting.

"Site authors know best, and can provide a list of content that an LLM should use. ... Language models can ingest a lot of information quickly, so it can be helpful to have a single place where all of the key information can be collated."
Jeremy Howard, Co-founder & CEO, Answer.AI · the original llms.txt proposal, September 2024

What an llms.txt file looks like

The spec is deliberately minimal. An llms.txt file is plain markdown with a defined shape: an H1 with your site or product name, a blockquote summary, then H2 sections that each hold a bullet list of links with short notes. Here is the pattern in practice.

# Acme Analytics

> Acme is a product analytics platform for B2B SaaS teams.
> It tracks events, funnels and retention across web and mobile.

## Docs

- [Quickstart](https://acme.com/docs/quickstart.md): connect your first data source
- [Event tracking](https://acme.com/docs/events.md): the core tracking API
- [Pricing](https://acme.com/pricing.md): plans and limits

## Optional

- [Changelog](https://acme.com/changelog.md): release history

Two files usually get mentioned together. The /llms.txt above is the short index that links out to detail. /llms-full.txt is a single expanded file that concatenates the actual content, meant for dropping an entire documentation set into a model in one shot.

The scale gap between them is huge. When we checked Anthropic's developer docs on 18 November 2026, its llms.txt index was about 100 KB, while its llms-full.txt was over 50 MB. No model reads 50 MB in one go, which tells you the full file is a bulk export for tools, not something an assistant loads per question.

Note the .md links in the example. The proposal also suggests serving clean markdown versions of your pages so a model reads structured text instead of rendered HTML, and in our experience that idea is quietly more useful than the index file itself.

What changed in llms.txt v2 (August 2026)

Jeremy Howard published v2 of the proposal in August 2026, and it's worth knowing because it changes who the file is for. v1 talked about language models in general. v2 is written for agents: it says agents are expected to view or search the llms.txt file, then follow the links they need. Four practical changes:

  • Discovery through link relations. A page can point to its markdown version with rel="alternate" type="text/markdown", and to the llms.txt that covers it with rel="describedby", either as an HTML link element or an HTTP Link header.
  • Files can live in subfolders. A /docs/llms.txt covers everything under /docs/, and the most specific file wins.
  • Two markdown URL styles are allowed: page.html.md and page.md.
  • "Optional" lost its special meaning. It used to tell context-building tools what to drop. In v2 it's just a convention for secondary links.

None of this changes the search question. It does tell you where the spec's own author thinks the value is: agents doing jobs, not chatbots choosing which brands to recommend.

llms.txt vs robots.txt and sitemap.xml

Where teams go wrong is treating llms.txt as a third member of the robots.txt family. It sits at the site root like they do, but it does a completely different job, and conflating the three is the single most common mistake we see in briefs on this topic.

FileJobWho it's forEnforced?
robots.txtAccess control. Says what may and may not be crawled.All crawlersWidely respected
sitemap.xmlDiscovery. Lists every URL so nothing is missed.Search crawlersWidely used
llms.txtCuration. Highlights and summarises your best pages.LLMs (in theory)Read by almost nothing

robots.txt blocks. sitemap.xml inventories everything. llms.txt selects and summarises. It is closest in spirit to a sitemap, but where a sitemap aims to be exhaustive, llms.txt is meant to be short and opinionated. The critical difference is enforcement. robots.txt and sitemaps are honoured by the crawlers they target because those crawlers agreed to. llms.txt is a suggestion that no major consumer has committed to reading, which is exactly where the evidence gets uncomfortable.

Definition

llms.txt: a markdown file at your domain root that lists and summarises your most important pages in a format optimised for large language models. It is a content guide, not an access-control file. It does not block, permit, or command any crawler.

Does anything actually read llms.txt?

The data: almost nothing reads it

Overwhelmingly, no, and this is the fact that reframes the entire topic. In a study published in June 2026, Ahrefs analysed 137,210 domains and found that 97% of published llms.txt files received zero requests of any kind across May 2026. Not from AI, not from humans, not from anything. It is the largest log study on the question to date, and nothing published since has pointed the other way.

Three statistics on llms.txt: 28 percent of sites publish it, 97 percent of files get zero requests, 1.1 percent of requests come from AI retrieval bots

What makes that silence striking is that adoption is climbing fast. Originality.ai tracked an 8.8x rise in llms.txt files between June 2025 and May 2026 (from 4,088 to 36,120 across the sites it monitors), and roughly 28% of the technical-leaning sites in the Ahrefs sample now host one. Publishing is surging while consumption flatlines. That gap, between how many people are making the file and how rarely anything opens it, is the whole story of llms.txt in 2026.

When you look at the small share of files that did get traffic, most of it isn't AI at all. SEO audit tools, generic web crawlers and tech-profiling bots like BuiltWith made up the bulk. Named AI bots were under a fifth of requests, and the retrieval crawlers that actually decide whether you appear in an AI answer were a rounding error.

Bar chart showing SEO tools and generic crawlers dominate llms.txt requests while AI retrieval bots make up just 1.1 percent

Read the bottom of that chart. The AI retrieval crawlers, the bots behind ChatGPT and Perplexity answers, accounted for 1.1% of llms.txt requests. Ahrefs noted that Slack's link-preview bot fetched llms.txt more often than PerplexityBot did.

Just as telling, the study found zero AI bot requests for llms.txt on sites where the file doesn't exist. Ahrefs reads that as AI tools fetching the file only when a link, an index or a user tells them it's there, rather than checking for it on every site. That behaviour matters, because it means an llms.txt sitting quietly at your root is not being discovered and read by AI search the way a sitemap is discovered by Google.

"In my opinion, no, not yet. There's no evidence that llms.txt improves AI retrieval, boosts traffic, or enhances model accuracy. And no provider has committed to parsing it."
Ryan Law, Director of Content Marketing, Ahrefs, on whether llms.txt is actually useful · What Is llms.txt, and Should You Care About It?, updated June 2026

What Google says about llms.txt

Google has been unusually direct about its own position. Its Search Advocate, John Mueller, compared llms.txt to the old keywords meta tag, the self-reported signal that search engines learned to ignore decades ago because anyone could claim anything.

"AFAIK none of the AI services have said they're using LLMs.TXT ... To me, it's comparable to the keywords meta tag ... this is what a site-owner claims their site is about."
John Mueller, Search Advocate, Google · in an r/TechSEO thread, reported by Search Engine Journal, April 2025

He has said it more than once. On Bluesky in June 2025 he put it more bluntly: the consumer chatbots fetch your pages for training and grounding, "but none of them fetch the llms.txt file."

Google's own AI-features optimisation guide backs him up. Its mythbusting section says you don't need to create new machine-readable files, AI text files, markup or Markdown to appear in Google Search. And at a Search Central Live event in July 2025, Gary Illyes told attendees Google doesn't support llms.txt and isn't planning to, as Search Engine Roundtable reported.

There is one genuine wrinkle worth knowing, because it points to where the file does have value. Google's Chrome team shipped a Lighthouse audit for llms.txt in its agentic browsing checks, framed entirely around AI agents using your site rather than search ranking. Read the small print, though: it only flags a file that returns a server error. A missing file is marked not applicable. So Google-the-search-company ignores it while Google-the-browser-team builds tooling around it. That split is the clue to the one audience that actually consumes the file.

The one audience that does use it: coding agents

That audience is AI coding agents. In the Ahrefs data, Anthropic's Claude Code was one of the most frequent fetchers of llms.txt, ahead of every AI retrieval bot. Even Mueller has granted it a role here, calling it a "temporary crutch, perhaps to save some tokens" for AI coding tools. Tools like Cursor and Windsurf let developers pull documentation directly into their coding context, and a well-structured llms.txt, or better still clean markdown docs served through content negotiation, makes those tools noticeably more accurate.

This is real, verifiable demand, and it is growing. It is just a very different audience from the one most B2B SaaS teams picture when they add the file.

It is worth being precise about how those agents actually use it, because it shapes what a good file looks like. A coding agent working in an IDE does not stumble onto your llms.txt through the open web. A developer points it at your docs, or your documentation platform surfaces the file through a link or a connected tool, and only then does the agent pull the index and follow the links it needs.

The value is not visibility in the sense marketers mean it; it is accuracy. When the agent has a clean, current map of your API reference and guides, it writes code against your product correctly and stops inventing endpoints that do not exist.

For a developer-tools company, fewer hallucinated integrations is a genuine product outcome. For a company whose buyers never touch an agent, that outcome simply does not apply, which is why the audience question decides everything.

In the interest of showing the full picture, there is a counter-anecdote worth naming. One practitioner, Ray Martinez, shared a log screenshot in July 2025 claiming OpenAI was pinging the llms.txt files on a few of his sites every 15 minutes looking for freshness. It made the rounds, but it covers a handful of sites, shows a fetch rather than any use of the content, and runs directly against the 137,000-domain dataset. We flag it because good analysis shows the exceptions, but it does not change the conclusion.

Does llms.txt improve AI citations?

No, not on any data we've seen. The cleanest test is SE Ranking's study of nearly 300,000 domains (October 2026 version). Only 10.13% of those domains had an llms.txt file, and the authors found no correlation between having one and how often a domain is cited by LLMs. Both their statistical analysis and their machine-learning model showed no effect.

Adoption didn't even track size. Sites in its top traffic band (100,001+ visits) had a lower adoption rate (8.27%) than sites in its lowest band (0 to 100 visits, 9.88%). The brands winning AI answers aren't winning them with this file.

llms.txt timeline: what has happened so far

WhenWhat happenedWhat it means
Sep 2024Jeremy Howard publishes the llms.txt proposalThe idea is born, aimed at LLMs in general
Nov 2024Mintlify auto-generates llms.txt for hosted docsAdoption becomes a platform default
Apr 2025John Mueller compares it to the keywords meta tagGoogle signals it won't rely on it
Jul 2025Gary Illyes: Google doesn't support itNo search ranking role
By May 2026Chrome Lighthouse has an llms.txt auditInterest moves to agents
Jun 2026Ahrefs: 97% of files get zero requestsAlmost nothing reads it
Aug 2026Spec v2, rewritten around agentsThe author repositions it for agents
Oct 2026SE Ranking: no link to AI citationsNo visibility lift

How to check whether anything reads your llms.txt

Don't take our word, or anyone's. If you already publish the file, your own server or CDN logs will tell you. It's the first check we'd run before anyone spends a sprint on it.

  1. Pull 30 days of logs from your host or CDN (Cloudflare, Fastly, Vercel and most hosts let you export or query them).
  2. Filter for requests to /llms.txt and /llms-full.txt, plus any subfolder files such as /docs/llms.txt.
  3. Group the hits by user agent. Split them into AI search and assistant bots (the ones our AI crawlers guide lists), coding agents, SEO tools and everything else.
  4. Compare with page fetches. Check how often the same AI bots fetch your normal pages. If they hit your pricing page daily and your llms.txt never, that's your answer.
  5. Repeat quarterly. If a major AI search provider ever starts reading the file, this is where you'll see it first.

For most B2B SaaS sites, the result looks like the Ahrefs chart above: a few SEO tools, the odd coding agent, and next to nothing from the bots that decide who gets cited.

Should your B2B SaaS publish one?

For most companies, the answer is: publish it only if it is effectively free, and do not expect it to move your AI search visibility. The cost-benefit is lopsided in a specific way. The benefit today is small and narrow, but so is the cost, because platforms increasingly generate the file for you without any effort on your part.

The mistake is not publishing an llms.txt; it is spending real engineering or content hours on one in the belief that it will earn you ChatGPT citations.

Start with the audience question

The question that settles it for any given company is about audience, not technology. When a client asks us whether they should invest in llms.txt, our first question back is always the same.

Field note

Who at your target account would ever point an AI tool at your documentation? For a developer-tools company selling to engineers who live in Cursor and Claude Code, the answer is "most of them," and llms.txt earns its place. For a lot of B2B SaaS, where buyers are RevOps leads or HR directors who will never open an IDE, the honest answer is "almost nobody," and that single fact decides how much effort the file is worth.

Here is the decision we actually use with clients, reduced to the three cases that cover almost everyone.

Decision guide for whether a B2B SaaS company should publish an llms.txt file

If you ship developer documentation, publish one and keep it current, because coding agents are a real and growing audience and the file demonstrably helps them. If your CMS or docs platform generates it automatically, leave it on; there is no reason to switch it off, and it costs you nothing. If neither is true and you are hoping for AI-search lift, treat it as a low priority and spend the hours on the crawlability and content work that AI answers actually reward.

This also explains the roster of big names that already publish one. When we checked on 18 November 2026, Anthropic's docs, Stripe, Cloudflare, Vercel, Supabase and Cursor all served an llms.txt. The common thread is that they sell to developers, whose coding agents genuinely use the file, and docs platforms increasingly generate it by default. Their presence on that list is a developer audience at work, not evidence that the file drives search visibility.

The case for publishing anyway

It would be unfair to present only the sceptical case, because there is a reasonable argument on the other side and we want you to weigh it yourself.

The pragmatic case for publishing anyway is that the file is cheap, it points to real and verifiable URLs rather than unverifiable keyword claims, and it may future-proof you if AI search does go agentic. Search Engine Land made a solid version of this in arguing that llms.txt is not the new meta keywords. We think that case is legitimate. We just weigh it against current evidence and land on "do it if it is free, don't if it is not," which is a different conclusion from "everyone needs one now."

How to create one without wasting time or adding risk

Option 1: let a tool generate it

You have two routes: let a tool generate it, or write it by hand. For most teams the tool route is the right one, and there is a good chance the file already exists on your site without you realising. Mintlify has auto-generated llms.txt and llms-full.txt for every documentation site it hosts since late 2024, which is precisely why so many developer-tools companies appear on the adoption lists.

Yoast's WordPress plugin generates an llms.txt with a click, free, and Wix generates and maintains one automatically for upgraded sites on a custom domain. If you are on any of these, the file is already live or one toggle away, and that is genuinely all the effort it warrants for most sites.

Option 2: write it by hand

If you write it by hand, treat it as curation, not a data dump. Give it an H1 with your product name, a one or two line summary that a model could quote verbatim, and a short list of your genuinely important pages with a plain-language note on each. Link to clean markdown versions where you can. If you follow v2, you can also add a rel="describedby" link from your docs pages to the file, so agents can find it without guessing. Resist the urge to list every URL on the site; the entire point is to be selective, and a bloated llms.txt is just a worse sitemap that no one reads. Keep it current, because a stale index that points a coding agent at a renamed or deleted page is worse than no index at all.

Risks to manage before you ship it

The risks are modest but real, and worth naming so nobody is caught out. The same Ahrefs study spotted a crawler openly identifying itself as a prompt-injection probe, systematically testing llms.txt files as an attack surface. Because agents are built to trust the file, a compromised or carelessly edited llms.txt is a place where malicious instructions could ride along into an agent's context.

The lower-stakes risks are cloaking and duplicate content: serving one llms.txt to bots and different content to users edges toward cloaking, and publishing large markdown copies of every page can create clutter if handled without care.

None of this is a reason to avoid llms.txt, but it is a reason to treat the file like code rather than marketing copy. Put it in version control, restrict who can edit it, and review changes before they ship. If a file is going to be trusted by autonomous agents, it deserves the same hygiene you would give any other trusted input.

Where llms.txt fits in a real AI-visibility strategy

The most useful way to hold llms.txt is as a small, cheap bet on an agentic future that may or may not arrive. It is not a lever you pull to appear in AI answers today, and treating it as one pulls attention away from the work that genuinely moves visibility right now. Across the B2B SaaS accounts we run, the brands that get cited and recommended in AI answers are winning on fundamentals that are already in effect, not on files that nothing reads.

Those fundamentals are concrete. Make sure the AI search and user-triggered crawlers can actually reach and parse your pages, which is the whole subject of our guide to AI crawlers and matters far more than any root-level file.

Structure your pages so answers are easy to lift, the focus of our work on content formats for AI search, because models reward content they can extract cleanly.

Build the third-party coverage, reviews and comparisons that teach models to recommend you, since that off-site footprint shapes AI answers more than anything on your own domain.

And track where you actually appear, using the approaches in our guide to measuring AI search visibility, so you are optimising against evidence rather than hope.

The full playbook lives in our generative engine optimisation guide, and if you would rather have a team run it for you, that is exactly what our AI search optimisation service is built to do. Not sure where you stand today? Start with a free AI search visibility audit and we'll show you which prompts you appear in and which you don't.

So publish an llms.txt if your platform hands it to you or you sell to developers. Skip the hand-built project if you are hoping it will get you into ChatGPT, because the data does not support that yet. And spend the time you save on the crawlability, structure and authority work that AI answers actually reward today. That is the honest, current read, and it is the one we would give a client paying for our time.

Frequently asked questions about llms.txt

Is llms.txt the same as robots.txt?

No. robots.txt is an access-control file that tells crawlers what they may and may not crawl, and it is widely respected. llms.txt is a content guide that lists and summarises your best pages for language models. It blocks nothing and commands nothing, and unlike robots.txt no major AI platform has agreed to honour it.

Does Google use llms.txt for ranking or AI Overviews?

No. Google's John Mueller compared llms.txt to the old keywords meta tag and said none of the consumer AI chatbots fetch it, and Google's own AI-features guide says you don't need new machine-readable or AI text files to appear in Google Search. Normal SEO and clean, crawlable content are what drive AI Overview visibility.

Does ChatGPT or Perplexity read llms.txt?

Not in any meaningful way today. In Ahrefs' June 2026 study of 137,210 domains, AI retrieval bots, the crawlers behind ChatGPT and Perplexity answers, made up just 1.1% of the requests that llms.txt files received, and 97% of files got no requests at all. Ahrefs found AI bots never requested the file on sites that don't have one, which suggests they fetch it only when a link or a user points them to it.

Does having an llms.txt file improve AI citations?

No evidence says it does. SE Ranking studied nearly 300,000 domains and found no correlation between having an llms.txt file and how often a domain is cited by LLMs. What moves citations is crawlable, well-structured content and coverage on the third-party sites AI answers draw from.

Is llms.txt an official standard?

Not yet. It's a proposal by Jeremy Howard, published at llmstxt.org in September 2024 and revised as v2 in August 2026. No major AI search provider has committed to reading it, although documentation platforms and many developer-tools companies publish one.

Who actually uses llms.txt then?

AI coding agents. Anthropic's Claude Code was one of the most frequent fetchers of llms.txt in the Ahrefs data, ahead of every AI search bot, and the August 2026 v2 of the spec is written around agents. Tools like Cursor and Windsurf can pull your documentation into a developer's coding context, so an llms.txt has genuine value if you sell to developers who use those tools.

Should a B2B SaaS company create an llms.txt file?

Publish one if it is effectively free, meaning your CMS or docs platform generates it, or if you ship developer documentation that coding agents will use. Do not build a project around it expecting AI search citations, because the evidence does not support that yet. For most teams it is a low-effort, low-priority item rather than a growth lever.

How do I create an llms.txt file?

The easiest route is a tool. Mintlify auto-generates one for every docs site it hosts, Yoast's WordPress plugin generates one with a click, and Wix generates one automatically for upgraded sites. To write it by hand, add a markdown file at your domain root with an H1 for your product name, a short summary blockquote, and H2 sections listing your most important pages with a note on each. Keep it curated rather than exhaustive.

Work with MADX

Want this done for your brand? Get a free AI visibility audit.

Get my free AI visibility audit
Get started

Ready to Win in AI Search?

Free GEO audit and a 30-min teardown of your current AI visibility. No pitch, no commitment.

OR, REQUEST AN AUDIT