Skip to content

Note19

llms.txt explained: what it is and how to use it on your site

llms.txt summarizes your site for machine readers and AI assistants. What goes in it, how to build it, and what to expect (and not expect) from it.

By Thaumachine · · 3 min read

  • GEO
  • llms.txt
  • technical SEO

llms.txt is a plain-text file at the root of your domain that summarizes your site and points to your most important pages in a format that is easy for language models to read. Think of it as an index for machines: what an assistant should know about you, in a few lines.

What it is for

An AI assistant that wants to answer a question about your company has to gather information from many pages, with menus, banners and scripts in the way. llms.txt gives it a shortcut: who you are, what you offer and where the detail lives.

One honest caveat: it is not a standard that every search engine or assistant respects, and there is no guarantee anyone uses it. It is a low-cost, low-risk practice that adds to the rest of your GEO work. It does not replace robots.txt or your sitemap.

What goes in it

The most common format is Markdown with this structure:

  1. An H1 title with the site or company name.
  2. A short summary in a blockquote (>), with your entity sentence: what you do, for whom and where.
  3. Sections with lists of links, each with a brief description.
  4. An “Optional” section for secondary material that a reader short on space can skip.

A simplified example:

# My Company

> Design studio in Rosario helping small businesses organize their visual identity.

## Services
- [Brand identity](https://mycompany.com/brand): what is included and how we work
- [Packaging](https://mycompany.com/packaging): package design

## Optional
- [Blog](https://mycompany.com/blog): notes on design

How to build it, step by step

  1. Write your entity sentence. The same one you use on your home page and profiles.
  2. Pick the pages that matter. Do not list the whole site. Services, FAQ, contact and a few key articles.
  3. Describe each link in one line. It should make sense without opening it.
  4. Publish it at /llms.txt. It should return plain text with no redirects.
  5. Consider a full version. Some sites also publish llms-full.txt with the text of their main pages, so an agent can read it in one go.
  6. Keep it current. An outdated llms.txt is worse than none.

A useful trick: Markdown versions

If your site allows it, offer a Markdown version of each important page (for example, the same URL ending in .md). It is clean content with no menus or scripts, and machine readers find it far more comfortable. We do exactly that on this site.

Common mistakes

  • Copying the whole sitemap. You already have a sitemap; llms.txt is a selection.
  • Stuffing it with keywords. It is not for ranking, it is for informing.
  • Contradicting your site. If the file says one thing and the page another, you confuse everyone.
  • Expecting miracles. It helps you get understood, not prioritized.

When it is worth it

Almost always: it is an afternoon of work and a small file. But make sure the basics are in place first: a crawlable site, useful content and structured data. llms.txt is the final layer, not the foundation.

If you want help

Building this kind of piece, along with the rest of the technical layer, is part of our growth engineering work. If you want us to review it on your site, write to us from contact.

Have a problem worth some magic?

Start a project