Short answer. An llms.txt file should start with a
#title, group entries under##headings, and list each link on one line:- [Title](https://url): notesin the v2 format, or- Title: https://url: Descriptionin the original format. This validator scores those rules out of 10 and prints the exact fix for each failure. A passing score means the file is well formed, not that an AI assistant will read it.
Validate your llms.txt
Use URL mode to test a live file, or paste mode to test a draft before you deploy it. Paste mode works without any network access and is the reliable option when the host does not send a CORS header.
New to the file? How to see the llms.txt file of any website covers the four ways to view it, and what a CORS error does and does not mean.
Example output
The panel below shows what a valid file with one warning looks like. The score is 9/10 because the pasted file cannot be tested for content type: seven critical checks pass, the content-type check is a warning, and the two recommended limits pass.
What llms.txt is, and what this validator checks
llms.txt is a plain-text proposal for telling AI assistants which pages on a site are worth reading. It usually sits at the domain root, uses a small markdown subset, and lists curated links with a short description for each one. The proposal was published by Answer.AI in September 2024 and revised as v2 in August 2026.
The 2026 revision puts entries in markdown links, - [Title](https://url): notes. Earlier files used - Title: https://url: Description, and many generators still emit that form. This validator accepts both. A parser that expects a # title on line one will not guess that ## Site Name was meant to be the title, and a relative URL is not resolved against the file's host by every reader. The validator encodes the structural rules and reports the failures in plain language.
The checks are local string and structure checks. They do not crawl the linked pages, judge whether the descriptions are accurate, or test how a specific model will treat the file.
The checks, and which ones block a file
| Check | Pass condition | Severity | Typical fix |
|---|---|---|---|
| File accessible | HTTP 200 from the URL you enter | Critical in URL mode | Fix the address, permissions or CORS policy |
| Title | First line matches # plus a space and text | Critical | Add # Your Site Name as line one |
| Sections | At least one ## Section heading | Critical | Group links under ## Documentation or similar |
| Entries | At least one - [Title](URL): notes or - Title: URL: Description line | Critical | Use one entry form and keep it consistent |
| HTTPS | Every listed URL starts with https:// | Critical | Replace http:// and relative paths |
| Markdown links | No relative [text](/path) links | Critical | Use absolute HTTPS URLs in entry lines |
| File size | At most 500KB | Critical | Curate the list; remove generated bulk |
| HTML tags | No <a>, <div> or <br> | Critical | Keep the file plain text |
| Content type | text/plain or text/markdown | Critical in URL mode | Set the MIME type at the origin or CDN |
| Line count | 100 lines or fewer | Warning | Remove low-value entries |
| Section count | 50 sections or fewer | Warning | Merge narrow sections |
How the 0–10 score is calculated
The score is not a quality rating and it is not a ranking signal. It is the share of checks that passed, scaled to ten and rounded:
score = round(passed_checks / all_checks * 10)
A critical failure and a missed recommendation both lower the score, but they are labelled differently. Critical failures appear as FAIL and should block a deploy. Recommended limits appear as WARN and are a curation decision. Paste mode includes the content-type check as a warning because the browser cannot see the response headers, which is why a clean pasted file tops out at 9/10.
Each result also carries a fix list. The list is generated from the failed checks, so it does not repeat advice for a check that already passed. Fix the FAIL items first, re-run the validator, then decide whether the WARN items are worth the edit.
Common failures and the fix
Missing or incorrect title heading
Mistake: the file starts with ## Site Name, a bare sentence, or a blank line before the title. Fix: put # Your Site Name on line one. The hash must be followed by a space, and the line must be the first thing a parser sees.
No section headings
Mistake: every entry sits in one undifferentiated list. Fix: group related links under ## Documentation, ## Blog, ## Product or ## Support. Two to five sections is usually enough; more sections make the file harder to scan.
Wrong entry format
Mistake: commas, tabs or a single colon separate the title, URL and description, or the file mixes the v2 and v1 forms. Fix: use - [Title](https://example.com/page): Description for a v2 file, or - Title: https://example.com/page: Description for the original form. The validator accepts either, but a file that mixes them is harder for a parser to read consistently.
Relative or non-HTTPS URLs
Mistake: entries use /docs or http://example.com/docs. Fix: write the full https:// URL. A reader may be on a different host and cannot resolve your relative path.
File too large
Mistake: the file lists every page on a large site. Fix: curate the 10 to 30 pages that best explain the product, the documentation and the current work. A directory dump adds tokens without adding useful context.
HTML in a plain-text file
Mistake: entries contain <a href> or <br>. Fix: remove the tags. The format is plain text with a small markdown subset, not HTML.
The format the parser expects
A minimal valid file has a title, an optional summary line, and one or more sections with entries. The v2 form uses a markdown link followed by an optional note:
# Your Site Name
> A brief description of your site
## Documentation
- [Getting Started](https://example.com/docs): How to start
- [API Reference](https://example.com/api): Full API documentation
## Blog
- [Latest News](https://example.com/blog): Recent updates and news
The original form, - Title: https://example.com/page: Description, is also accepted by this validator. The first colon separates the title from the URL; the colon after the URL separates the URL from the description. Pick one form for the whole file.
The > summary is optional but useful: it gives a reader one sentence of context before the link list. Keep descriptions factual and specific. A description that says “great page” wastes the line; one that says “pricing for the Builder and Scale plans, with limits” tells the reader what is behind the link.
For a worked example on a real documentation set, see how to write documentation that language models can use. It covers structure, stable anchors and the difference between a page that is readable by a person and one that is quotable by a model.
llms.txt, robots.txt and sitemap.xml are not substitutes
| File | Job | Audience | What it does not do |
|---|---|---|---|
/llms.txt | Curate the pages worth reading and describe them | AI assistants and agents | It does not grant or deny crawling permission |
/robots.txt | Set crawl rules for named user agents | Search and AI crawlers | It does not describe page content |
/sitemap.xml | List indexable URLs with optional metadata | Search engines | It does not prioritise or describe pages for a model |
A site needs a sitemap and a robots policy regardless of whether it publishes an llms.txt. Adding an llms.txt does not override a disallow rule, and removing a URL from llms.txt does not remove it from search. The three files answer different questions, and a validator for one cannot vouch for the others.
URL mode, paste mode and CORS
URL mode sends a browser request to the address you enter. The request succeeds only when the server returns the file and permits cross-origin reads. Many marketing sites serve llms.txt with a permissive content type but no Access-Control-Allow-Origin header, so the browser blocks the response before the validator can inspect it. That is a browser security rule, not a fault in the file.
Paste mode avoids the problem entirely. Copy the file from your repository or from curl https://yoursite.com/llms.txt, paste it into the box, and run the same checks. The content is processed in the page and is not sent anywhere. For a file that will be edited repeatedly, keep the source in version control and paste the candidate version before each deploy.
What the validator does not do
- It does not crawl the links. A URL can be well formed and still return 404. Check the important ones with a link checker.
- It does not test model behaviour. No validator can promise that a particular assistant will fetch, parse or cite the file.
- It does not judge content quality. A file can score 10 and still list the wrong pages.
- It does not check
robots.txt. A disallow rule can block the file even when the format is perfect. - It does not store or transmit your file. The checks run in the browser; the page has no upload endpoint.
If you need a file rather than a review, the llms.txt generator builds one from a page list. If you are publishing an API for agents, keep credentials out of llms.txt and point developers at the API documentation instead: the canonical base URL is https://api.plugsky.com/v1, and the docs list https://plugsky.com/v1 as an alias for the same API. The model catalogue lists the public IDs and context limits; plan limits are on pricing.
Frequently asked questions
What does the llms.txt validator check?
The validator checks the title line, section headings, entry syntax, HTTPS URLs, markdown links, file size and HTML tags. It accepts both the v2 markdown-link entry form and the original colon form. It also flags two recommended limits: under 100 lines and under 50 sections. Every check returns PASS, WARN or FAIL, and the fixes are listed with the result.
How is the 0 to 10 score calculated?
The score is passed checks divided by all checks, multiplied by 10 and rounded. Critical checks that fail are shown as FAIL; recommended limits that are missed are shown as WARN. A file that passes every critical check but misses a recommended limit scores 9 out of 10 rather than 10.
Why does URL mode fail when paste mode works?
The URL mode fetches the file from your browser, so the server must allow cross-origin requests with a CORS header. Many sites do not, and the fetch fails even though the file is public. Paste the file contents instead; the checks are identical and the content never leaves the browser.
Is llms.txt an official standard?
No. llms.txt is a proposal published in September 2024, not an approved standard from a standards body. Search engines and AI assistants are not obliged to read it. Treat a passing score as a well-formed file, not as a guarantee that a model will fetch or cite your pages.
Where should the llms.txt file live?
Serve it at the site root, or at a path that covers the pages it describes: https://yoursite.com/llms.txt for a whole-site file, or https://yoursite.com/docs/llms.txt for a documentation section. The v2 proposal allows a file at a subpath, and the root remains the simplest choice. It should return HTTP 200 without authentication.
Related pages
Make the site readable, then give the agents an API
One OpenAI-compatible endpoint for all public model IDs, with flat monthly plans and no per-token overage on Builder and Scale.
Start free See pricingSources
The format rules and the status of the proposal were checked on the linked pages on 20 November 2026.
- llms.txt proposal, v2 — the format, root or subpath placement, and entry syntax. Checked 20 November 2026.
- Answer.AI: llms.txt announcement — the September 2024 proposal and its stated purpose. Checked 20 November 2026.
- RFC 9309: Robots Exclusion Protocol — how robots.txt differs from a content index. Checked 20 November 2026.
Last checked 20 November 2026. This validator is a formatting aid, not a guarantee of crawler behaviour. Plugsky's API base URL is https://api.plugsky.com/v1; the docs list https://plugsky.com/v1 as an alias.