Agent Ready HTML

An llms.txt must open with an H1 and follow a set order

In short

An llms.txt follows the proposal only if it opens with an H1 naming the project or site, the only required section. The summary, free text and H2 file lists must keep the proposal's order, with no headings in the free text. Each file-list item needs a [name](url) link, and the validator lists every line that breaks a rule.

Published 18 November 2026

What it checks

The validator reads a pasted llms.txt against the format published at llmstxt.org and reports, rule by rule, whether the file's structure follows it. It checks structure only. It does not fetch the links, judge the wording or test your server. The check runs in your browser, and nothing you paste is sent anywhere.

Two extra checks from this site's index stay apart from the proposal. The proposal states neither the same-site share nor the size limit. When the tool shows them, they carry the label "site index checks, not part of the proposal" and do not count toward the rules met.

Related: llms.txt Index

The site's own grader checks six things: H1, blockquote summary, at least one H2 section with links, 80 percent same-site links, under 100 KB, and plain markdown with no HTML. Its details are on the Method page.

Related: Method

How to use it

Paste the full text of your llms.txt into the box, or pick the file with the file chooser, which reads it inside the browser. Enter your site's host (for example, example.com) only if you want the same-site site index check; leave it empty otherwise. Run the check, fix the lines it lists, then paste the edited file and run it again.

Related: The llms.txt generator

Rules it applies

  1. Notes, as information only, that the spec is for files named llms.txt at /llms.txt or any subpath, that a file covers the URLs under its path, and that agents should use the most specific one.
  2. Checks that the text is markdown and that its parts come in the proposal's order: optional byte-order mark, H1, blockquote summary, free text, H2 file lists. The proposal asks for these sections "as markdown, in the specific order" (section order).
  3. Fails the file when it has no H1 holding the name of the project or site, which the proposal calls "the only required section".
  4. Looks for a blockquote with a short summary "containing key information necessary for understanding the rest of the file".
  5. Applies the proposal's rule that markdown between the summary and the H2 file lists may be "of any type except headings" (free-text rule).
  6. Reads H2 headers as the delimiters of file-list sections, of which a file may have zero or more.
  7. Checks each file-list item for "a required markdown hyperlink [name](url)", optionally followed by a colon and notes.
  8. Reports whether a section named Optional is present and checks that it is an H2, without requiring one. By convention it holds "links an agent can skip when a shorter context is needed" (Optional section).
  9. Leaves link relations untested. The proposal recommends rel="alternate" type="text/markdown" for a page's markdown version and rel="describedby" for the llms.txt that covers it, given as HTML link elements or an HTTP Link header, which sit outside the file (link relations).
  10. Counts links whose URL ends in .md as a hint, never a failure. The proposal says the links "should therefore point to LLM-friendly content, such as the markdown versions of pages" (LLM-friendly links).

What the result shows

The results panel lists each rule with its quoted text, a status (met, not met, absent, note, or not applicable for rules 1 and 9) and the line numbers involved. Under it, a line list gives every line that breaks the format: its number, its text and the rule it breaks. An outline shows what the parser found: the H1, the summary, the count of free-text lines, each H2 with its link count, and whether Optional is present. A summary line counts the rules met. Site index checks, when you give a host, appear in a separate block under their label.

Worked examples

  • Input, six lines: # Example Co, a blank line, > Invoicing software., a blank line, ## Docs, - Pricing https://example.com/pricing. Result: H1 met (Example Co), summary met, free text absent, one H2 section, Docs, with 0 valid links. Line 6 breaks the file-list rule because the item has a bare URL and no [name](url) link. Optional is absent, which is not a failure. Rules 3, 4, 5, 6, 7, 8.
  • Input: a complete file with an H1, a summary, a paragraph of details, a Docs H2 whose items each carry a link and a colon note, and an ## Optional section. Result: every testable rule met, Optional present as an H2. Rules 2 to 8.
  • Input: a file that opens with a paragraph, then the H1, then a ### Notes heading above the opening H2. Result: H1 met but out of order, and the ### Notes line flagged as a heading in the free-text area. Rules 2, 3, 5.
  • Input: an HTML page pasted by mistake. Result: no H1 found, and the text flagged as HTML rather than markdown. Rules 2, 3.

Limits

The validator tests only what pasted text can show. It cannot see where the file is served, whether its links resolve or whether your server sends Link headers, so rules 1 and 9 stay informational. Wording sits outside a structure check: the proposal advises concise, clear language and suggests you test your file by asking an agent questions about your content, giving it only your llms.txt as a starting point (proposal guidelines).

Related: How to write an llms.txt that gets followed

Sources

  1. llmstxt.org: The /llms.txt file (v2) https://llmstxt.org/, read 18 November 2026

Last reviewed 18 November 2026