What is llms.txt?
llms.txtis a plain text file, written in Markdown, that lives at the root of your website. Its purpose is to provide a structured, machine-readable summary of your site's most important content — specifically designed for consumption by large language models (LLMs) and AI agents.
The File You Already Know
Think of it this way:
robots.txttells search engine crawlers which pages to index or ignoresitemap.xmlprovides a complete map of your site's pages for discoveryllms.txtgives AI systems a curated summary of what your site is about and what content matters most
What Does It Look Like?
A well-structured llms.txt file uses simple Markdown formatting:
# Your Site Name > A one-sentence description of your website. ## Core Pages - [Home](https://example.com): Overview of your products and services. - [About](https://example.com/about): Company mission and team. ## Resources - [Blog](https://example.com/blog): Industry insights and guides. - [FAQ](https://example.com/faq): Common questions answered.
Why Markdown?
Markdown is lightweight, human-readable, and universally understood by LLMs. Unlike XML or JSON, it doesn't require parsing libraries — any language model can interpret it natively. This makes llms.txt the most efficient format for communicating your site's structure to AI.
Who Should Use It?
Any website owner who wants their content to be accurately represented in AI-generated answers, citations, and recommendations. This includes:
- Businesses that want AI visibility for their products and services
- Content publishers who want their articles cited correctly
- SEO professionals optimizing for generative search
- Agencies managing multiple client websites
- Developers building AI-accessible web applications