llms.txt is a plain Markdown file at the root of your website that gives AI crawlers a short, structured summary of who you are and which pages matter. Think of it as a sitemap written for language models.
The template
# Your Company
> Your Company provides [what you do] for [who you serve].
Your Company is based in [city] and serves [customers] since [year].
## Key pages
- [Pricing](https://www.example.com/pricing): plans and pricing
- [Product](https://www.example.com/product): features overview
- [Customers](https://www.example.com/customers): case studies
## Profiles
- https://www.linkedin.com/company/example
Publishing it
- Static sites and most CMSs: upload
llms.txtto the web root, next torobots.txt. - Next.js: add a route handler at
app/llms.txt/route.tsthat returns the Markdown with atext/markdownortext/plaincontent type. - Check it: open the URL in a browser. You should see plain text, not an HTML page.
Frequently asked questions
Where exactly does llms.txt go?
At the root of your domain, for example https://www.example.com/llms.txt, next to robots.txt.
What is llms-full.txt?
An optional, longer companion file with the full content of your key pages, for crawlers that want more detail.
Discussion
No comments yet — start the discussion.