Fetching /llms.txt and checking it line by line
You give this tool any URL on your site. It takes the domain, requests /llms.txt from the root, and if a real text file comes back it checks that file against the format described at llmstxt.org. It also looks for the optional companion file /llms-full.txt and tells you whether it exists. If your server answers /llms.txt with an HTML page, which is what many single-page apps and catch-all routes do, the tool treats that as no file at all, because an HTML page is not something an AI tool can read as llms.txt.
A quick word on what passing means. llms.txt is a community proposal, not an official standard, and Google has said it does not use it. A clean score here means your file is well formed and readable by the tools that do look for it, such as coding assistants and agents. It does not mean any search engine or AI assistant will rank or cite you more. If you do not have a file yet, the llms.txt Generator writes one in the right shape.
Structure, links and extras: the checks behind the score
The validator reads the file top to bottom, ignoring anything inside code fences, and reports each of these:
Structure
An H1 title (# Site name) exists, which the proposal treats as the only required part, and it sits on the first line. Only one H1 is used. A blockquote summary (> one sentence) follows the H1. At least one H2 section (## Docs, ## Pricing and so on) groups your links.
Links
List items that contain a link use the - [name](url): note pattern. Links use full https URLs rather than relative paths. Each link has a short note after the colon (reported as information, since notes are optional). Sections with no links are listed, and files with more than 150 links get a warning, because the file is meant to be a curated shortlist rather than a copy of your sitemap.
Extras
Whether you use an ## Optional section, which the proposal reserves for links a tool can skip when space is short, and whether /llms-full.txt exists. Both are optional and never cost you points.
The score adds up the parts that matter most: the H1 carries the most weight, followed by the summary, sections, clean link format and absolute URLs. Plain prose bullets without a link are allowed Markdown and are not flagged.
A failing file and its fixed version
Here is a file that fails several checks: the title is not an H1, there are two H1 headings used as section labels, there is no summary line, and the list items are not Markdown links (one uses a relative path).
Acme Widgets llms.txt
# About
Acme makes widgets.
# Pages
- Pricing: /pricing
- https://acme.example/docsThe same content, rewritten so every check passes:
# Acme Widgets
> Acme makes industrial widgets and publishes specs and pricing for factory engineers.
## Docs
- [Getting started](https://acme.example/docs): Install and configure your first widget
- [Pricing](https://acme.example/pricing): Plans and volume discountsWhen the tool says no file was found
"Not found" usually has one of four causes. The file was never uploaded. It was uploaded to a subfolder instead of the root. The server returns a 200 with an HTML page for every unknown path, so the real file is hidden behind the app's router. Or a firewall or bot rule blocks requests that do not look like a browser. Open https://yourdomain.com/llms.txt in a private window: if you see your homepage or a "page not found" design, the file is not being served.
Also check the content type. The file should come back as text/plain or text/markdown in UTF-8. You can confirm the headers with the HTTP Header Checker. On Nginx, a small location block guarantees the right type and stops a catch-all rule from swallowing the request:
location = /llms.txt {
default_type text/plain;
charset utf-8;
try_files $uri =404;
}On Apache, placing the file in the document root is normally enough; if you use a front-controller rewrite, make sure it has a RewriteCond %{REQUEST_FILENAME} !-f line so real files are served directly. On Next.js or Vercel, put the file in /public. On WordPress, upload it next to wp-config.php, or let your SEO plugin generate it if it offers that feature.
What a perfect score cannot tell you
The validator checks shape, not judgement. A file can pass every check and still point at the wrong pages, describe the site vaguely, or link to URLs that now redirect or return 404. Read the link list as a human: are these the pages that best explain what you do? Are the notes specific? Would a stranger understand the site from the summary line alone?
It also does not test whether AI crawlers are allowed to fetch the linked pages. A page can be listed in llms.txt and blocked in robots.txt at the same time, which sends a mixed signal. Run the AI Crawler Access Test to see whether firewalls let AI bots in at all.
A maintenance routine that keeps the file valid
Re-run the validator whenever the file changes and after any site migration, CMS change or new deployment setup, since those are when root files quietly go missing. Keep the file in version control next to robots.txt so changes are reviewed before publishing.
Every few months, click through the links to confirm they still load, and trim anything that no longer represents the site well. A short, accurate, working file is the goal. For the bigger picture on what AI crawlers read and how to control them, see our guide to robots.txt and llms.txt.