Dev.to AI 🤖 Ai 👁 2 📖 3 min read

llms.txt: what it is, what it is not, and whether a small business site needs one

If you have been reading about AI search, you will have seen advice to add an llms.txt file to your website. Here is a calm look at what the file is, what it does not do, and how to decide whether it is worth the ten min

If you have been reading about AI search, you will have seen advice to add an llms.txt file to your website. Here is a calm look at what the file is, what it does not do, and how to decide whether it is worth the ten minutes.

What llms.txt is

llms.txt is a proposed convention: a plain Markdown file at the root of your domain, such as example.com/llms.txt, that gives language models a short, curated map of your site. The proposal at llmstxt.org describes a simple format: a title, a one-line summary, then sections of links with short descriptions pointing to your most useful pages.

A minimal file looks like this:

# Example Plumbing Ltd

> Emergency and boiler plumbing for homes in Coventry.

## Services
- [Boiler repair](https://example.com/boiler-repair): what we fix and how fast we attend
- [Bathroom fitting](https://example.com/bathrooms): process and typical timescale

## About
- [Our team](https://example.com/team): who we are

What it is not

It is not a standard enforced by any search engine, and it is not a ranking factor. No major provider has committed to reading it for every request. It is also not a replacement for robots.txt, which tells crawlers what they may fetch (see Google's introduction to robots.txt), or for a sitemap, which lists pages for search engines.

Think of it as a courtesy: a tidy summary that costs little and might help tools that choose to use it, especially when someone points an AI assistant at your domain.

Should a small business site have one?

Reasonable view: yes if it is cheap to produce and accurate, no if it distracts you from the basics. A sensible order of work is:

  1. Pages that answer real customer questions directly in the first lines
  2. Accurate, consistent business details across your site and profiles
  3. Structured data on key pages
  4. Crawlable site with a working sitemap
  5. Then, llms.txt as a finishing touch

How to write a useful one

  • List 10 to 20 pages, not hundreds
  • Write each description as a plain fact, not a slogan
  • Keep it in sync when pages move or are removed
  • Return it as plain text with a 200 status code
  • Do not hide anything in it you would not show a visitor

How to check it works

Fetch it with curl and confirm the status and content type:

curl -I https://example.com/llms.txt

You want a 200 response and text content. Then open it in a browser and click every link.

What to measure

Because the file is not a documented ranking factor, do not expect a jump in traffic. Track mentions instead: ask a fixed set of customer questions in a few AI tools each month and record whether your business is named and which sources are cited.

Summary

llms.txt is a small, optional summary file. It is no substitute for good content, markup and crawlability, and nobody can promise it will earn AI citations. Add it once the fundamentals are sound. If you want a hand with those fundamentals, see our SEO services in Birmingham.

Rocky V is Head of Operations at DigitalCave, an all-in-one web design, SEO and digital marketing agency based in the West Midlands, serving Birmingham, Coventry and the UK.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.