Validator · Validation

LLMs.txt Validator

Ensure strict compliance with the llms.txt specification.

Validate your llms.txt file line-by-line against the llmstxt.org spec.

InputURL or pasteOutputPass / errors
Validator
Free ToolNo signup
Enter the full URL to your llms.txt file (e.g., https://example.com/llms.txt)
Free, no signup required. Run as many checks as you need.
What you get

Check Against Official Specification

  • 01
    Line-by-line error detection
  • 02
    Structural analysis and warnings
  • 03
    Check H1/H2 hierarchy
  • 04
    Verify file list format
Guide

What this llms.txt checker looks at

An llms.txt file is a plain Markdown file at the root of your site that gives AI tools a short, readable map of your content. This llms.txt validator reads your file line by line and reports problems against the structure described at llmstxt.org. Every item below is something the check really does. Errors make the file invalid. Warnings and notes are things worth fixing but do not fail it.

What the checker tests

  • 01

    Exactly one H1 title, first in the file

    The file must start with one line like "# Your Site Name". A missing H1 is an error, a second H1 is an error, and any text before the H1 is flagged. An empty H1 is an error, and a title under three characters gets a warning. The title is how an AI tool knows whose file it is reading.

  • 02

    A short summary in a blockquote

    Right after the title, a line starting with ">" gives the one-sentence summary. A missing summary is only a note, but an empty one is a warning, a very short one (under 20 characters) is a note, and a second blockquote is a warning. A blockquote before the H1 is an error.

  • 03

    Only H1 and H2 headings

    The structure allows one H1 and H2 section headings. Any H3 or deeper heading ("###" and up) is a warning, because AI tools following the spec do not expect nesting.

  • 04

    H2 sections with a name

    Sections group your links, for example "## Docs". An H2 with no text is an error, an H2 above the H1 is an error, and a file with no H2 sections at all gets a note suggesting you add some.

  • 05

    Each section holds a list

    A section is meant to be a list of links. If an H2 has no list items under it, you get a note naming that section. A bullet list that appears before the H1 is an error.

  • 06

    Every list item is a Markdown link

    Items under an H2 should look like "- [Page name](https://example.com/page)". A bullet with no link is a warning, and a link with empty text is an error.

  • 07

    Link addresses start with http://, https:// or /

    A link such as "docs/start.md" is a warning, because a crawler reading the file out of context cannot tell where it points. Use the full address.

  • 08

    Served as plain text or Markdown (URL mode)

    When you check by URL, the file has to load successfully, and if the server sends a content type it must be text/plain or text/markdown. A page that comes back as HTML or returns an error status is rejected before the line checks run.

Common mistakes it catches

  • 01

    No title, or the title is not first

    Wrong: a file that starts with a paragraph or a bullet list. Right: the first line is "# Acme Docs".

  • 02

    Using ### sub-headings

    Wrong: "### Getting started". Right: "## Getting started", or plain text.

  • 03

    Bullets without links

    Wrong: "- Getting started guide". Right: "- [Getting started guide](https://acme.com/docs/start)".

  • 04

    Relative link addresses

    Wrong: "- [Pricing](pricing.html)". Right: "- [Pricing](https://acme.com/pricing)".

  • 05

    Empty link text

    Wrong: "- [](https://acme.com/blog)". Right: "- [Blog](https://acme.com/blog)".

  • 06

    A second H1

    Wrong: "# Acme" at the top and "# Products" further down. Right: "# Acme" once, then "## Products".

  • 07

    Serving the file as a web page

    Wrong: /llms.txt answers with an HTML page or a 404 error. Right: it answers 200 with plain text or Markdown.

Questions people ask

What is llms.txt?

It is a plain Markdown file that describes your site for AI tools: a title, a short summary and lists of links to your most useful pages. The format is proposed at llmstxt.org.

Where does the llms.txt file go?

At the root of your domain, so it loads at https://your-site.com/llms.txt. A copy in a sub-folder will not be found by tools that look at the root.

What makes an llms.txt file valid?

One H1 title first, an optional blockquote summary, optional paragraphs of detail, then H2 sections that each contain a list of Markdown links. The spec also describes an "Optional" H2 for links that can be skipped when a short answer is needed. This checker flags errors in the structure above and reports an "Optional" section like any other H2.

What is the difference between llms.txt and llms-full.txt?

llms.txt is a short index of links. llms-full.txt, where a site publishes one, holds the full text of those pages in a single file. They are separate files, and this checker is built for the short index.

Does llms.txt replace robots.txt or sitemap.xml?

No. robots.txt tells crawlers what they may fetch, and sitemap.xml lists your pages for search engines. llms.txt is an extra, human-readable guide and does not replace either.

How often should I check my llms.txt?

Run the checker whenever you edit the file, and again after a site change that moves or removes pages it links to. This tool checks the file's structure and link format. It does not open each link to see whether the page still loads.

Other tools in the suiteAll tools

Free tools are great. The platform is greater.

Geordy makes your pages easy for AI to understand. A free account scans your pages and writes the matching files.