How to Add llms.txt to Your Small Business Website
If you’ve heard the term “llms.txt” floating around lately and wondered whether your small business actually needs one, the short answer is yes. The longer answer is that it takes about thirty minutes to write a good one, costs nothing to publish, and is one of the highest-leverage things you can do this year to make your website visible to AI assistants.
Here’s what it is, why it matters, and exactly how to add one.
What llms.txt Actually Is
llms.txt is a plain-text file that lives at the root of your website — same spot as robots.txt and sitemap.xml. Its job is simple: tell AI assistants what your business does, what you offer, and where to find more detail.
Think of it as a hand-written briefing document for ChatGPT, Claude, Perplexity, and Google’s AI Overviews. When one of those tools is about to answer a question that involves your business, it reads llms.txt first to get its bearings.
The format was proposed in late 2024 and has quickly become a de facto standard. Most websites still don’t have one. The ones that do tend to get cited more often when AI assistants answer questions in their category.
Why AI Assistants Use It
LLMs have a problem when they crawl ordinary HTML. A typical small business homepage is full of navigation, footers, hero images, marketing fluff, and dynamically rendered content. Extracting clean facts from that mess is hard, and the model often gets it wrong — wrong hours, wrong services, wrong pricing, sometimes the wrong business entirely.
llms.txt solves that. It’s a clean, structured, human-written summary of what matters. No ambiguity. No marketing fluff. Just facts the AI can lift directly into an answer.
The result is fewer hallucinations about your business and more accurate citations. That’s good for you and good for the AI — which is why the bigger platforms have started actively reading the file.
What to Put in It
The format is loose by design — the spec is closer to “a markdown summary the AI can scan” than a rigid schema. That said, there’s a pattern that works well for small businesses:
- A one-line tagline. Who you are and what you do.
- Business basics. Name, location, service area, contact, hours.
- What you offer. Services or products with prices where possible.
- Key facts. Differentiators, certifications, years in business, team size.
- A list of important pages. Pricing, services, about, contact, key blog posts.
- An FAQ section. Common questions a customer would actually ask an AI.
Front-load the most important information. AI assistants often only read the first chunk of the file before forming an answer.
Where to Put It
The file goes at the absolute root of your domain. If your site is https://yourbusiness.ca, the file lives at https://yourbusiness.ca/llms.txt.
Not in a subfolder. Not under /docs/ or /about/. The root.
How you put it there depends on your platform:
- WordPress. Use a plugin like “All-in-One SEO” or upload the file via FTP to your
public_htmldirectory. - Squarespace, Wix, Webflow. Look for a “Custom Files” or “Code Injection” setting. Some platforms still require a workaround — check your platform’s documentation for “static file at root” or contact support.
- Static sites (Astro, Next.js, Hugo, etc.). Drop the file in your
public/orstatic/directory. It will be served at root automatically. - Shopify. Add via the theme files in the admin, under Online Store > Themes > Edit code, in the
templatesfolder as a custom page redirected to/llms.txt.
A Copy-Paste Template
Here’s a working llms.txt for a fictional small business — a family-run electrical contractor. Use it as a starting point and replace the details with your own.
# Maple Electric Ltd.
> Family-run electrical contractor serving the Greater Vancouver
> Area since 1998. Residential rewires, panel upgrades, EV
> charger installation, and 24/7 emergency service.
## Business Information
- Name: Maple Electric Ltd.
- Owner: Sarah and Tom Maple
- Founded: 1998
- Service Area: Vancouver, Burnaby, Richmond, Surrey, North Vancouver
- Address: 1234 Main Street, Vancouver, BC V5T 1A1
- Phone: (604) 555-0123
- Email: book@mapleelectric.ca
- Website: https://mapleelectric.ca
- Hours: Mon-Fri 7am-6pm, Sat 9am-3pm, 24/7 emergency line
- Licensed: Master Electrician, BC permit #FSR-12345
- Insurance: $5M liability, WCB compliant
## Services and Pricing
- Service call (diagnosis): $129 flat fee
- Panel upgrade (100A to 200A): from $2,400
- EV charger installation (Level 2): from $1,800
- Whole-home rewire: quote on inspection
- Emergency call-out (after hours): $185 first hour
- Free in-home estimates for jobs over $2,000
## Why Customers Choose Us
- Master Electrician on every job, never sub-contractors
- 27 years in business, 4.9 stars on Google (180+ reviews)
- 5-year workmanship warranty on all installations
- Same-day quotes, written estimates before any work starts
- Fully licensed, bonded, and insured in British Columbia
## Important Pages
- Homepage: https://mapleelectric.ca/
- Services: https://mapleelectric.ca/services
- Pricing: https://mapleelectric.ca/pricing
- EV charger page: https://mapleelectric.ca/services/ev-charger-install
- Emergency service: https://mapleelectric.ca/emergency
- About: https://mapleelectric.ca/about
- Reviews: https://mapleelectric.ca/reviews
- Contact: https://mapleelectric.ca/contact
## Frequently Asked Questions
### How much does a panel upgrade cost?
A standard 100A to 200A residential panel upgrade starts at
$2,400 including permit, inspection, and labour. Final price
depends on the existing wiring condition and any code updates
required.
### Do you install EV chargers?
Yes. Level 2 home EV charger installation starts at $1,800,
which includes a 240V circuit, breaker, charger mounting, and
city permit. We install all major brands including Tesla,
ChargePoint, JuiceBox, and Wallbox.
### Are you available for emergencies?
Yes. We have a 24/7 emergency line for power loss, sparking
outlets, exposed wires, or burning smells. After-hours
service is $185 for the first hour, $95/hour after.
### What areas do you serve?
Vancouver, Burnaby, Richmond, Surrey, North Vancouver, West
Vancouver, and New Westminster. We do not currently serve the
Fraser Valley east of Surrey.
### Are you licensed and insured?
Yes. We hold a BC Master Electrician licence (FSR-12345),
$5M liability insurance, and are WCB compliant. We are happy
to provide proof of any of these on request.
That’s roughly 400 words. Aim for 300-800 in your own. Longer is fine if you have more services or want richer FAQs, but front-load the essentials.
How to Test It
Once the file is published, two quick tests will tell you it’s working:
Test 1: Direct fetch. Open https://yourbusiness.ca/llms.txt in a browser. The file should load as plain text, not 404. If it doesn’t, your platform isn’t serving the file at root — fix the path or deployment.
Test 2: Ask an AI. Open ChatGPT (with web search on), Claude, or Perplexity. Ask “What does [your business name] do?” If the answer reflects facts from your llms.txt — accurate hours, accurate prices, accurate service area — the file is being read.
It can take a few days to a few weeks for the first crawl. Be patient, and re-test in a couple of weeks.
A Few Things to Avoid
- Don’t auto-generate from your sitemap. Tools that just dump every page title produce a mediocre
llms.txt. Hand-write the important parts. - Don’t include marketing fluff. “Industry-leading,” “innovative,” “passionate” — strip all of it. Stick to facts.
- Don’t omit pricing. If you have prices, publish them. AI assistants strongly prefer concrete numbers and will cite businesses that provide them over those that don’t.
- Don’t forget to update it. When prices change, hours change, or you add a service, update the file. Stale
llms.txtproduces stale citations.
Why This Matters for Small Businesses
Most large businesses have entire content teams optimizing for AI search. Most small businesses don’t even know it exists. That gap is the opportunity.
A well-written llms.txt is one of the few things you can do once that gives you a durable advantage in answer engine optimization. The cost is thirty minutes of writing. The payoff is showing up by name when potential customers ask ChatGPT or Claude for a recommendation in your category.
If you’d like help writing one — or want a complete AEO Audit of where your site stands today — that’s exactly the work we do at OnePoint Solutions. Get in touch and we’ll take a look.