# llms.txt: what it is, who reads it, and do you need one

> What an llms.txt file is, what Google says about it, what Lighthouse's new llms.txt check tests, and whether a small-business site needs one.

Published 2026-10-25 by Site Speed Labs.
Canonical: https://www.sitespeedlabs.com/blog/llms-txt

If you have looked into making your site readable by ChatGPT or Claude, you have probably met llms.txt. Some guides call it essential for AI search. Google says its search ignores it. And since May 2026, Google's own Lighthouse tool, the engine behind PageSpeed Insights, has a check that grades it.

All three statements are true at once, which is why the topic is confusing. This post explains what the file is, who reads it today, what the new Lighthouse check tests, and how to decide whether your site needs one. We publish one ourselves, at [sitespeedlabs.com/llms.txt](https://www.sitespeedlabs.com/llms.txt), so the examples come from a real file.

## What llms.txt is

llms.txt is a plain text file at the root of your site, at `yoursite.com/llms.txt`. It is a short, written map of the site for large language models (LLMs, the AI systems behind assistants like ChatGPT, Claude and Gemini). The idea was [proposed by Jeremy Howard in September 2024](https://llmstxt.org/). It is a community proposal, not a web standard, and no AI company is obliged to read it.

The file is written in Markdown, the simple formatting language where `#` starts a heading and `[text](link)` makes a link. The proposal asks for a fixed order:

<figure class="not-prose">
<div role="img" aria-label="The parts of an llms.txt file, top to bottom: an H1 title, which is the only required part; an optional one-paragraph summary in a blockquote; optional notes; optional sections of links with a short note each; and an optional section called Optional for links an agent can skip." style="display:grid;gap:6px;font-size:0.92rem;line-height:1.4">
<div style="border:1px solid var(--color-field);background:color-mix(in srgb, var(--color-field) 14%, transparent);border-radius:6px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline"><span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-field);min-width:0"># Site Speed Labs</span><strong style="color:var(--color-ink)">Title</strong><span style="flex:1 1 12rem;min-width:0;font-size:0.85em;color:var(--color-muted)">The name of the site. The only required part.</span></div>
<div style="border:1px solid var(--color-line);background:var(--color-card);border-radius:6px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline"><span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-muted);min-width:0">&gt; Website speed and...</span><strong style="color:var(--color-ink)">Summary</strong><span style="flex:1 1 12rem;min-width:0;font-size:0.85em;color:var(--color-muted)">One paragraph saying what the business does.</span></div>
<div style="border:1px solid var(--color-line);background:var(--color-card);border-radius:6px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline"><span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-muted);min-width:0">plain paragraphs</span><strong style="color:var(--color-ink)">Notes</strong><span style="flex:1 1 12rem;min-width:0;font-size:0.85em;color:var(--color-muted)">Anything a reader should know before following the links.</span></div>
<div style="border:1px solid var(--color-line);background:var(--color-card);border-radius:6px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline"><span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-muted);min-width:0">## Pricing</span><strong style="color:var(--color-ink)">Link sections</strong><span style="flex:1 1 12rem;min-width:0;font-size:0.85em;color:var(--color-muted)">Headed lists of your important pages, each a link with a short note.</span></div>
<div style="border:1px dashed var(--color-line);border-radius:6px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline"><span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-muted);min-width:0">## Optional</span><strong style="color:var(--color-ink)">Skippable links</strong><span style="flex:1 1 12rem;min-width:0;font-size:0.85em;color:var(--color-muted)">Pages an assistant can leave out when it is short of space.</span></div>
</div>
<figcaption>The parts of an llms.txt file, in the order the <a href="https://llmstxt.org/">llmstxt.org proposal</a> sets out. Only the title is required; the highlighted box is the one line every valid file has.</figcaption>
</figure>

A short version for a local business might look like this:

```
# Riverside Dental

> Family dental practice in Riverside. Check-ups, hygiene, whitening and emergency appointments, Monday to Saturday.

## Services
- [Treatments and prices](https://example.com/prices): every treatment with its fee
- [Emergency appointments](https://example.com/emergency): same-day slots and how to book

## Optional
- [Our team](https://example.com/team): dentists and hygienists
```

The proposal also suggests offering a clean Markdown copy of important pages at the same address with `.md` added. We do that for our posts, but it is a separate step and you can skip it.

## llms.txt vs robots.txt

People often assume llms.txt is a way to block or allow AI. It is not. That job belongs to robots.txt, which we covered in [AI crawlers in robots.txt](/blog/ai-crawlers-robots-txt). The two files sit side by side and do different things.

<figure class="not-prose">
<div role="img" aria-label="Comparison of robots.txt and llms.txt. robots.txt answers may I: it gives crawlers rules about what they may fetch, it is a long-established standard, and major crawlers including Google and OpenAI follow it. llms.txt answers what is here: it is a map of your important pages with summaries, it is a proposal from 2024, and Google Search ignores it." style="display:flex;flex-wrap:wrap;gap:10px;font-size:0.92rem;line-height:1.4">
<div style="flex:1 1 15rem;min-width:0;border:1px solid var(--color-line);background:var(--color-card);border-radius:6px;padding:12px 14px">
<div style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-field)">robots.txt</div>
<div style="font-weight:700;color:var(--color-ink);margin:2px 0 8px">"May I?"</div>
<div style="color:var(--color-muted);font-size:0.88em;display:grid;gap:6px"><span>Rules about which crawlers may fetch which pages.</span><span>A standard since 1994, written up as RFC 9309 in 2022.</span><span>Followed by Google, OpenAI, Anthropic and the other major crawlers.</span></div>
</div>
<div style="flex:1 1 15rem;min-width:0;border:1px solid var(--color-field);background:color-mix(in srgb, var(--color-field) 14%, transparent);border-radius:6px;padding:12px 14px">
<div style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.85em;color:var(--color-field)">llms.txt</div>
<div style="font-weight:700;color:var(--color-ink);margin:2px 0 8px">"What's here?"</div>
<div style="color:var(--color-muted);font-size:0.88em;display:grid;gap:6px"><span>A map of your important pages, with a summary of each.</span><span>A community proposal from 2024.</span><span>Ignored by Google Search. No major AI company has said its crawlers read it.</span></div>
</div>
</div>
<figcaption>robots.txt sets the rules; llms.txt is a guide for whoever chooses to read it. Sources: <a href="https://www.rfc-editor.org/rfc/rfc9309">RFC 9309</a>, <a href="https://llmstxt.org/">llmstxt.org</a>, <a href="https://developers.google.com/search/docs/fundamentals/ai-optimization-guide">Google's AI optimization guide</a>.</figcaption>
</figure>

Putting "don't train on my content" in llms.txt does nothing. If you want to control AI crawlers, edit robots.txt.

## Who reads llms.txt today

**Google Search does not.** Google's [guide to AI features in Search](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide) says you don't need "machine readable files, AI text files, markup, or Markdown" to appear in Google Search, including its AI answers, "as Google Search itself doesn't use them." It adds that keeping such a file "will neither harm nor help your site's visibility or rankings in Google Search." So an llms.txt will not move you up in Google or into AI Overviews.

**Most AI crawlers rarely ask for it.** Ahrefs [looked at about 38,000 domains](https://ahrefs.com/blog/what-is-llms-txt/) that publish a valid llms.txt and found that 97% of them received no requests for the file at all in May 2026, from bots or people. Ahrefs also notes that none of the big AI providers has announced that its crawlers use the file.

<figure class="not-prose">
<div role="img" aria-label="Bar chart. Of about 38,000 domains with a valid llms.txt file, 97 percent received no requests for it in May 2026, and 3 percent received at least one." style="display:grid;gap:10px;font-size:0.92rem;line-height:1.4">
<div style="display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center"><span style="flex:0 0 11rem;min-width:0;color:var(--color-ink)">No requests at all</span><div style="flex:1 1 10rem;min-width:0;display:flex;align-items:center;gap:8px"><div style="width:97%;height:1.2rem;background:var(--color-muted);border-radius:3px"></div><span style="font-weight:700;color:var(--color-ink)">97%</span></div></div>
<div style="display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center"><span style="flex:0 0 11rem;min-width:0;color:var(--color-ink)">At least one request</span><div style="flex:1 1 10rem;min-width:0;display:flex;align-items:center;gap:8px"><div style="width:3%;height:1.2rem;background:var(--color-field);border-radius:3px"></div><span style="font-weight:700;color:var(--color-ink)">3%</span></div></div>
</div>
<figcaption>Of the sites that had an llms.txt, almost none saw anyone fetch it in a month. Source: <a href="https://ahrefs.com/blog/what-is-llms-txt/">Ahrefs, study of 137,000 domains</a>, May 2026 data. Their sample leans towards tech-minded site owners.</figcaption>
</figure>

**Some tools do read it.** The file is used most in software documentation, where coding assistants fetch a project's llms.txt to find the right pages. Anthropic, for example, publishes one for [its own developer docs](https://platform.claude.com/llms.txt). Outside documentation the readers are few: one site owner who [logged every request for the file](https://dejan.ai/blog/crawler-census-robots-llms-okf/) over 20 days counted 157 fetches in all, mostly from browsers and unnamed tools. One came from Anthropic's crawler, three from Google's and none from OpenAI's. Agents that work for one person on one task, the audience the file was designed for, are the likeliest readers as they become more common.

## Lighthouse now checks llms.txt

The reason the topic has come back is a change in Lighthouse, the open-source tool from Google that produces the scores in PageSpeed Insights. Its [release notes](https://github.com/GoogleChrome/lighthouse/releases) show a new "Agentic Browsing" category added in version 13.2 (1 May 2026) and switched on by default in 13.3 (7 May). Version 13.4.1 in July enabled it through the PageSpeed Insights API. Lighthouse itself describes the category as "still under development and subject to change."

The category is scored as a fraction of checks passed, not out of 100, and it is separate from the Performance and SEO scores. One of its checks is called "llms.txt follows recommendations". We read [its source code](https://github.com/GoogleChrome/lighthouse/blob/main/core/audits/agentic/llms-txt.js) to see what it does, because the outcome depends on a detail most guides skip.

<figure class="not-prose">
<div role="img" aria-label="How the Lighthouse llms.txt check decides. It fetches yoursite.com/llms.txt. If the server answers not found or another 4xx error, the check is marked not applicable and nothing is lost. If the server errors, rate limits, or the fetch fails, the check fails. If the server answers OK, the file passes only when it has a top-level heading (a line starting with a hash, a space and a title), at least one Markdown link, and 50 or more characters." style="display:grid;gap:4px;font-size:0.92rem;line-height:1.4">
<div style="border:1px solid var(--color-line);background:var(--color-card);border-radius:6px;padding:10px 12px;color:var(--color-ink)">Lighthouse fetches <span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.9em">yoursite.com/llms.txt</span></div>
<div aria-hidden="true" style="padding-left:1.1rem;color:var(--color-muted);line-height:1;font-size:1.1rem">&#8595;</div>
<div style="display:flex;flex-wrap:wrap;gap:8px">
<div style="flex:1 1 10rem;min-width:0;border:1px solid var(--color-line);border-radius:6px;padding:10px 12px"><div style="font-weight:700;color:var(--color-ink)">"Not found" (404 or other 4xx)</div><div style="font-size:0.85em;color:var(--color-muted);margin-top:4px">Not applicable. Having no file costs you nothing.</div></div>
<div style="flex:1 1 10rem;min-width:0;border:1px solid var(--color-status-poor);border-radius:6px;padding:10px 12px"><div style="font-weight:700;color:var(--color-ink)">Server error, 429, or no answer</div><div style="font-size:0.85em;color:var(--color-status-poor);margin-top:4px">Fails.</div></div>
<div style="flex:1 1 10rem;min-width:0;border:1px solid var(--color-field);background:color-mix(in srgb, var(--color-field) 14%, transparent);border-radius:6px;padding:10px 12px"><div style="font-weight:700;color:var(--color-ink)">"OK" (200)</div><div style="font-size:0.85em;color:var(--color-muted);margin-top:4px">Whatever came back is read as your file. Go on below.</div></div>
</div>
<div aria-hidden="true" style="padding-left:1.1rem;color:var(--color-muted);line-height:1;font-size:1.1rem">&#8595;</div>
<div style="border:1px solid var(--color-line);background:var(--color-card);border-radius:6px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--color-ink)"><span style="flex:1 1 100%;font-size:0.85em;color:var(--color-muted)">Passes only if all three are true:</span><span>a top-level heading: <span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace"># Title</span></span><span>at least one <span style="font-family:ui-monospace,SFMono-Regular,Menlo,monospace">[text](link)</span></span><span>50 characters or more</span></div>
</div>
<figcaption>A missing llms.txt is not held against you. A broken one is. Source: the <a href="https://github.com/GoogleChrome/lighthouse/blob/main/core/audits/agentic/llms-txt.js">llms-txt audit</a> in the Lighthouse code.</figcaption>
</figure>

Two things follow from that.

First, you do not need to rush out an llms.txt to protect a score. A site with no file and a proper "not found" answer is marked not applicable.

Second, the sites that fail are often sites that never made a file at all. Some platforms and themes answer any unknown address with a normal page and an "OK" status instead of "not found". Developers call this a soft 404. When Lighthouse asks for `/llms.txt` on such a site, it gets your home page or an error page in HTML, finds no `#` heading and no Markdown link in it, and fails the check. If you see "llms.txt does not follow recommendations" and you have never created one, this is the likely cause, and the fix is to make missing pages return a real 404, which is good practice for search engines anyway.

## Do you need an llms.txt?

For most small-business sites, it is a low priority. It costs little, it harms nothing, and the chance that it changes what an AI assistant says about you is small today. Other things matter more to an AI assistant: that your words are in the page's HTML rather than built by JavaScript (see [our JavaScript test](/blog/ai-crawlers-javascript)), that robots.txt lets the right crawlers in, and that your prices and services are written plainly on the page.

| Your situation | What we suggest |
| :-- | :-- |
| No llms.txt, and missing pages return a proper 404 | Fine as it is. Add one when the bigger items are done. |
| Lighthouse says your llms.txt fails, and you never made one | Fix the soft 404 so missing pages return "not found". |
| You have one, but it is out of date or lists old prices | Update or remove it. A wrong map is worse than none. |
| You sell software, an API or anything with documentation | Worth doing now. Coding tools are the likeliest readers today. |
| Your words, prices and robots.txt are already in good shape | Add one. It is the cheap last step, not the first. |

If you do add one, keep it accurate and short: what you do, where you are, and links to the five to ten pages a customer would ask about (services, prices, booking, contact). A file that lists every page on the site is no more useful than the sitemap you already have.

## How to add one on common platforms

- **WordPress:** the Yoast SEO plugin can [generate llms.txt for you](https://yoast.com/help/enable-llmstxt/) under Settings, Site features, AI tools, and [rebuilds it every week](https://developer.yoast.com/features/llms-txt/functional-specification/). Other SEO plugins have similar options; use only one.
- **Shopify:** Yoast publishes [instructions for its Shopify app](https://yoast.com/help/enable-llms-txt-yoast-seo-shopify/) too.
- **Any site where you can upload files to the root:** write the file by hand in a plain text editor, save it as `llms.txt`, and upload it next to your robots.txt.

Whichever route you take, open `yoursite.com/llms.txt` in a browser afterwards. You should see plain text starting with `# ` and your business name, not a styled web page.

## Check what an assistant can read on your site

Our [free check](/audit) looks for an llms.txt along with the things that matter more: how many of your words survive without JavaScript, and what your robots.txt says to AI crawlers. It ignores an HTML page served in place of the file, so a soft 404 shows up as "not found" rather than a false pass. If you would rather have all of it set up for you, that is what our [AI-ready setup](/ai-ready) covers.

---

Want to know where your own site stands? Free plain-language check: https://www.sitespeedlabs.com/audit
