1 · Identity
2 · File-list sections
Quick-add:
llms.txt Generator
Give AI agents a map instead of a maze. Build a spec-compliant markdown index that tells language models what your site is and which twenty pages explain it best.
- Required
- 1 H1
- Format
- Markdown
- Placement
- /llms.txt
Five pieces, in a fixed order
The file is just markdown — but the spec fixes the sequence so any parser, human or machine, can read it the same way.
# Acme Docs position 1
The site name — the only required element
Every llms.txt opens with a single H1 naming the project or site. It is the one part of the spec that is mandatory — a file without it is just a markdown file, not an llms.txt.
> Short summary of the project position 2
A blockquote summary
Directly under the H1, a blockquote carries the short version: what the site is, who it serves, and the key context an agent needs to interpret everything below it. Think of it as the abstract.
Any markdown except headings position 3
Free-form context sections
Zero or more paragraphs and lists — anything except headings — can follow. Use them for background an agent would otherwise guess at: terminology, conventions, caveats, how the sections below are organized.
- [Page name](https://url): notes position 4
File lists under H2 headings
Each H2 opens a curated list of links. Every item is a markdown bullet with a required [name](url) hyperlink, optionally followed by a colon and a short note. This is the curated index — the part agents actually follow.
## Optional position 5
The Optional section convention
By convention, a final "## Optional" section holds secondary links — changelog, community, older docs — that an agent can safely skip when working with a short context window.
Go further with markdown page variants
The spec pairs naturally with serving clean markdown versions of pages — page.html.md — advertised via rel="alternate" type="text/markdown", plus rel="describedby" pointing back to your llms.txt. Links in the file should point to LLM-friendly content, so .md targets beat heavy HTML pages.
Three files, three different readers
llms.txt is not a replacement for anything at your domain root — it fills a gap the other two were never designed for.
/robots.txt
- Format
- Plain-text directives
- Reads it
- Crawlers before they fetch
Controls access — which bots may request which paths. Consulted automatically before every crawl. Tells machines what they may do, not what anything means.
/sitemap.xml
- Format
- XML urlset
- Reads it
- Search engines building an index
Enumerates every indexable URL with lastmod dates. Complete and exhaustive by design — it answers "what exists" for crawlers that index everything indiscriminately.
/llms.txt
- Format
- Markdown
- Reads it
- AI agents at answer time
Curates the pages that matter, in context, with notes. Read on demand when an agent needs to understand your site — quality-ranked, not exhaustive.
Live on your domain in three steps
- 01
Name and summarize
Enter your site name and a one-paragraph summary. These become the required H1 and the blockquote that frames everything else.
- 02
Curate your link sections
Group your best pages under named sections — Docs, Guides, Pricing — with a short note per link. Aim for the twenty pages that explain you best, not all two thousand.
- 03
Publish at your root
Download the file, upload it to /llms.txt, and optionally point pages at it with rel="describedby". Regenerate whenever your key content changes.
Where llms.txt stands today
Who publishes one
Anthropic's docs, Cursor, Perplexity's docs, and hundreds of documentation sites ship an llms.txt. Mintlify auto-generates one for every docs deployment, and directories track thousands of adopters. The pattern is strongest where AI assistants already consume the content — developer docs, API references, product guides.
The honest caveat
No major AI provider has committed to fetching llms.txt, and Google has compared it publicly to the meta keywords tag — a hint that mostly gets ignored. It is a community proposal, not a standard. Ship it because it's nearly free and agent-friendly, not because it guarantees citations.
Who reads it anyway
Coding assistants, RAG pipelines, IDE plugins, and agent frameworks already retrieve markdown context on demand — and llms.txt is exactly the shape they parse best. Even with zero crawler buy-in, it documents your canonical entry points for any system wired to look.
llms-full.txt, the sibling
A community convention alongside the spec: one file containing your key content inline, so an agent can ingest everything in a single fetch. Practical for docs sites and small products; unwieldy for large sites. The generator produces the index — llms.txt — that points at your markdown sources.
llms.txt questions, answered
What is an llms.txt file?
A proposal — published by Jeremy Howard in September 2024 and revised to v2 in August 2026 — for a markdown file at your site root that gives AI agents a curated index of your most important content. Where robots.txt controls access and sitemap.xml lists everything, llms.txt summarizes what you are and points to the twenty or so pages that explain it best, in a format language models read natively.
What is the correct llms.txt file structure?
The spec defines a fixed order: an optional byte-order mark, then an H1 with the project or site name (the only required element), an optional blockquote summary, optional free-form markdown sections without headings, and optional H2 sections each containing a "file list" — markdown bullets of the form - [name](url): optional note. A "## Optional" section is the convention for secondary links agents may skip.
Where do I put the llms.txt file?
At /llms.txt on your domain root for a site-wide file. The spec also allows subpaths — /docs/llms.txt covers everything under /docs/, and where multiple files apply, agents use the most specific one. Serve it as text/markdown or text/plain; either works in practice.
Do ChatGPT, Claude, or Google actually read llms.txt?
There is no public commitment that the major AI crawlers fetch it automatically — it is a community proposal, not a standard, and Google has been openly skeptical. What is documented: agents that already retrieve markdown context (coding assistants, RAG pipelines, IDE plugins) can consume it immediately, documentation platforms like Mintlify generate it by default, and Anthropic, Cursor, and hundreds of docs sites publish one. It is cheap insurance for the agentic web, not a guaranteed citation channel.
What is the difference between llms.txt and llms-full.txt?
llms.txt is an index — it links out to markdown versions of your pages. llms-full.txt is a community convention for a single file containing the full content inline, useful when you want an agent to ingest everything in one request. Small sites can ship both; large sites usually cannot fit llms-full.txt comfortably.
Does llms.txt replace robots.txt or sitemap.xml?
No — they do different jobs for different readers. robots.txt manages crawler access, sitemap.xml enumerates indexable URLs for search engines, and llms.txt curates priority content for AI agents answering questions. They are complementary files at your domain root, not competitors.
How do I link pages to my llms.txt file?
The spec suggests two mechanisms: an HTML <link rel="describedby" href="/llms.txt"> element in each page head, or an HTTP Link response header — useful for non-HTML resources and CDN-level injection. You can also offer markdown versions of pages at .md URLs and advertise them with rel="alternate" type="text/markdown".
Is this llms.txt generator free?
Yes — unlimited files, no signup, no account. The generator runs entirely in your browser, so your URLs, descriptions, and site structure are never sent to or stored on our servers.
Complete the crawler-facing stack
Index for agents, gate with robots.txt, enumerate with a sitemap — the three files work as one system.
AI Crawler Robots.txt Rules
Generate robots.txt rules for GPTBot, ClaudeBot, PerplexityBot, and 15+ AI bots.
Robots.txt Generator
Build a robots.txt file with AI crawler support for GPTBot, ClaudeBot, and more.
AEO Content Optimizer
Optimize content for AI Overviews, ChatGPT, and Perplexity citations.
XML Sitemap Generator
Create XML sitemaps for search engines to crawl your site efficiently.