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?
Where do I publish llms.txt?
Does llms.txt prevent AI training?
What belongs in Optional?
Are my links checked online?
Sources
- CommonMark 0.31.2 — lines, headings, code fences and links (checked 2026-11-14)
- llms.txt proposal v2 — Format and Existing standards (checked 2026-11-14)
- Google Search — AI features and your website (checked 2026-11-14)
Last reviewed 2026-11-14. The method is written out above so you can check our math.