π€ llms.txt Generator & Validator
/llms.txt is an emerging spec by Jeremy Howard (Answer.AI) β a clean, structured
Markdown file that tells large language models which parts of your site to read and how to navigate them.
Think of it as a sitemap optimised for AI rather than search bots.
Generate llms.txt
Output (paste at https://yoursite.com/llms.txt)
What goes in llms.txt?
The spec defines a Markdown document at the root of your site with this structure:
# Site title β required, one H1 > A one-line blockquote summary β optional but recommended Optional paragraph of detail. β any number of paragraphs ## Section title β any H2 grouping - [Doc title](URL): description β list items, one resource each ## Optional β reserved keyword: nice-to-have, not required for LLMs
Why bother? LLMs and AI agents that respect llms.txt use it to
prioritise which pages to read and in what order. Without one, they crawl HTML pages and try
to figure it out β leading to misquotes and missed coverage.
Many sites pair llms.txt with parallel Markdown copies of pages (e.g.,
/api.md alongside /api). The Markdown copy is what the LLM actually reads.