hackerdb

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

  1. Copy your file. Open /llms.txt in your browser and copy the text, or paste a draft.
  2. Read the failures first. Red rows break the proposed format; amber rows are advice.
  3. Fix and re-paste. The result updates as you type, so you can edit in the box.
  4. 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

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).

ResultCheckDetail
passFile starts with one H1 (the name)First line: # Example Studio
failExactly one H12 found (lines 1, 14)
passBlockquote summary directly after the H1found on line 2
passAt least one H2 section of links2 section(s): Docs, Docs
failSection names are uniquerepeated: docs
passOptional section (if present) comes lastno Optional section (fine)
failEvery list item is "- [Title](URL): note"not in link format on line(s) 9
failLink URLs are absolute (https://...)1 relative, e.g. line 8: /docs/api
passLinks use httpsok
noteNo URL listed twiceduplicates: https://example.com/docs/start
passLinks carry a short note2 of 3 have no note (notes help a reader choose)
failNo raw HTMLHTML tags found; the format is Markdown
passReasonable length3 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

All free tools