cd /news/agent-protocols/how-to-write-an-llms-txt-file-for-a-… · home › topics › agent-protocols › article
[ARTICLE · art-149513] src=dev.to ↗ pub= topic=agent-protocols verified=true sentiment=· neutral

How to write an llms.txt file for a small business site

A developer has published a guide to writing an llms.txt file, a plain-text Markdown document placed at a site's root that tells AI assistants which pages to read first, using a four-part format of title, summary, and linked sections. The guide notes the convention is emerging rather than standardized and that no engine has committed to using it, and warns that crawlers such as GPTBot, ClaudeBot and PerplexityBot must not be blocked in robots.txt for the file to have any effect. The author, who builds the MentionMachine llms.txt generator, cautions that the file helps engines read a site but does not make them recommend it.

by read1 min views1 publishedOct 12, 2026

AI assistants now answer questions like "who is the best plumber near me" by reading websites. An llms.txt file is a small, plain-text page at the root of your site that tells them who you are and which pages to read first.

It is an emerging convention, not a standard, and no engine has promised to use it. It takes about ten minutes, so I add one to every site I build.

The format is Markdown with four parts, in this order:


> Emergency and planned plumbing for homes in Bristol, open seven days a week.

## Services

- [Boiler repair](https://example.com/boiler-repair): Same-day repairs for gas boilers, with fixed call-out prices.
- [Bathroom fitting](https://example.com/bathrooms): Full bathroom installs, from design to tiling.

## About

- [Pricing](https://example.com/pricing): Call-out fees and hourly rates.
- [Contact](https://example.com/contact): Phone, email and service area.

https://yourdomain.com/llms.txt, with a 200 status. An llms.txt is no use if the crawlers are blocked. Look for rules that disallow GPTBot, ClaudeBot or PerplexityBot. Some security plugins and CDN settings add these for you, so it is worth reading the file your site actually serves.

A good llms.txt helps an engine read your site. It does not make the engine recommend you. The only way to know whether you are mentioned is to ask the engines the questions your customers ask, and read the answers.

I build MentionMachine, which has a free llms.txt generator. It builds the file from what you type and can validate one you have already published. There is no account, and nothing is rewritten by a model. There is also a robots.txt checker for AI crawlers.

If you have added an llms.txt to your own site, I would like to hear whether you saw any change.

── more in #agent-protocols 4 stories · sorted by recency
── more on @mentionmachine 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-write-an-llms…] indexed:0 read:1min 2026-10-12 · —