A small llms.txt example
An H1 with the site name, a quoted one-line summary, and sections of links with a short note after each colon:
# Example Bakery
> Family bakery in Leeds selling sourdough, cakes and wedding cakes, with next-day delivery in West Yorkshire.
## Products
- [Bread](https://example.com/bread): sourdough and rye loaves, baked daily
- [Wedding cakes](https://example.com/wedding-cakes): designs, prices and how to order
## Help
- [Delivery](https://example.com/delivery): areas, times and costs
## Optional
- [Blog](https://example.com/blog)
llms.txt, llms-full.txt and Markdown pages
The same proposal suggests two extras. llms-full.txt holds the full text of your key pages in one file, so an AI tool can read everything in a single request. Markdown copies of pages, at the page address with .md added, give tools clean text without menus and scripts. Documentation sites for software often publish all three. A shop, a local business or a blog normally only needs llms.txt.
What to include and what to leave out
- Include pages that answer real questions: products or services, prices, how to order, contact details, policies and documentation.
- Leave out login, cart and checkout pages, search results, tag archives and anything robots.txt blocks.
- Write notes as plain facts (“prices and opening hours”), not slogans.
- Keep it short. A few dozen well-chosen links help more than a copy of the whole sitemap.
Checking that the file is live
Open yoursite.com/llms.txt in a private window. You should see the Markdown as plain text, not a 404 page or your theme’s HTML. From a terminal you can check the status and content type in one go:
curl -I https://yoursite.com/llms.txt
# expect: HTTP/2 200 and content-type: text/plain or text/markdown
If you use a CDN, purge its cache after each upload, and update the file when you add or remove important pages.