llms.txt validator: check your llms.txt file
We fetch /llms.txt and check it is non-empty and not HTML, then check for an H1 line starting with # and at least one Markdown link.
Why it matters
llms.txt is a short Markdown index written for language models. Without it an agent has to guess which pages matter from navigation HTML. A file that exists earns 3 points; the extra 2 require the H1 title and a Markdown link list, because a file without them is not a usable index. A 200 response that returns your HTML homepage does not count.
How to fix it
- Create
/llms.txtat the site root and serve it astext/plainortext/markdown. - Start with an H1:
# Your Site Name. - Add a one-line summary as a blockquote:
> What the site offers. - List key pages as links under H2 sections:
- [Pricing](https://example.com/pricing): plans and limits. - Make sure unknown paths do not fall back to the HTML homepage with status 200.
How to verify
Run curl -s https://example.com/llms.txt | head -5 and confirm it begins with # .
llms.txt validator: example and validation rules
This is an online validator for the llms.txt on your site. It works from the address, not from pasted text: enter your domain and we fetch the live /llms.txt and test what a crawler would actually receive. Here is a valid file you can copy and adapt.
# Example Store
> Example Store sells handmade ceramics. Prices are in EUR and ship from Lisbon.
## Products
- [All products](https://example.com/products): full catalogue with prices
- [Gift cards](https://example.com/gift-cards): digital gift cards
## Help
- [Shipping and returns](https://example.com/shipping): delivery times and return policy
- [Contact](https://example.com/contact): support email and opening hours
What counts as a valid llms.txt
- The file is served at
/llms.txton the site root, and the response succeeds. - The body is not empty.
- The body is not HTML. A homepage returned with status 200 for an unknown path fails here.
- The first heading is an H1: a line that starts with
#followed by the site name. - At least one Markdown link in the form
[title](https://example.com/page). - Recommended, not scored: a
>blockquote summary and H2 sections that group the links.
Common llms.txt errors
- The server returns the HTML homepage instead of a text file, usually because of a catch-all route.
- There is no H1, or the title starts with
##or has no space after the#. - The file is a plain list of bare URLs with no
[title](url)Markdown links. - The file is empty, often after a failed build or deploy step.
- The path returns 404 because the file sits in the wrong folder or is not published.
llms.txt FAQ
What is llms.txt?
A Markdown file at /llms.txt that gives language models a short index of your site: a title, a summary and links to the pages that matter most.
Is llms.txt required?
No. No standard forces you to publish it and it does not change how search engines rank you. It is a cheap way to give agents a clear map instead of making them guess from navigation HTML.
Do I also need llms-full.txt?
It is optional. llms-full.txt holds the full text of your key pages in one file. We score it separately in the llms-full.txt check, and a missing one does not affect this check.
Does the validator work on a file I paste?
No. It only checks the live file at your site address, because that is the file agents will fetch. Deploy first, then scan.