What llms.txt is#
llms.txt is a markdown file at the root of a website that tells large language models which pages matter and what each one contains. Where robots.txt says what a crawler may fetch and sitemap.xml lists every URL, llms.txt is a short, hand-picked reading list written for a model with a limited context window.
The idea was proposed in September 2024 on llmstxt.org. The reasoning is simple: HTML pages carry navigation, scripts and layout that waste tokens, so a site can point models at a compact summary and at clean markdown versions of its key pages instead.