Why validate llms.txt?
llms.txt is a standardised Markdown file in the root of your domain that gives AI models (ChatGPT, Claude, Perplexity) an index of your key pages with short descriptions. A file that does not follow the specification — a missing H1 heading, relative links, raw URLs instead of readable names — does models more harm than good, because they find it harder to understand and often ignore it.
The validator downloads your file and checks it deterministically against the specification: exactly one H1 heading at the top, an optional summary in a blockquote, ## sections with link lists in the form - [name](url): description, recognition of the ## Optional section, and file size. The result is a score from 0 to 100 with a precise list of errors, warnings and recommendations. If you don’t have the file yet, create it in a minute with our llms.txt generator.
Frequently asked questions
What is the correct structure of llms.txt?
At the top exactly one heading # Site name, directly followed by an optional summary > One sentence about the site, then sections ## Section name with list items - [Page name](https://...): short description. Less important links belong in the ## Optional section.
What does the ## Optional section mean?
The specification defines it as the only section that AI models may skip when context is short. It is for secondary content (archives, legal documents); key pages should stay in the regular sections.
How large should the file be?
Under 50 KB. llms.txt is a signpost, not a copy of your content — 10 to 40 carefully chosen links with descriptions work better than an export of your entire sitemap.
I don’t have llms.txt yet — where do I start?
Use our free llms.txt generator, which builds the file from your details. Publish it in the root of your domain (e.g. yourdomain.com/llms.txt) and then check it with this validator. Also check that AI bots can access your site at all with the AI crawler access tool.