Skip to content

Free tool

llms.txt validator

Enter a site, or paste a file. We check it against version 2.1 of the llms.txt format, line by line, and for a site we fetch its links to see which ones don't load.

Free, no sign-up. We read the file at /llms.txt and the first 25 links in it.

What the validator checks

The rules of the format at llmstxt.org, version 2.1, and three things about how the file is served.

  • The file is there, as text

    It answers at /llms.txt with HTTP 200 and is served as plain text or Markdown. Many sites answer every unknown address with their home page; that is an HTML page, not an llms.txt, and the validator says so.

  • One H1, first

    The file opens with a single "# Name" line. It is the only part the format requires, and H1 is reserved for it.

  • A blockquote summary

    A line starting with ">" under the title. Optional, and the first thing an agent reads to decide whether the rest is relevant.

  • H2 sections that hold link lists

    Each "## " section is a list whose items start with a Markdown link, with notes after a colon: "- [name](url): notes". Free text and H3 headings belong above the first section, not inside one.

  • Links that resolve

    Relative links are resolved against the Base URL line if there is one, otherwise against the file's own address. For a site, the first 25 links are fetched and the ones that don't load are listed.

  • Small enough to read whole

    The file is an overview that sends an agent on to detail. The validator shows its size in characters and rough tokens, and warns when it has grown past that purpose.

Questions about validating an llms.txt

What makes an llms.txt invalid?

Against the format, three things: no H1 title at the top, more than one H1, or list items inside an H2 section that don't start with a Markdown link. A parser that follows the format skips those lines. The validator also fails a file that isn't served at all, one that returns an HTML page, and links that don't load.

My file has free text and bullet points under an H2. Is that wrong?

By the format, yes: an H2 section is a list of links and nothing else, apart from one short summary paragraph. Put facts and notes above the first H2, under H3 headings if you want structure. We had exactly this in our own file until we ran it through this validator.

Are relative links allowed?

Since version 2.1, yes. They resolve against a "Base URL: https://.../" line in the top part of the file, or against the file's own address when there is none. Without the Base URL line they break when the file is pasted into a prompt or read from a mirror, which is why the validator suggests adding it.

Does a section called Optional mean anything?

Not any more. Version 1 let tools skip it when building a shorter context. Version 2 removed that meaning; a section called Optional is now an ordinary section, and still a fair name for secondary links.

Will a valid llms.txt get me into AI answers?

Not by itself. Google says Search ignores such files, and on 2 December 2026 no answer engine had said it reads them. A valid file is for the agents that do look for one. To see whether engines actually name you, their answers have to be collected and counted.

Is it free, and what do you keep?

Free, with no sign-up. One address can check 20 sites an hour and 60 a day; pasted text doesn't count. We fetch the file and its links, show the result and keep nothing.

A valid file is step one. Are you named?

sirefs asks 8 AI engines your buyers' questions and shows how often they name you and who they name instead.