Free llms.txt Validator and Checker
This free llms.txt validator fetches /llms.txt from any domain and checks it against the llmstxt.org format: that the file exists, is not an HTML page, and has an H1 title, a blockquote summary, H2 sections and markdown links. It also reports whether /llms-full.txt is present.
What this llms.txt validator checks
The validator fetches /llms.txt from the domain you enter and checks its structure against the llmstxt.org proposal. Enter a domain or any URL on the site: only the hostname is used, and the file is always requested over HTTPS from the root of that host.
It returns the HTTP status, the file size in bytes and a pass or fail row for each check below. It reads up to 512 KB of the file, waits up to six seconds for the server and allows 20 checks a day per visitor.
- 1File found: /llms.txt answers with a success status. A 404 or 410 is reported as not found. Any other error or a timeout is reported as "could not check", not as missing.
- 2Not an HTML page: the response is flagged if its content type is text/html or the body starts with a doctype or html tag.
- 3H1 title: at least one line starting with a single # followed by text.
- 4Blockquote summary: at least one line starting with > followed by text.
- 5H2 sections: at least one line starting with ## followed by text.
- 6Markdown links: a count of links written as [name](url).
- 7/llms-full.txt: whether the optional companion file is present. Its contents are not checked.
A valid llms.txt example
A valid llms.txt is a markdown file with an H1 title, a blockquote summary and H2 sections that list links. The H1 is the only part the llmstxt.org proposal requires. Each link sits in a list item and may be followed by a colon and a short description.
Links under a section named Optional may be skipped by a reader that needs a shorter context. The example below passes every check on this page.
# Example Docs
> Example Docs is the documentation site for the Example API, a REST API for sending invoices.
All endpoints need an API key. Requests and responses are JSON.
## Docs
- [Quickstart](https://example.com/docs/quickstart.md): Create an API key and send a first request
- [API reference](https://example.com/docs/api.md): Endpoints, parameters and error codes
## Optional
- [Changelog](https://example.com/changelog.md): Release notes by versionCommon llms.txt errors and how to fix them
Most llms.txt failures come from serving the wrong thing at the right address, or from leaving out the structure that makes the file readable by a parser. The first column says whether this validator detects the error.
| Error | Why it fails | Fix |
|---|---|---|
| File missing, 404 or 410 (detected) | There is nothing at /llms.txt for a reader to fetch. | Add the file at the root of the domain, as a static file or a route. |
| HTML served instead of text (detected) | The address returns a web page, often a soft 404 or an app shell, so there is no markdown to parse. | Serve the raw file with a text/plain or text/markdown content type. |
| No H1 title (detected) | The H1 names the site or project and is the one required element. | Start the file with a line such as "# Example Docs". |
| No blockquote summary (detected) | Without it a reader has no short statement of what the site covers. | Add one line starting with ">" directly under the H1. |
| No H2 sections (detected) | Links are not grouped, so a reader cannot tell docs from optional extras. | Group links under headings such as "## Docs". |
| Bare URLs instead of markdown links (link count shows 0 if there are none) | A bare URL carries no name or description. | Write each entry as "- [Name](https://example.com/page): what it covers". |
| Dead links (not checked here) | A listed URL that returns an error sends the reader nowhere. | Request each listed URL yourself and remove or correct the ones that fail. |
Where to put llms.txt and how to serve it
Put llms.txt at the root of the domain, so it answers at https://example.com/llms.txt. Serve it as text/plain or text/markdown with UTF-8 encoding. Each hostname is separate, so docs.example.com needs its own file if you want one there.
On a static site, place the file in the public folder. In the Next.js App Router you can also return it from a route handler, which is useful when the link list is built from your content.
const body = [
"# Example Docs",
"",
"> Documentation for the Example API.",
"",
"## Docs",
"",
"- [Quickstart](https://example.com/docs/quickstart.md): Send a first request",
].join("\n");
export function GET() {
return new Response(body, {
headers: { "Content-Type": "text/plain; charset=utf-8" },
});
}llms.txt vs llms-full.txt vs robots.txt
llms.txt is a short index. It names the site, summarises it and links to the pages worth reading. It is an optional proposal and does not grant or deny access to anything.
llms-full.txt is a companion file that some sites publish with the full text of their documentation in one markdown document. It suits a reader that wants everything in a single request. It is optional, and this validator only reports whether it exists.
robots.txt controls crawler access. It tells crawlers, including AI crawlers, which paths they may request, and llms.txt does not do that job. To allow or block a crawler, edit robots.txt. See /insights/llms-txt-vs-robots-txt for the comparison and /guides/llms-txt-template for a template to copy.
Frequently Asked Questions
Is llms.txt required for SEO?
No. Search engines such as Google do not require llms.txt and it is not a ranking factor. It is an optional file aimed at AI tools that choose to read it.
Do AI assistants actually read llms.txt?
Not reliably. llms.txt is an experimental, optional convention, and no assistant is obliged to request it. Publishing one does not guarantee that any assistant will use or cite your site.
What is the recommended format for llms.txt?
Use markdown that starts with an H1 title, followed by a blockquote summary and H2 sections. Under each H2, list links as [name](url) with an optional one-line description after a colon.
What is the difference between llms.txt and llms-full.txt?
llms.txt is a short index of links with descriptions. llms-full.txt holds the full text of the documentation in one file. Both are optional, and this validator checks the structure of llms.txt only.
Where do I put the llms.txt file?
Put it at the root of the domain so it loads at https://yourdomain.com/llms.txt. A file in a subfolder will not be found by this validator, which always requests the root path of the hostname you enter.
Can I generate llms.txt dynamically in Next.js?
Yes. Create an app/llms.txt/route.ts route handler that returns the markdown in a Response with Content-Type: text/plain; charset=utf-8. A static file in the public folder works too.
How do I fix a missing llms.txt error?
Add an llms.txt file to the public root of your site, or add a route handler that returns it. Then run the check again and confirm the file is found and is not an HTML page.
Audit your site live: get verifiable AI-ready fix prompts
Run a headless Chromium crawl to measure real Core Web Vitals, discover indexation barriers, and generate code fixes formatted directly for Claude Code and Cursor.

