AgenticWebScore
Scan

Learn

What is llms.txt? Does Google use it, and how to add and check one

llms.txt is a proposed markdown index for agents. Google Search ignores it and Lighthouse checks it. Who reads it, how to add one and how to check it.

8 min read 1840 words

Reviewed by a human editor before publication. How we write

  • llms.txt
  • agent readiness
  • discovery

/llms.txt is a proposed markdown file at a site's root that lists the pages an agent should read, each with a one-line note. Google Search does not use it, and Chrome's Lighthouse does check for it, so whether Google uses it depends on the product. AgenticWebScore scores it as one of 8 agent conventions, which make up 30% of the score and cannot hold a level.

The file is the cheapest signal a site can add, and it is still only a proposal. Most writing about it drops one of those facts.

What does the llms.txt format specify?

The proposal at llmstxt.org asks for a markdown file at /llms.txt, or inside any subpath, where it describes the pages under that path. The most specific file wins. The page dates the original proposal to 3 September 2024 and the current v2 revision to 10 August 2026.

A file has a fixed order:

  • an optional byte-order mark;
  • an H1 naming the site, the one required part;
  • a blockquote summary with the facts needed to read the rest;
  • optional prose with background and usage notes;
  • zero or more H2 sections, each a list of [name](url) links with optional notes.

v2 adds a clean markdown version of each page, at the same URL with .md appended. It also adds link relations that advertise it: rel="alternate" type="text/markdown" for the markdown page, and rel="describedby" for the covering llms.txt. Both work as an HTML <link> or an HTTP Link header.

Does Google use llms.txt?

Google Search does not. Chrome's Lighthouse does request the file. Both are Google products, so the answer depends on which one you mean.

Google Search. Google's guide to its generative AI features, last updated on 10 July 2026, lists llms.txt files under what you do not need to do. It says Google Search does not use them, and that you do not need them to appear in Search or its AI features. The proposal itself claims no ranking effect.

Chrome Lighthouse. The llms.txt audit in the agentic browsing category requests /llms.txt. Its docs page, updated on 2026-05-05, says a 404 is N/A because the file is optional and a server error flags the page. The 13.5.0 code checks more: on a 200 it requires an H1, at least 1 markdown link and 50 characters. Release 13.5.0 of 18 September 2026 groups this audit with the ARD audit under "agent discovery".

The 2 products ask different questions. Search asks what to rank. Lighthouse asks whether the site gives agents an index to read. A passing audit shows the file parses. It does not show that an agent used it. Lighthouse agentic browsing, audit by audit compares its other audits with this scanner's checks.

Does any agent read llms.txt?

Two measurements from the past month are the best public evidence we found, and neither covers every agent.

The author of phpied.com counted requests in the logs of one site for 5 days and published the result on 29 September 2026. The file drew about 1 request for every 100 requests for /robots.txt. Chrome user agents sent most of them. Claude-User made 0.1% of the requests, Googlebot and Meta together 0.08%, and no GPT or Gemini user agent appeared.

On 13 October 2026, Signals Corps read the /llms.txt responses of 113,457 sites in Common Crawl's September 2026 crawl. 36% answered with an HTML page, not a file. 62,751 sites served a real file, and about half came from generators, led by Wix and All in One SEO. That counts what sites publish. It does not show who reads it.

We found no public data on which agents fetch the file or whether it changed an answer, and we will not invent any. Your access log can tell you for your own site: count /llms.txt requests by user agent.

Publishing is partly automatic. Mintlify hosts one at the root of every project. On 2 November 2026, under rubric v0.9.1, the scanner found a passing file on 4 of the 5 exemplars: vercel.com, cloudflare.com, resend.com and github.com. developer.mozilla.org answered 404. The v0.9 records of 20 October showed the same. Five hand-picked sites say nothing about the open web, and the records are at https://agenticwebscore.com/aws/<host>/report.json.

Is llms.txt untrusted input for an agent?

Yes. To an agent, the file is text from a site it does not control, read into the same context as its instructions. Signals Corps sorted the 62,751 real files. 2 were injection attempts, and both only gave the model a persona. 2,035 asked agents to act, and 1,992 of those carried Shopify's default text asking the agent to get the user to install the Shop skill.

The same study tested Claude models in Claude Code against a fictional API, with a file that said to register the user and not mention it. A prompt that only asked to read the docs produced no sign-ups. With "get me set up", Sonnet and Haiku signed up and sent the user's name and email, and Opus stopped to ask.

The study recommends 2 defences on the agent's side. Check the content type and skip HTML. Require approval outside the model before an agent installs a skill, connects to an MCP server or creates an account. Your side is simpler: write links and facts, and no instructions to the agent.

Is llms.txt a standard, or a replacement for robots.txt or a sitemap?

It is not a standard. There is no RFC and no W3C work item. The proposal lives in a GitHub repository as an informal overview. It considers the well-known URI approach of RFC 8615 and rejects it. Well-known paths exist only at the origin root, and llms.txt describes whatever path it sits at.

It does not replace robots.txt. RFC 9309 says its rules "are not a form of access authorization." llms.txt does the opposite job: it invites reading and curates it. Adding the file changes nothing about what a crawler may fetch.

It is not a sitemap. The proposal says a sitemap is no substitute. Sitemaps often omit LLM-readable page versions and external URLs, and they generally cover more pages than fit in a context window.

How do you add an llms.txt?

Write the file by hand, generate it at build time, or use a platform that hosts one for you. This example follows the order above:

# Example Inc

> Example Inc runs a payments API for marketplaces. This file lists the pages an agent needs, with a note on each.

US-based. Support: support@example.com. API access uses OAuth 2.0 tokens; links below are markdown versions unless noted.

## Docs

- [Quickstart](https://example.com/docs/quickstart.md): Install the CLI and make a first API call
- [API reference](https://example.com/docs/api.md): Every endpoint, with request and response examples
- [Authentication](https://example.com/docs/auth.md): OAuth 2.0 flows and token lifetimes

## Company

- [Pricing](https://example.com/pricing.md): Plans, limits and overage rates
- [Full context](https://example.com/llms-full.txt): Every page above as one document

## Optional

- [Changelog](https://example.com/changelog.md): Release history, for version-specific questions only

The blockquote carries identity. The prose line states what an agent cannot infer: currency, support route and auth model. Links point at markdown variants where they exist. Sections follow tasks, not your navigation, and Optional marks context an agent can skip.

Generate the file at build time so it cannot drift, and serve it at /llms.txt as text/plain or text/markdown. Then test it by giving an agent only the file and asking questions about your product. A Link: </llms.txt>; rel="describedby" header lets clients find it without guessing the path.

How do llms.txt files fail?

An H1 with no links. It conforms to the proposal and leads nowhere. Lighthouse 13.5.0 fails it. The llms-txt check passes it, because it reports what it can verify.

A marketing page pasted in. An agent cannot act on "leading platform for modern teams". Every sentence that is not a link or a fact spends context.

Stale links. They cost an agent a request and teach it your guidance is unreliable. The check requests up to 6 same-origin links the file names. A link that answers a non-2xx status makes the file "Served with an error". Link-check the file in CI.

HTML served with a 200. A single-page app with a catch-all rewrite answers /llms.txt with its application shell as text/html. The same rewrite usually answers every unknown path with 200, which the not-found-status check measures. Serve text/plain or text/markdown, and let a missing file 404.

What are llms-full.txt and sitemap.md?

llms.txt vs AGENTS.md, SKILL.md and MCP compares every file of this kind, and llms.txt examples annotates 6 real files.

/llms.txt is an index, small enough to fit in context. For most sites it is the only one of the three that matters.

/llms-full.txt is a convention that puts the corpus in one file. The llmstxt.org proposal does not define it. Platform vendors such as Mintlify document it as each page's title, source URL and full markdown. It suits a bounded corpus like a documentation set, and it is wrong for a large catalogue.

The llms-full check asks for a text file of page text, at least 150 words and not mostly links, and reports whether llms.txt links it. When /llms-full.txt is not served as text, the check reads the file named llms-full.txt that llms.txt links on the same origin, up to 1 MB. That rule is the scanner's own, because llmstxt.org defines neither the file nor a way to link it.

On 2 November 2026, under rubric v0.9.1, cloudflare.com's file carried 17,307 words and passed. github.com and resend.com served lists of links. vercel.com answered 404 at the root, and its linked /docs/llms-full.txt did not answer within 12 s, so the check was not measured. On 20 October, under rubric v0.9, vercel.com answered 200 with an HTML page at the root, and the check failed.

/sitemap.md is a markdown map that no specification defines and no crawler documents reading. The scanner no longer requests it, and /methodology says why.

How do you check your llms.txt?

The llms.txt checker runs both file checks on your site and shows the evidence for each. The commands below repeat them by hand.

$ curl -sS -D- -o /dev/null https://agenticwebscore.com/llms.txt | grep -iE '^(HTTP|content-type|content-length)'
HTTP/2 200
content-type: text/plain; charset=utf-8
content-length: 21689

$ curl -sS https://agenticwebscore.com/llms.txt | head -3
# AgenticWebScore

> AgenticWebScore measures how well a website serves AI agents. Its 60 checks in 5 dimensions give a score you can recompute and the evidence behind each check.

That output is from 2026-10-27. Check 4 things: status 200, Content-Type of text/plain or text/markdown, an H1 followed by a blockquote, and at least one H2 whose items are links. Then fetch three of the links by hand.

Scan your site to run the same check with its evidence. The scan passes a file that opens with an H1, is served as text and has no failing same-origin link. A scan can confirm that a file exists, parses and links pages that answer. It cannot tell you whether an agent read it.

Should you publish an llms.txt?

It is optional, and it is cheap. One static file, generated at build time and reviewed once. It has a published format, existing tooling, a Lighthouse audit that looks for it and a path an agent can guess from the domain.

In the score it is a recommended-tier check of weight 1 in the agent-conventions part. Suppose all 8 conventions are in scope and no site profile applies a factor. Then it is worth 3.75 of the 100 points. llms-full joins the score only once /llms.txt is in use. link-headers joins only when something in use needs a Link header.

If you must pick one sprint, fix rendering first. A text file does little for a site the agent cannot parse. Server-rendered pages, a correct 404, an accurate sitemap.xml and a readable robots.txt take it further. What agent readiness means covers that work, and markdown content negotiation covers the other way to hand an agent plain text.