llms.txt example
Llms.txt Example for a Business Website
A practical llms.txt example with annotated sections, business link categories, and steps to adapt the file for your site.
Published · Updated · By AnswerLion
The most common mistake with an llms.txt file is treating it as a switch. It isn't one. The format is an informal proposal, not an RFC or a standards-track protocol, and it defines no mandatory consumer behavior, no ranking effect, no permissions, and no trust signal, as an analysis of the llms.txt specification sets out plainly. No assistant is obliged to open your file, and publishing one doesn't hand you visibility.
That's the useful part, because it clears away the fantasy and leaves the work itself. A business llms.txt earns its keep as a question-led index of a handful of high-value pages, where every line points at a page whose opening sentence an assistant can quote back to a buyer. Nine links that answer real buying questions beat nine hundred that mirror a sitemap.
What follows is a complete, paste-ready example for a commercial roofing contractor, the structure underneath it, the link categories that keep it short, and the checks that separate a file worth publishing from an afternoon wasted.
A Business-Ready llms.txt Example
Start with a file a real business would publish, not a developer docs export. Northline Roofing is a commercial contractor in Dallas-Fort Worth, and its entire index is twelve lines of substance. Read it once, then swap in your own legal name and URLs.
# Northline Roofing
> Northline Roofing is a commercial roofing contractor serving Dallas-Fort Worth and specializing in warehouse and office reroofs.
Northline Roofing takes on commercial properties of 10,000 square feet and up across the Dallas-Fort Worth metroplex. Canonical domain: northlineroofing.com.
## Services- Commercial reroofing: Full tear-off and replacement for warehouses and office buildings.- Roof coatings: Fluid-applied restoration for metal warehouse roofs.
## Locations- Dallas commercial roofing: Covers Dallas County warehouse and office properties.- Fort Worth commercial roofing: Covers Tarrant County commercial properties.
## Proof- 2025 warehouse reroof in Garland: 84,000 square foot warehouse reroof completed in 2025, finished without weather delays.
## Policies- Workmanship warranty: States the ten-year workmanship term printed on the policy page.
## Contact- Request an estimate: Weekday estimate desk, 7am to 5pm, by phone or form.
Five H2 groups, eight links, no filler. Here is the same structure mapped out.

What Each Block Is Doing
- The H1 names the entity. One line, the business name, nothing promotional. It's the anchor everything else hangs from.
- The blockquote is the sentence an assistant can lift. It says who you serve, what you do, and which building types you work on. If a model quoted only that line, a buyer would still understand the business.
- The paragraph sets scope. Projects from 10,000 square feet and the canonical domain. That's a qualifier a buyer would ask about on the first call.
- Each note describes the destination page, not the link title. "Full tear-off and replacement for warehouses and office buildings" tells an assistant what it will find after the click. That is the whole job of a note.
The rule that keeps this honest: every note must match the opening sentence of the page it points to. If the Dallas page doesn't state its service area in the first line, fix the page, then fix the note.
Your version starts by replacing three things: the legal name in the H1, the canonical URLs, and any claim a linked page doesn't already make. Nothing goes in this file that the site can't back up on the other side of the click.
Required and Optional Parts of the File
Strip the Northline file back to its skeleton and you find how little the format demands. Jeremy Howard published the original proposal on September 3, 2024, and the llms.txt specification places the file at a website's root path such as example.com/llms.txt, while also permitting a scoped file at a subpath like /docs/llms.txt.
The only mandatory structural element is an H1 containing the project or site name. Everything else is a judgment call you make on behalf of the reader.
A practical file adds a blockquote summarizing the site, explanatory paragraphs where scope needs stating, and one or more H2 sections holding lists of relevant URLs with optional notes. That combination turns the document into a compact, human-readable index of the pages worth reading, which is a different object from a sitemap and a different object from an access-control system. The official example the proposal shipped with was built on the FastHTML project, and it shows the same instinct: identify the most useful pages, add context about each one, and separate primary resources from supplementary material.
Read the table row by row against the Northline wording, because length is the lesson. A blockquote runs one or two sentences. A note runs about one line. An H2 label is a word a customer would recognize.
| Element | Status | Job in the file | Northline example |
|---|---|---|---|
| H1 | Required | Names the business or project | Northline Roofing |
| Blockquote | Recommended | One quotable description of who you serve | Commercial roofing contractor for Dallas-Fort Worth warehouse and office reroofs |
| Optional paragraphs | Optional | Adds scope or a differentiator already on the site | Projects from 10,000 square feet; canonical domain named |
| H2 link sections | Recommended | Groups the pages that prove each claim | Services, Locations, Proof, Policies, Contact |
| Link notes | Optional | Tells an assistant what that exact URL covers | Full reroof for warehouses and offices |
| Subpath file | Optional | Indexes a separate docs or product area | /docs/llms.txt for a product documentation set |
The pattern that makes any of this work is simple and it doesn't change by industry: state the entity clearly, summarize it in a short authoritative passage, and link to the pages that hold the deeper evidence. Get those three right and the file stays reviewable in the same week your site content changes.
Link Categories That Answer Customer Questions
Six groups cover almost every question a buyer puts to an assistant before they contact a contractor, a catalog, or a software vendor. Each one earns its H2 by matching a question, not by matching your navigation menu.
Services answers what you do. One canonical URL per core offer, with a note that names the buyer or the building type, as in commercial reroofing for warehouses and offices. Overlapping variants ("roof repair," "emergency roof repair," "commercial roof repair") collapse into one link.
Locations answers where you work. Primary cities or regions only, and each note states the area that page covers. A city page that lists three suburbs in its first paragraph is fine to link. A city page that repeats the homepage is not.
Products or catalog answers what someone can buy. Flagship categories or hero SKUs. If a lighting catalog has six collections, the file names six collections, not six hundred luminaires.
Proof answers why the business is credible. A current case study, certification, or review page that names a specific result. Undated award badges and stock-photo project galleries don't count as evidence.
Policies answers the terms a buyer checks before contacting you. Warranty, shipping, returns, or eligibility, copied only as they appear on the page. Never restate a term more generously than the policy page prints it.
Support answers how to get help. One contact path with the hours stated on the page. Duplicate form URLs confuse more than they route.
| Category | Customer question | Model note | Keep or drop |
|---|---|---|---|
| Services | What do you do? | Commercial reroofing for warehouses and offices | Keep one URL per core offer; drop overlapping service variants |
| Locations | Where do you work? | Dallas service area for commercial properties | Keep primary markets; drop microsites that repeat the same area |
| Products or catalog | What can I buy? | Flagship roof-coating system for metal roofs | Keep hero categories; drop every SKU and size variant |
| Proof | Why should I trust you? | 2025 warehouse reroof with a named square-footage result | Keep current named evidence; drop undated award badges |
| Policies | What are the terms? | Workmanship warranty term as printed on the policy page | Keep the canonical policy; drop campaign landing pages |
| Support | How do I get help? | Weekday estimate desk, hours stated on the contact page | Keep one contact path; drop duplicate form URLs |
Write the note as if you were answering the customer question yourself in one breath. If the note needs a second sentence, the page probably needs a clearer opening line.
The model pages for local service firms, catalogs, and B2B vendors show how the same six rows fill with completely different URLs. The category stays fixed. The content underneath it changes with your business model.
Examples for Local Catalog and B2B Sites
The same six categories produce wildly different files depending on what you sell. That's the point. A roofing contractor and a lighting retailer both need to answer "what do you do" and "how do I get help," but the pages behind those answers share nothing.
A single-location service firm keeps it tight: services, one or two city pages, one proof story, the warranty, and contact. That lands around eight to twelve links and covers every question a homeowner or property manager asks before calling.
A multi-location brand lists the brand once in the H1 and blockquote, then links region or flagship city pages rather than every storefront. A 40-location roofer might link eight regional pages plus the service pages those regions share. Forty near-identical storefront pages give an assistant nothing to choose between.
An e-commerce catalog links category hubs and the policies a shopper asks about before checkout, such as shipping, returns, and sizing. A lighting retailer names six collections and three policies. The product detail pages stay in the sitemap where they belong.
A B2B SaaS company links the product overview, the pages for its two or three buyer roles, security or compliance, pricing or eligibility, and support documentation. A long API index moves to /docs/llms.txt instead of bloating the root file.
That discipline matters more than many realize. An adoption study of llms.txt files found curated maps containing roughly 5 to 15 described sections, while other implementations carry hundreds or thousands of links, including examples with more than 1,400 links. The same study reported markedly higher adoption among developer tools and SaaS than among e-commerce, fintech, media, and other businesses, which is exactly why the non-developer models need a shorter, question-led index rather than a copy of a technical documentation file.
| Business model | Link count | Core link groups |
|---|---|---|
| Single-location service firm | About 8 to 12 links | Services, one or two city pages, one proof story, warranty, contact |
| Multi-location brand | 8 regional pages plus shared service pages | Region or flagship city pages, not every storefront |
| E-commerce catalog | 6 collections and 3 policies | Category hubs; shipping, returns, sizing |
| B2B SaaS | Curated root list; long API index moved to /docs/llms.txt | Product overview, two or three buyer roles, security or compliance, pricing or eligibility, support docs |
Here's the walkthrough of how those architecture choices play out in practice.
Each model ends in the same outcome. An assistant can name what you do, who you serve, and which page proves it, without reading your navigation or guessing at your sitemap.
When to Refresh Links and Drop Stale Pages
An index that drifts out of date is worse than no index, because it teaches an assistant something your site no longer says. Treat the file as part of the release, not a one-time upload.
Edit the same week any of these change: a service you offer, a price or eligibility rule, a service area, a warranty or returns policy, or the company name. A quiet site gets a monthly review instead, with the date recorded in your content log so the next reviewer knows where the clock started.
Update the note in the same edit as the page. The blockquote and the page opening must still describe the same business in the same words.
Four kinds of URL come out as soon as they stop being the best evidence:
- Expired campaign landers that no longer match the offer on the homepage.
- Duplicate URLs that resolve to the same canonical page as a link you already list.
- Thin archive posts that don't answer a buyer question, however well they once ranked.
- Any line whose claim is no longer on the destination page, including a warranty term you softened or a service you discontinued.
When a city closes or a product retires, delete the bullet. A redirect note in the file just tells an assistant to chase a dead end. Stay inside the curated section count you set for your model, and when a new offer matters, swap it in for a weaker link rather than appending another line.
Multi-location brands re-check regional pages whenever territories change. Catalog teams re-check policy links before peak season, when shipping and returns language gets edited under pressure. The result is an index an assistant can trust because every line still matches a live page.
How the File Works With Pages Schema and Crawlers
The file is the index. Your website is the evidence. An assistant that opens /llms.txt and follows three links should land on three pages that each answer in their first sentence what the note promised.
That alignment is the whole system. The Dallas page states its service area in the opening line. The warranty page states the term. The case study states the result, the building, and the year. No page makes the assistant scroll to paragraph six to find the fact your file just advertised.

On top of those pages, add markup that matches them: Organization on the company page, Service on offer pages, FAQ where real questions are answered, and Article on proof stories. Our guide to structured data examples shows the exact shapes for each. The key constraint is that markup only helps when a crawler can reach the page it describes.
Google's guidance on AI features in Search makes the technical baseline unglamorous and clear. Ordinary search fundamentals still apply, including allowing crawling in robots.txt and at the CDN or hosting layer, and there is no special Schema.org type required for AI features. Google also flags noindex, max-snippet, and data-nosnippet as the controls that restrict how content is used or displayed.
Then check the access rules before you congratulate yourself on the markup. Google's structured data policies prohibit blocking pages that contain structured data from Googlebot through robots.txt, noindex, or other access mechanisms. A JSON-LD block on a page no crawler can fetch is decoration.
Good SEO is the foundation AEO is built on, and most AI engines still draw on web search results and well-structured, credible pages. That makes crawl access, server-rendered HTML, and fast response times a prerequisite rather than an optimization detail. Allow Googlebot and the AI crawlers you want reading the site, keep the HTML readable without JavaScript execution, and confirm the quote on the page is the quote in the file.
If a note and a page disagree, fix the page first. The file is the cheaper edit and the wrong one to make.
Quick Reference Checks Before You Publish
Run this pass in a browser and a terminal before the file goes live. It takes a few minutes and catches almost every failure that gets shipped.

Open the live URL and confirm you see the H1, the blockquote, and the H2 groups as plain text rather than an HTML error page dressed up as a 404. Then click every link in the file. Each one should land on the canonical URL, not a redirect chain and not a near-duplicate page with the same content in a different folder.
Read your notes against the pages. If the note says "ten-year workmanship warranty" and the policy page says "ten years on labor," that's a match worth keeping. If the policy page doesn't mention the term at all, the note goes or the page gets fixed.
| Check | Pass | Fail |
|---|---|---|
| File name and path | /llms.txt at the root, or a deliberate /docs/llms.txt | A renamed file or a file only in a CMS media folder |
| Response | HTTP 200 | An HTML error page or a 404 at the published URL |
| H1 | One H1 with the business name | Missing H1, slogan as H1, or several H1s |
| Summary | Blockquote matches the live about or home opening | A slogan that no page states |
| Links | Absolute HTTPS canonical URLs | Relative links, duplicates, or long redirect chains |
| Notes | Each note matches the destination page | A claim the page does not make |
| Scope | The curated section count you set, and your model's link count | Hundreds of links or a full blog archive |
| Crawl access | robots.txt and the host allow the linked pages | Key pages blocked while listed in the file |
A fail sends you back to the section that owns it, not to a rewrite of the whole file. Bad scope is a category problem. A mismatched note is a page problem. A blocked page is a robots.txt problem.
How to Publish the File and Confirm It Loads
Treat llms.txt as part of the site, not a separate document to publish and forget. Upload it alongside the pages it indexes, then confirm the live file is readable and its links work.
- Save the Markdown as
llms.txtin UTF-8. Use plain text, not a word processor export. - Upload it to the site root so it is available at
/llms.txt. For a documentation set, use a deliberate subpath such as/docs/llms.txt. - Request the published URL and confirm it returns HTTP 200 with the file served as plain text.
- Open the file in a browser. Check that its heading and sections display cleanly.
- Follow each URL and confirm it reaches the canonical page without a redirect chain. Use the same care you would when you check that an XML sitemap is valid.
- Check crawler access in
robots.txtand at the CDN or host level for both the file and its linked pages. - Make sure the file is publicly readable. Authentication, cookie prompts, and geo-blocks can prevent crawlers from accessing it.
- Log the publication date so you have a clear starting point for future reviews.
Keep the file and its linked pages in the same release process. When a developer handles deployment, hand the finished file and its page checklist to the developer. AnswerLion can audit a site without website access; for content and technical changes, the team can work with access or hand finished changes to the developer.
Measuring Whether the File Earns Citations
Publishing is the cheap part. Knowing whether anything read the file is where the useful information lives. An analysis of llms.txt files in the Common Crawl archive reports that an Ahrefs study of 137,210 domains found 28% publishing an llms.txt file, while 97% of those files were never requested. The same analysis notes that AI-search crawlers generated only 233 requests, about 1.1% of counted requests, and treats those figures as an upper bound on actual use.
Read that as a map of where the upside sits. The file itself is not the work. The pages it points to are.
Meanwhile the audience for machine-readable navigation keeps growing. Cloudflare's analysis of crawler traffic from Googlebot to GPTBot found that AI and search crawler traffic on measured websites rose 18% between May 2024 and May 2025, and 48% once newly added Cloudflare customers were included. Within AI-only crawler activity, OpenAI's GPTBot grew from 5% to 30% over the same period, while Meta-ExternalAgent arrived with a 19% share. The agents reading the web are changing fast enough that discoverability deserves active management.
Track it in three layers, once a month, and write the results down.
- Server logs. Count requests to
/llms.txtby user agent each week. Compare that count with crawler hits on the linked pages, because a fetch of the index that never reaches the Dallas page tells you where the chain broke. - Question runs. Write ten questions your buyers ask, such as which commercial roofer serves a named suburb, and run them across ChatGPT, Perplexity, Claude, and Google AI Overviews. Our guide to AI search analytics covers how to structure that baseline so months stay comparable.
- Answer logs. Record whether the business is named, how it's described, and which URL is cited. Tie every change back to the edit that caused it.
That gives you a documented answer to a question never asked out loud: is the index and the page set underneath it doing anything?
Send Your Questions for a Live Review
Email hello@answerlion.com with your website and three to five questions your customers already ask, such as which firm to hire for a named city or which provider fits a specific buyer. We reply with where your business stands across the major AI assistants and the first changes we'd make. Then we'll walk through the findings live on a 30-minute discovery call.
Engagements run in three phases. Audit runs your questions across the assistants and reports the gaps without needing access to your site. Fix covers schema, a clean sitemap, crawler access for AI bots, an llms.txt file built on this pattern, and page openings rewritten to match each file note. Track re-runs the same questions monthly and shows whether your business is named, how it's described, and which competitors get cited instead.
The outcome is a short, accurate index of the right pages, and a measured view of how the answers move.
A question-led llms.txt file is the cheapest piece of AEO infrastructure you'll build this quarter, and the page openings it points to are what get quoted. AnswerLion builds both: the index, the answer-first pages behind it, the schema and crawler access that let assistants reach them, and the monthly question runs that show whether your name shows up. Send your website and a few customer questions to hello@answerlion.com and we'll tell you where you stand and what to fix first.