Home / Free tools / llms.txt validator
llms.txt validator: check structure, links and size
Paste an llms.txt and get a line-by-line structural check against the proposed format, plus counts of sections and links. Nothing leaves your browser.
How to use it
- Copy your file. Open /llms.txt in your browser and copy the text, or paste a draft.
- Read the failures first. Red rows break the proposed format; amber rows are advice.
- Fix and re-paste. The result updates as you type, so you can edit in the box.
- Confirm it is served correctly. After publishing, the file must load at /llms.txt with status 200 as plain text.
The format being checked
The proposal asks for Markdown with a fixed order: a single H1 with the name, then a blockquote with a short summary, optional free text, then H2 sections each holding a list of links in the form - [Title](URL): note. A section named "Optional" marks material a tool can drop when it needs less context. The validator checks each of those rules and a few practical ones: absolute https links, no duplicates, no raw HTML.
Common mistakes we see
- Relative links. A model reading the file out of context cannot resolve
/docs/api; give the full URL. - Two H1 lines. Often the result of pasting a README on top of the index.
- A sitemap dump. Hundreds of unannotated links defeat the purpose. Choose the pages that explain you best.
- HTML snippets. Navigation fragments copied from a template are noise.
- Served as a download. Some servers send a Content-Disposition header for unknown extensions; check it displays in the browser.
Honest scope
Passing this check means your file matches the proposed format. It does not mean any search engine or assistant will use it. If you do not have a file yet, the llms.txt generator builds a valid one.
Worked example
This is what the tool produces for the sample input, so you can see the result without running it.
Input
# Example Studio > Example Studio builds web apps. Some notes here. ## Docs - [Start](https://example.com/docs/start): Setup guide - [API](/docs/api) - Plain text item ## Docs - [Start](https://example.com/docs/start) # Second title <div>html</div>
Result
5 problem(s) to fix. 2 section(s), 3 link(s).
| Result | Check | Detail |
|---|---|---|
| pass | File starts with one H1 (the name) | First line: # Example Studio |
| fail | Exactly one H1 | 2 found (lines 1, 14) |
| pass | Blockquote summary directly after the H1 | found on line 2 |
| pass | At least one H2 section of links | 2 section(s): Docs, Docs |
| fail | Section names are unique | repeated: docs |
| pass | Optional section (if present) comes last | no Optional section (fine) |
| fail | Every list item is "- [Title](URL): note" | not in link format on line(s) 9 |
| fail | Link URLs are absolute (https://...) | 1 relative, e.g. line 8: /docs/api |
| pass | Links use https | ok |
| note | No URL listed twice | duplicates: https://example.com/docs/start |
| pass | Links carry a short note | 2 of 3 have no note (notes help a reader choose) |
| fail | No raw HTML | HTML tags found; the format is Markdown |
| pass | Reasonable length | 3 links, 252 characters |
This checks structure against the community proposal. It does not fetch your links or judge content.
Frequently asked questions
Is there an official llms.txt standard?
It is a community proposal, not an IETF or W3C standard, and major search engines have not committed to using it. The validator checks the proposal as published.
Does it fetch my links?
No. It validates the text only, so it never contacts your site.
Why is "Optional last" only advice?
The proposal uses the section as a skippable tail; putting it earlier is not invalid but defeats the idea.
Can I validate llms-full.txt?
Its structure is looser. This tool targets llms.txt only.
More free tools
- llms.txt generator: Generate a valid llms.txt: site name, one-sentence summary and grouped links with short notes. Free, runs in your browser, with an honest note on what it does.
- robots.txt AI crawler checker: Paste a robots.txt and a URL path. See which of 20 AI and search crawlers may fetch it, which rule decided, and where a named group overrides the * group.
- JSON-LD validator: Paste JSON-LD or a whole HTML page. Checks syntax and the commonly required properties for Product, Offer, Article, FAQPage, Organization and more.