Blog
What is llms.txt? A plain guide with an example file
llms.txt is a plain-text file at the root of a website that lists its most important pages for AI tools. What it is, what it does and doesn't do, an example file, and how to add one.
Last updated
llms.txt is a plain-text file, written in Markdown, that sits at the root of a website (for example example.com/llms.txt) and lists the site's most important pages with a one-line description of each. It was proposed in 2024 as a simple way to give AI tools and large language models a clean summary of a site, without the menus, scripts and ads of a normal web page.
What llms.txt does, and what it doesn't
It gives an AI tool that chooses to read it a short, accurate map of your site in your own words. That can help a tool find the right page and describe your business correctly.
It is not a ranking factor, and it is not a standard that every AI company follows. Google has said it doesn't use it for Search. Some AI tools and developer assistants do read it. Treat it as cheap insurance, not a growth lever: it takes ten minutes and does no harm.
llms.txt vs robots.txt vs sitemap.xml
- robots.txt tells crawlers what they may and may not fetch. It controls access.
- sitemap.xml lists every page you want search engines to find. It is for completeness.
- llms.txt describes your most important pages in plain language. It is for understanding.
If robots.txt blocks AI crawlers, llms.txt won't help, because they can't read it. Check access first.
An llms.txt example
The format is simple: a title, a one-sentence summary in a quote block, then sections of links with a short note after each.
# Riverside Bakery
> Family bakery in Portland, Oregon, baking sourdough, pastries and
> custom cakes since 2009. Open Tuesday to Sunday.
## Main pages
- [Menu](https://example.com/menu): breads, pastries and prices
- [Custom cakes](https://example.com/cakes): how to order, lead times
- [Visit us](https://example.com/visit): address, hours, parking
## Optional
- [Our story](https://example.com/about): who we are
- [Wholesale](https://example.com/wholesale): supplying cafesKeep the summary factual and the descriptions short. The "Optional" section is for pages a tool can skip when it has little room.
How to add llms.txt to your site
- Write the file, or build it with our free llms.txt generator.
- Upload it to the root folder of your site so it loads at yourdomain.com/llms.txt. On WordPress, a file manager or SEO plugin can do this.
- Open the address in a browser and check it shows plain text.
- Update it when you add or retire an important page.
What matters more than llms.txt
For AI search, the basics still decide most of the result: AI crawlers allowed in robots.txt, content readable without JavaScript, clear answers under question headings and one consistent brand description. Our guide to LLM SEO covers all of them, and the free SEO, AEO and GEO checker tests a page for them in a minute.