Guides / AI search

What is llms.txt? An example, and how it differs from robots.txt.

llms.txt is a plain text file at the top of a website, at yoursite.com/llms.txt, that tells AI tools what the business is and where its key pages are. It is written in simple Markdown: a title, a one-line summary, and lists of links. It is a proposed standard, not a rule, and it is quick to publish.

What goes in an llms.txt file

  • A first line with the name of the business or site, as a heading.
  • A one or two sentence summary of what the business does.
  • The plain facts: where it is, how to reach it.
  • Sections of links to the pages that matter, each with a short label.

An llms.txt example

  • # Acme Plumbing
  • > Acme Plumbing repairs and installs plumbing for homes across western Montana.
  • ## Services
  • - [Emergency repair](https://www.example.com/emergency)
  • - [Water heaters](https://www.example.com/water-heaters)
  • ## Key pages
  • - [Contact](https://www.example.com/contact)

llms.txt, robots.txt, and a sitemap

FileWhat it saysWho it is for
robots.txtWhich crawlers may read which pagesEvery crawler
sitemap.xmlA list of every pageSearch engines
llms.txtWhat the business is, and its key pagesAI tools

Does your site need one

It is a small file and a low-risk step. AI companies have not all said how they use it, so treat it as one part of being readable, beside crawler access, structured data, and pages that answer questions. Keep it current when your services or pages change.

Check yours

StarVision checks whether a site has an llms.txt file as part of its free score, and the build includes writing and publishing one.

Common questions

What is llms.txt?
A plain text file at the top of a website that summarizes the business and links to its key pages, written for AI tools.
What is the difference between llms.txt and robots.txt?
robots.txt tells crawlers which pages they may read. llms.txt tells AI tools what the business is and which pages matter. A site can have both.
Where does the llms.txt file go?
At the top level of the site, so it opens at yoursite.com/llms.txt.
Do AI assistants use llms.txt?
It is a proposed standard, and AI companies have not all said how they use it. It is quick to publish and sits beside the other steps that make a site readable.

By William Jesse Boone, AI systems architect and founder of BigStarfish, in Missoula, Montana.