llms.txt generator

Enter your site name and summary, then add sections and links. Preview and download the Markdown, or check an existing file below.

Build a curated Markdown index. All processing stays in your browser.

How it works

The llmstxt.org v2 proposal orders a site-name H1, an optional blockquote summary, optional details without headings, then H2 file lists. Only the H1 is required. Each file-list item contains a Markdown link and may end with a colon and notes. This generator escapes link labels and parentheses in URLs. Use %5C for literal backslashes in URLs. It does no numeric rounding.

The validator checks this structure and reports recommendations separately from errors. It does not fetch URLs or certify how an agent will interpret Markdown. Local budgets are 100,000 UTF-8 bytes, 1,000 lines, 50 sections and 500 generated links.

Provider adoption and consumption remain uneven and uncertain. Publication does not guarantee crawling, citations or ranking. Google says no special AI text files are needed for its AI search features. This is a content guide, not an access-control file.

Worked examples

A small documentation index

Example Docs with a Docs section containing Guide and API links produces 1 section and 2 links. Both are ordinary Markdown list items.

Secondary reading

Add an Optional section with 1 link to that index: the validator reports 2 sections and 3 links. Optional is a convention for secondary reading.

Frequently asked questions

Is the summary required?
No. The proposal requires only a site-name H1. A summary and useful links make the file more informative.
Where do I publish llms.txt?
At /llms.txt for a whole site, or a subpath such as /docs/llms.txt for that subtree. The v2 proposal says agents should use the most specific applicable file.
Does llms.txt prevent AI training?
No. Use operator controls such as robots.txt to express crawl and usage preferences. llms.txt supplies context and links.
What belongs in Optional?
Secondary links. In v2 this is a convention; it does not impose a universal rule on consumers.
Are my links checked online?
No. Validation is local and structural. HTTP(S), root-relative and ./ or ../ relative URLs are supported by this generator; verify destinations yourself.

Sources

Last reviewed 2026-11-14. The method is written out above so you can check our math.