llms.txt is a plain Markdown file at the root of a website that lists the site’s most useful pages for large language models and AI agents. It is a community proposal, and Google says Google Search ignores it. No AI answer engine documents reading it to rank or cite anyone. The agents that do read it are the ones already working inside a site, mostly coding assistants reading developer documentation.

So ship one if it costs you an hour, then spend the real effort on what decides whether AI crawlers and agents can read your site at all. I run SEO and GEO strategy across five B2B SaaS accounts, and this site has served an llms.txt since November 23, 2026. Both halves are below: the file, and everything that matters more.

What is llms.txt?

An llms.txt file is a short, structured index of a website, written in Markdown and served at /llms.txt, that tells an AI agent what the site is and which pages are worth reading. Jeremy Howard of Answer.AI proposed it in September 2024. The current spec is version 2.1, revised in November 2026. Some people type it as llm txt or llms txt; the filename is always plural and lowercase.

The format is deliberately small:

  • An H1 with the site or project name. The spec calls it “the only required section.”
  • A blockquote summary of what the site is.
  • H2 sections of links, each line a [name](url) with optional notes after a colon.
  • Markdown versions of the pages it links to, at the same URL with .md added.

The file exists because a context window is a budget. A web page is mostly navigation, scripts, cookie banners, and layout, and an agent pays tokens to read all of it. A clean index plus clean Markdown copies lets the agent skip that and go straight to the text.

The spec changed twice in 2026, and both changes matter if you build a file now. Version 2 (August 2026) added standard discovery tags, rel="alternate" type="text/markdown" for a page’s Markdown copy and rel="describedby" for the llms.txt that covers it, plus files for subpaths. It also removed the special meaning of the “Optional” section. Version 2.1 (November 2026) allowed relative links with a Base URL: line, short summaries under each H2, and dropped the Optional convention entirely.

llms.txt example: the file on this site

Here is the llms.txt this site serves, trimmed to a few lines per section:

# Drew Garrett

> SEO and generative engine optimization (GEO) for B2B SaaS. Strategy, audits, and AI search visibility work, plus a blog on SEO, GEO, and SEO tools written from live client accounts (clients anonymized).

Every link below is the Markdown version of the page. Drop the .md for the HTML page.

## Pages

- [Home](https://drewgarrett.org/home.md): SEO and GEO consulting for B2B SaaS: outcomes, offers, and proof.
- [About](https://drewgarrett.org/about.md): Who Drew Garrett is and how he works.

## Services

- [Generative Engine Optimization Services (GEO & AEO)](https://drewgarrett.org/services/generative-engine-optimization-consulting.md): Generative engine optimization services, AEO, and LLM SEO in one engagement: get your brand named in ChatGPT, Claude, Gemini, Perplexity, and AI Overviews.

## Blog: Generative Engine Optimization

- [Generative Engine Optimization hub](https://drewgarrett.org/blog/generative-engine-optimization.md): Winning AI Overviews, LLM answers, and off-site visibility. Measurement over vanity metrics.

The full llms.txt file runs 234 lines and 202 links: the core pages, every service page, the case studies, and every published post grouped by topic. Nobody maintains it by hand. The site is built with Astro, and a build step generates the file from the same content collection that builds the blog, so a new post appears in it on the next deploy. A second build step writes a Markdown copy of every indexable page, which is what each link points to. Those copies do get read: in an AI shortlist test on November 29, 2026, Perplexity cited the Markdown copy of this site’s restaurant marketing agency list as a source, by its .md URL. Whether Perplexity reached it through llms.txt or another path, the answer does not say. The decisions behind it:

  • Every link points to the Markdown copy, because the point of the file is to save an agent from parsing HTML.
  • The file is served with an X-Robots-Tag: noindex header, so it never shows up in Google as a thin page. John Mueller of Google said in July 2025 that “using noindex for it could make sense, as sites might link to it”.
  • Every page announces its Markdown copy with a rel="alternate" type="text/markdown" tag and links it in the footer. The newer rel="describedby" tag from version 2 is not on the site yet.

llms.txt vs robots.txt and sitemap.xml

llms.txt is a reading guide; robots.txt is an access rule, and sitemap.xml is a discovery list for search engines. They do different jobs, and llms.txt replaces neither.

FileWho it is forWhat it doesEnforced?
robots.txtEvery crawler, including AI crawlersAllows or disallows crawling by user agentHonored by the major search and AI crawlers’ automated bots
sitemap.xmlSearch engine crawlersLists every URL you want discovered and indexedA hint to crawlers
llms.txtAI agents and LLM toolsSummarizes the site and points to the pages worth readingNothing reads it by default

If you want an AI crawler kept out, robots.txt is the only one of the three that does it. The XML sitemap guide covers the discovery side.

Who actually reads llms.txt?

Coding agents and documentation tools read llms.txt; Google Search, ChatGPT search, Claude search, and Perplexity have not documented reading it for ranking or citations. Here is what each company’s own documentation and site showed on November 29, 2026:

CompanyPublishes an llms.txtWhat its own documentation says
GoogleYes, on the Gemini API docs (ai.google.dev/gemini-api/docs/llms.txt); developers.google.com/llms.txt returns 404Google Search, including AI Overviews and AI Mode, ignores the file
OpenAIYes, on developers.openai.com; openai.com/llms.txt returns 404Its crawler page describes OAI-SearchBot, GPTBot, and ChatGPT-User with robots.txt controls; llms.txt appears only as a link to the docs index
AnthropicYes, on platform.claude.com; anthropic.com/llms.txt returns 404Its crawler page describes ClaudeBot, Claude-User, and Claude-SearchBot with robots.txt controls and does not mention llms.txt
PerplexityYes, on docs.perplexity.ai; perplexity.ai/llms.txt returns 404Its crawler page describes PerplexityBot and Perplexity-User; llms.txt appears only as a link to the docs index
Chrome (Lighthouse)Not applicableAn llms.txt audit flags a file that returns a server error; a missing file is “Not Applicable” because it is optional “at the moment”

The pattern is the whole story. Every lab publishes the file on its developer documentation, and none publishes it on its corporate site. Perplexity’s and OpenAI’s crawler pages each carry a line pointing agents at the docs’ llms.txt, and Perplexity’s adds: “Use this file to discover all available pages before exploring further.” That is an instruction to an agent reading the docs. It says nothing about how a crawler treats your site.

Google’s position is the clearest on record. Its guide to AI features says: “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 will neither harm nor help your site’s visibility or rankings in Google Search, as Google Search ignores them.”

Three independent datasets line up with the documentation:

  • Ahrefs studied 137,210 domains in its analytics product. 28% published an llms.txt, and 97% of those files received zero requests in May 2026. Of the requests that did arrive, 96% came from bots, and 12% came from GEO tools, llms.txt checkers, and researchers: the industry studying itself. Claude-Code fetched llms.txt files more often than every AI search bot, assistant, and training crawler except two. The sample skews toward SEO-aware sites, so real adoption is lower.
  • SE Ranking analyzed nearly 300,000 domains (October 2026) and found the file on 10.13% of them. Removing llms.txt from its citation model made the model more accurate. Its conclusion: “LLMs.txt doesn’t impact how AI systems see or cite your content today.”
  • Semrush checked its own server logs from mid-August to late October 2025 and found zero visits to its llms.txt from Google-Extended, GPTBot, PerplexityBot, or ClaudeBot.

So what? The file has readers, and they are the agents a developer points at a site. A search crawler deciding what to cite is not among them.

llms.txt is a table of contents for an agent that is already on your site. It does nothing to get an agent there.

Does llms.txt actually work?

llms.txt works for AI coding agents reading documentation and does nothing measurable for rankings or AI citations. Those are two different jobs, and most of the argument about the file comes from mixing them up.

For citations and search, the documented answer is no: Google ignores it, no answer engine documents using it, and the SE Ranking and Ahrefs data show no effect. The LLM SEO ranking factors meta-analysis from Zyppy scores it 2.0 out of 10, last of 23 factors.

For agents, the evidence is real but comes from the companies that sell the files. Mintlify, which hosts documentation sites, reports about 10.8 million llms.txt requests across its customers’ docs in August 2026. Its benchmark of 2,400 tasks across 20 docs sites, run with Claude Code and Codex, found agents averaged 2.23 failed requests per task on HTML, 1.42 on Markdown, and 0.11 on Markdown that linked to an llms.txt, and used 26% to 60% fewer tokens. Treat it as vendor data. It is still the right shape of result: the file helps an agent that has already decided to read your docs find the right page faster.

For a B2B SaaS company, that splits the decision by site:

  • Developer docs and API references: ship llms.txt and Markdown copies. Your customers’ engineers point coding agents at your docs every day, and the docs platforms (GitBook, Mintlify, and others) generate both automatically.
  • The marketing site: llms.txt barely gets checked, but sometimes I add it just in case. Ship it if it is cheap, and expect nothing from it. The pages that sell (pricing, product, comparison, case studies) win AI answers by ranking and by being named on other sites.

What AI crawlers need from your site

AI crawlers need permission in robots.txt and content they can read without running JavaScript. Access comes first, because a blocked crawler makes every other fix irrelevant.

Each major AI company now runs separate crawlers for separate purposes, and the automated ones honor robots.txt by user agent:

PurposeOpenAIAnthropicPerplexityGoogle
Model trainingGPTBotClaudeBot(none; PerplexityBot “is not used to crawl content for AI foundation models”)Google-Extended token (Gemini)
AI search indexOAI-SearchBotClaude-SearchBotPerplexityBotGooglebot (Search, AI Overviews, AI Mode)
A user’s live requestChatGPT-UserClaude-UserPerplexity-Usern/a

Sources: OpenAI’s crawler page, Anthropic’s crawler page, and Perplexity’s crawler page, all read November 29, 2026. Two notes from them: OpenAI says for ChatGPT-User “robots.txt rules may not apply” because a person triggered the fetch, and Perplexity says the same of Perplexity-User. Google’s Google-Extended governs Gemini’s use of your content and, per Google, “does not impact a site’s inclusion in Google Search nor is it used as a ranking signal.”

The split lets you opt out of training and stay in AI search. Most of the traffic is training: Cloudflare measured training at “nearly 80% of the crawling from AI bots” in mid-2025, with crawl-to-referral ratios of nearly 50,000 to 1 for Anthropic, 887 to 1 for OpenAI, and 118 to 1 for Perplexity. A training crawl sends no visitors on its own, so blocking GPTBot or ClaudeBot costs no referral traffic. It can cost something harder to measure: what the next model knows about your brand before it searches anything. Blocking OAI-SearchBot, Claude-SearchBot, or PerplexityBot removes you from those answers outright.

Check the file before you assume it is clean. On a healthcare SaaS account I run, the first technical review found robots.txt blocking Google-Extended. For a brand that wants to show up in Gemini, that block works against the goal, so I recommended reversing it after a legal review, and the client reversed it.

This site’s robots.txt allows every crawler. The full rule syntax, including per-bot blocks, is in the robots.txt SEO playbook.

How to make a site readable for AI agents

A site is readable for AI agents when the answer is in the HTML, under a header that names it, in a passage that makes sense on its own, backed by markup and facts a machine can parse. llms.txt is the last and smallest item on the list. The fixes, in priority order:

1. Put the content in the HTML

The major AI crawlers fetch HTML and do not execute JavaScript. Vercel’s study with MERJ found that “none of the major AI crawlers currently render JavaScript”; ChatGPT’s and Claude’s crawlers download JavaScript files but never run them. Gemini is the exception, because it uses Googlebot’s rendering. If your pricing table, feature list, or FAQ loads client-side, an AI crawler sees an empty shell. Open the raw page source with View Source or curl, which shows what a crawler receives, and search for the sentence you want quoted. If it is missing, so is your page, as far as most AI crawlers can tell. The technical SEO guide covers rendering in depth.

2. Clean header outlines

Headers are how a model chunks a page and decides which passage answers which question. On five B2B SaaS accounts I have run, I found broken heading outlines: multiple H1s (27 URLs on one legal site), an H3 before the first H2, stat numbers marked up as headings, FAQ questions tagged as H5s, and cookie-banner labels sitting in the outline. Each one tells a parser the wrong thing about the page. One H1, H2s phrased the way a buyer asks, and H3s under them.

3. Self-contained passages

A passage gets quoted only if it makes sense on its own, read cold, with no paragraph before it. The rule I put in briefs for writers: “Write every question so it stands on its own: name [the brand] and the audience, and never use ‘you,’ ‘we,’ ‘our,’ or ‘it.’” Start each section with its answer, name the product and the audience in that sentence, and drop “as mentioned above.” On one cybersecurity hub, 222 of 280 pages had no FAQ at all, which left most of the hub with no question-shaped passage for an AI answer to lift. The fuller method is in how to optimize content for LLMs.

4. Schema that matches the page

Structured data tells a machine what a page is: a product with a price, an organization with an address, an article with an author. Google says “Structured data isn’t required for generative AI search, and there’s no special schema.org markup you need to add,” and still recommends it for SEO. On a cybersecurity SaaS account, during a comprehensive schema and architecture window, organic clicks rose 45% month over month and BOFU click capture doubled on nearly flat impressions. The folder consolidation shared that window, so schema does not get all the credit. The rollout method is in schema markup for SEO.

5. Facts in crawlable text

Agents quote specifics: numbers, names, prices, dates. Customer counts, named customers, and “trusted by” figures belong in the HTML as text, because a logo wall in an image gives a crawler nothing to quote. The same goes for gated content. As I told one HR-tech client, “Every gated PDF is a citation that isn’t happening.” If the best data you have sits behind a form, no crawler and no agent will ever read it.

6. Markdown copies and an llms.txt

Once rendering, headers, passages, schema, and crawlable facts are in place, a Markdown copy of each page and an llms.txt index are cheap to add and help any agent that comes looking. On a static site it is a build step. On a CMS, a plugin or a free generator does it. This is the step that gets the most attention and moves the least.

A readable site still has to be retrieved

A readable page only matters once an AI engine retrieves it, and retrieval is decided by search rank and off-site presence. On a marketing-tech account I run, once retrieved, the brand’s pages were cited 81% of the time; the gap was being retrieved in only 5% of category answers. The pages held up once found. The engines were not finding them for non-branded questions.

The rest of the answer sits on other websites. Across six B2B SaaS accounts I track, 88.7% of the sources AI answers cited were independent third parties, 8.7% were competitors, and 2.6% were the brand’s own site. Making your own site agent-readable improves the 2.6%. The rest comes from reviews, communities, press, and partner pages, which is why GEO and SEO are one program: ranking in classic search is still how a page gets into the set the models draw from.

I have seen success in ChatGPT with tactics Google says you don’t need, so test your own extras against a tracked prompt set before you write any of them off. Spend the first hour on access and rendering, the next ten hours on headers, passages, and schema, and the remaining time on being named in AI answers and on other sites. If you want that sequence built for your category, that is what GEO consulting for B2B SaaS companies covers.

Agentic SEO and AI agent SEO: two meanings

Agentic SEO means two things in 2026: SEO work done by AI agents, and optimizing a site so AI agents can read and act on it. The search results for agentic seo mix both, and so does most writing about it.

  • SEO done by agents is a workflow question: agents that run audits, pull keyword data, draft briefs, and check pages. This site is built and run that way, with Claude Code running the research and publishing gates; the workflow is in Claude Code for SEO.
  • AI agent SEO, meaning SEO for agents, is the subject of this page: access, rendered HTML, clean structure, and an index like llms.txt, so an agent that arrives with a task can complete it. Browsing agents that compare vendors, read pricing pages, and fill out forms need the same fundamentals, plus forms and pricing that work in plain HTML.

Both meanings end in the same place. The agent reading your page wants the answer fast, in text, with the facts attached.

How to create an llms.txt file

You create an llms.txt file by writing a short Markdown index of your key pages and serving it at the root of your domain. It takes under an hour.

  1. Pick the pages. Product and pricing pages, the main service or solution pages, case studies, documentation, and your best guides. Skip tag archives, legal boilerplate, and anything you would not want quoted.
  2. Write the file. An H1 with your company name, a one-sentence blockquote that says what you do and for whom, then H2 sections of [Page name](url): one-line description links. Write the descriptions the way you would want an AI answer to describe the page.
  3. Generate it if you can. Docs platforms build one automatically. On a static site, generate it at build time from your content source so it never goes stale. An llms.txt generator works for a one-off, but a hand-built file goes stale the first time you publish without updating it.
  4. Serve it at /llms.txt as plain text with a 200 status. A server error is the one thing the Lighthouse audit flags.
  5. Add X-Robots-Tag: noindex in your server or CDN config so the file does not get indexed as a page.
  6. Add Markdown copies if you can, and announce them with rel="alternate" type="text/markdown". Point the llms.txt links at them.
  7. Keep it small. The file is meant to save an agent tokens. A list of every URL on a 10,000-page site defeats the purpose; that list is your sitemap.

Frequently asked questions about llms.txt

Is llms.txt needed?

No, llms.txt is not needed to appear in Google Search, AI Overviews, ChatGPT, Claude, or Perplexity. Google’s documentation says its Search ignores the file, and none of the AI companies’ crawler pages lists it as something their crawlers use. It is useful for documentation sites that coding agents read, and optional everywhere else.

Are llms.txt files worth it for a B2B SaaS site?

llms.txt files are worth it for a B2B SaaS company’s developer docs and worth about an hour on the marketing site. Docs get read by customers’ coding agents, and docs platforms generate the file for free. On the marketing site the file costs little and returns little, so build it once, automate it, and spend the budget on rendering, headers, and off-site presence.

What is the best llms.txt generator?

The best llms.txt generator is the one built into your publishing system, because it updates the file every time you publish. Docs platforms like Mintlify and GitBook generate llms.txt and Markdown copies automatically, and a static site can generate it at build time from its content files, the way this site does. One-off web generators and SEO plugins work for a first version. Some AI visibility trackers include one; LLMrefs bundles a generator in its plan, covered in the LLM SEO tools stack.

What is llms-full.txt?

llms-full.txt is a single file that contains the full text of every page an llms.txt links to, so an agent can load a whole documentation set in one request. Mintlify says it developed the format with Anthropic for documentation sites; it is not part of the llmstxt.org spec. It suits a compact API reference and can be very large on a big docs site, which works against the token savings the format exists for.

Should you noindex llms.txt?

Yes, noindex llms.txt with an X-Robots-Tag: noindex HTTP header. The file is a list of links, and indexed it becomes a thin page that can show up in search results. John Mueller of Google said noindexing it “could make sense,” and it does not stop an agent from reading the file.

Can llms.txt block AI crawlers?

No, llms.txt cannot block AI crawlers. It is a reading guide with no access rules in the spec. To keep a crawler out, disallow its user agent in robots.txt (GPTBot or ClaudeBot for training, OAI-SearchBot or Claude-SearchBot for AI search), or use your CDN’s bot controls.

For the bigger picture of how AI answers choose sources, see where ChatGPT gets its information and the rest of the generative engine optimization hub.

What changed

  • November 30, 2026: Added the first trace of an AI engine reading this site's Markdown copies: Perplexity cited one by its .md URL in a November 29 test.