Quick answer: a valid llms.txt is a Markdown file that starts with a single H1 (your site name), ideally followed by a one-line blockquote summary, then H2 sections containing link lists in the form - [title](absolute-url): description. Paste yours below for a line-by-line check.
llms.txt validator
Runs entirely in your browser. Your file is not uploaded anywhere.
What the validator checks
| Check | Severity | Why it matters |
|---|---|---|
| H1 title on the first line | Blocking | The only element the spec strictly requires; parsers key on it |
| Blockquote summary | Suggestion | The standard place tools look for a short site description |
| H2 sections with link lists | Suggestion | Sections are how agents decide which links matter for a task |
| Link format and absolute URLs | Suggestion | - [title](url): description with https:// URLs parses everywhere |
| robots.txt directives, XML, raw HTML | Blocking / warning | The most common wrong-format mistakes seen in the wild |
| File size | Suggestion | The index should be a curated map; full text belongs in llms-full.txt |
The three mistakes we see most often
1. A sitemap in disguise. Hundreds of bare URLs with no titles or descriptions. An agent reading that learns nothing about which page answers what; the whole value of llms.txt is curation with context. Ten well-described links beat four hundred naked ones.
2. robots.txt syntax. User-agent: GPTBot lines inside llms.txt. The two files solve opposite problems: robots.txt says who may crawl, llms.txt says what is worth reading. Crawler permissions in the wrong file are silently ignored.
3. Dumping entire page content. That is what the separate llms-full.txt convention is for. The index file should stay small enough that an agent can read it in one gulp and decide where to go next.
An honest note on whether llms.txt is used
Validation tells you the file is well-formed, not that every AI system reads it. Google has said publicly that it does not use llms.txt for AI Overviews or search, and our own server-log experiment found zero fetches from major AI crawlers over a multi-week window (see our data on whether llms.txt is worth it). The honest case for having one is cost: it takes minutes, some developer-facing tools and agent frameworks do fetch it, and a valid file positions you for whichever direction adoption goes. If you do not have a file yet, our llms.txt generator builds one in the correct structure, and this primer covers the background.
Frequently asked questions
Where should llms.txt live?
At the site root: https://yourdomain.com/llms.txt, served as plain text (text/plain or text/markdown). Subdirectory copies are not part of the convention and tools will not look for them there.
Is llms.txt an official standard?
No. It is a community proposal from September 2024 that some documentation platforms and AI developer tools adopted. There is no standards body behind it, which is exactly why following the de facto spec format matters: it is the only interoperability contract there is.
What is the difference between llms.txt and llms-full.txt?
llms.txt is a curated index: title, summary, sectioned links. llms-full.txt is the expanded version carrying full page content inline for tools that want everything in one request. Validate the index file here; the full file has no fixed structure beyond being Markdown.
Does a valid llms.txt help my Google rankings?
No. Google has stated it does not use the file, so treat it as zero-SEO-value infrastructure for AI agents and developer tools, not as an optimization lever. Anyone selling llms.txt as a ranking tactic is ahead of the evidence.
Can I list pages that are blocked in robots.txt?
You can, but it is a confusing signal: you are simultaneously inviting agents to read a page and forbidding crawlers to fetch it. Align the two files so anything listed in llms.txt is actually fetchable.



Leave a Reply