BlogAEO
What is llms.txt? Specification, v2 changes, and how to ship one
How llms.txt works, what changed in the August 2026 v2 spec, why Google ignores it for Search, and when it still helps coding agents.
/llms.txt is a plain Markdown file placed at the root of a website so language models and coding agents can find your key docs without crawling every navigation menu or marketing page. Proposed by Jeremy Howard in 2024 and updated to v2 in August 2026 (llmstxt.org/changes), it pairs a short summary with categorized links to clean Markdown pages.
You can generate one from any live site with the free llms.txt generator, or read our llms.txt glossary entry.
#How is llms.txt structured?
An llms.txt file follows a minimal Markdown convention so both humans and parsers can read it cleanly:
- H1 title: the site or project name (
# Webcrawl). - Blockquote summary: one or two sentences explaining what the site is (
> webcrawl.app gives AI agents web access...). - Optional body notes: key base URLs, auth headers, or package names.
- H2 sections of links:
[Title](https://example.com/page.md): short notepointing to Markdown or documentation pages.
# Example Docs
> REST API and SDKs for developer teams.
## Core docs
- [Quickstart](https://example.com/docs/quickstart.md): Install and run your first request
- [Authentication](https://example.com/docs/auth.md): API keys and OAuth scopes
- [API reference](https://example.com/openapi.yml): OpenAPI 3.1 specification
#What changed in llms.txt v2 (August 2026)?
Three practical changes landed in the August 2026 v2 update at llmstxt.org:
| Topic | v1 (2024) | v2 (August 2026) |
|---|---|---|
| Discovery from HTML | Agents guessed /llms.txt | rel="describedby" points to llms.txt; rel="alternate" type="text/markdown" points to .md |
| Markdown URL shape | Appended .md (page.html.md) | Allows replacing extension (page.md) or appending .md |
| Subpath files | Mentioned without scope rules | A subpath llms.txt covers pages under that path (most specific wins) |
| Context expansion | llms_txt2ctx + special Optional section | Removed mechanical expansion; agents inspect and follow links directly |
Because of v2, publishing /llms.txt works best when your pages also expose clean .md mirrors and Link: or <link rel="alternate" type="text/markdown"> headers. See how we ship this on webcrawl.app in our AEO for developer docs guide.
#Does llms.txt help SEO or AI search visibility?
Not measurably, and Google says so directly. Treat llms.txt as a developer-tooling file, not a ranking signal:
| Source | Finding |
|---|---|
| Google AI optimization guide (updated July 2026) | Site owners can ignore "unnecessary AI text files (like llms.txt)"; Google Search and AI Overviews do not use them |
| Ahrefs log study (June 2026, 137,210 domains) | 97% of published llms.txt files got zero requests in May 2026; Claude Code was the second most frequent requester |
| OtterlyAI server logs | 84 of 62,100+ AI bot visits (about 0.1%) fetched /llms.txt |
| SE Ranking, ~300,000 domains | 10.13% adoption, no statistically significant link to AI citations |
| Common Crawl, July 2026 | 584,107 files found; only 49.9% matched the spec shape and 22.56% had no links |
The file still does its original job: coding agents read it on demand when a developer points them at your docs. Anthropic, OpenAI, and Perplexity all publish one for their developer documentation. If you want AI search citations, invest in server-rendered HTML, accurate JSON-LD, and clear answer-first pages instead. Our AEO for developer docs guide covers that side.
#How do llms.txt, robots.txt, and sitemap.xml differ?
| File | Audience | Purpose |
|---|---|---|
robots.txt | Search & AI crawlers | Crawl allow/disallow rules and content signals |
sitemap.xml | Search indexers | Exhaustive list of canonical URLs and modified dates |
llms.txt | Coding agents & LLMs | Curated, high-signal index of the pages worth reading |
llms-full.txt | Context loaders & RAG | Combined Markdown text of key docs in one fetch |
llms.txt does not replace robots.txt or sitemap.xml. Crawlers still check robots.txt first; sitemap.xml lists every URL; llms.txt tells an agent which 15 or 30 links actually matter.
#How do you generate and verify an llms.txt file?
- Map your site: call
POST /v1/mapor run the URL extractor to list your docs, pricing, and API reference URLs. - Generate the file: use the llms.txt generator or write it from your docs manifest.
- Serve Markdown mirrors: make sure linked
.mdURLs returntext/markdown; charset=utf-8with navigation chrome stripped. - Verify discovery: run the agent readiness checker to confirm HTTP status,
Content-Type, andLinkheaders.
curl -sI https://webcrawl.app/llms.txt
curl -sI https://webcrawl.app/docs/scrape.md
#FAQ
#Does Google use llms.txt for rankings or AI Overviews?
No. Google's AI optimization guide (July 2026) says Search does not use llms.txt, and Gary Illyes said in 2025 that Google has no plans to support it. OpenAI's crawler docs cover robots.txt only. Ship llms.txt for coding agents (Claude Code, Cursor, Codex) that fetch it on demand, not for search rankings.
#Is llms.txt still worth publishing in 2026?
Yes, if you have developer docs or an API. It takes minutes to generate, costs nothing to serve, and gives coding agents a clean entry point. Skip hand-tuning it for SEO; spend that time on .md mirrors and server-rendered HTML.
#Should links in llms.txt point to HTML or .md URLs?
Point to .md URLs when you serve clean Markdown mirrors, because agents spend fewer tokens parsing them. Under llms.txt v2, you can advertise the .md mirror from HTML pages via <link rel="alternate" type="text/markdown" href="...">.
#When do you need llms-full.txt in addition to llms.txt?
Publish llms.txt as the lightweight index (a few kilobytes) and llms-full.txt only if users want to attach your entire reference in one file. Large sites should keep llms.txt small and let agents fetch linked .md pages on demand.