
How to Write an llms.txt File for a Small Business (2026)
November 29, 2026 · 3 min read
What llms.txt is, what it does and does not do, the format from the original proposal, and a template a small business can fill in and publish in an hour.
A torchlight descent on a snowy evening
By Sarah Scarano · Published
The short version
- Start with the name and a one-line summaryAn H1 with the business name, then a blockquote that says what you do, where and for whom, in one or two sentences.
- Add a few plain factsPhone, service area, hours and how to book, written as plain sentences.
- List your important pages under H2 headingsServices, about, contact and your most useful guides, each as a markdown link with a short note on what the page answers.
- Put the nice-to-have pages under OptionalThe proposal reserves an Optional section for links a reader can skip when space is short.
- Publish it at the rootServe it as plain text at yourdomain.com/llms.txt and check it loads in a private window.
- Keep it in step with the siteWhen a phone number, a service or a page changes, change the file the same day, or generate it from the same data the site uses.
An llms.txt file is a short markdown file at the root of your site that tells a language model what your business is and which pages matter. It was proposed in September 2024 by Jeremy Howard of Answer.AI (llmstxt.org) as a way to give models a clean summary instead of making them pick through navigation, scripts and banners.
What it does, and what it does not
What it does: gives any model, tool or agent that fetches it a short, accurate description of your business and links to your best pages. When someone asks an assistant to look at your site, a clean summary is easy to use.
What it does not do:
- It does not block or allow crawlers. That is robots.txt, covered in our robots.txt guide.
- It does not replace your sitemap.
- No answer engine has committed to reading it for ranking or citations. The engines that publish guidance for site owners point to the same things as always: crawlable pages, clear content and accurate facts.
We publish one on our own site and on client sites because it takes an hour and states the facts plainly. We do not sell it as a ranking lever, and you should not buy it as one.
The format
The proposal at llmstxt.org sets out the structure, in this order:
- An H1 with the name of the site or business. This is the only required part.
- A blockquote with a short summary.
- Optional paragraphs or lists with more detail, with no headings.
- H2 sections holding markdown lists of links, each written as
- [Page name](url): a note on what it covers. - An H2 called Optional for links that can be skipped when a reader has little room.
A template for a small business
Copy it, replace every line, and delete anything that is not true for you.
# Flathead Plumbing
> Flathead Plumbing is a licensed plumbing company in Kalispell, Montana, serving homes across the Flathead Valley with repairs, water heaters and remodels.
- Phone: (406) 555-0123
- Service area: Kalispell, Whitefish, Columbia Falls and Bigfork
- Hours: Monday to Friday, 8 am to 5 pm; emergency calls answered at all hours
- Book: https://www.yourdomain.com/book
## Services
- [Water heater repair and replacement](https://www.yourdomain.com/water-heaters): tank and tankless, same-week installs
- [Drain cleaning](https://www.yourdomain.com/drains): clogs, camera inspection, root removal
- [Bathroom remodels](https://www.yourdomain.com/remodels): plumbing for full remodels, with permits
## About
- [About us](https://www.yourdomain.com/about): who owns the company, license number, years in business
- [Reviews](https://www.yourdomain.com/reviews): what customers have said
- [Contact](https://www.yourdomain.com/contact): phone, address, hours
## Optional
- [Frozen pipe guide](https://www.yourdomain.com/blog/frozen-pipes): what to do before the plumber arrives
Publish it
- Serve it at
https://www.yourdomain.com/llms.txtas plain text. - On WordPress, upload it to the site root with your host's file manager or an SEO plugin that supports it.
- On Next.js, put it in
public/llms.txt, or generate it from a route so it reads the same data as the pages. - Open the address in a private window and confirm it loads.
Keep it true
A stale llms.txt is worse than none: it states an old phone number with confidence. Change it whenever the site changes. If your site is built from data files, generate the file from the same data so it cannot drift. That is how we build ours.
Every fact in it should match your website, your Google Business Profile and your structured data word for word.
Put the field notes to work.
Explore our agentic websites, see the work, or talk with Sarah about your business.
- How ChatGPT Finds Local Businesses: What Owners Can Verify
- How Answer Engines Choose Which Sources to Cite (2026)
- How Local Businesses Can Measure Traffic From Answer Engines
Does llms.txt help me rank in ChatGPT or Google?
No engine has committed to using it the way search engines committed to robots.txt and sitemaps. Treat it as a short, accurate summary that costs an hour to write, not a ranking lever.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers what they may read. llms.txt is a summary for a model to read. It does not allow or block anything.
What is llms-full.txt?
A convention some sites use for a second file holding the full text of their key pages in one place. It is not part of the original proposal and it is optional.
Should it be first person or third person?
Either reads fine. Write the way your site is written, and make every fact match the site exactly.
