How to Add llms.txt to Your Website: A Local Business Guide
Published July 6, 2026 · BizWhiz research
To add llms.txt to your website, create a plain-text file named llms.txt and upload it to your site’s root directory, so it loads at yourdomain.com/llms.txt. The file uses simple Markdown: one heading with your business name, a short blockquote summary, then sections of links to your key pages. Budget about 30 minutes.
First, the honest part
llms.txt is an emerging convention, not an established standard. The format was proposed at llmstxt.org as a way for websites to hand AI systems a clean, curated summary instead of forcing them to parse cluttered HTML. Some AI crawlers request the file. No major AI platform has publicly committed to using it as an input, and nobody outside those companies knows how much weight it gets. That includes us.
So here is our position, plainly: llms.txt is cheap hygiene. It costs half an hour, it can’t hurt, and it might help. It is not a ranking trick, and anyone selling it as one — “add llms.txt and ChatGPT will recommend you” — is guessing. In the local-business audits we run, the pattern that predicts AI visibility best is presence on the sources AI answers already cite (directories, review sites, local press), consistent name/address/phone data, and a complete Google Business Profile. Do those first. Then add llms.txt, because it’s twenty lines of text and the marginal cost is close to zero.
If you want the bigger-picture playbook before the file itself, start with how to get ChatGPT to recommend your business.
What llms.txt actually is
llms.txt is a Markdown file that lives at your site’s root and acts as a map for language models. The rationale behind the proposal is practical: web pages are full of navigation menus, scripts, cookie banners, and repeated boilerplate. AI systems that retrieve pages have to strip all of that out and work within limited context. A single clean file that says “here is what this business is, here is where it operates, here are the five pages worth reading” removes the guesswork.
Two comparisons make it click:
- robots.txt tells crawlers where they may not go. llms.txt tells AI systems what the site is and which pages matter. Same location, opposite job.
- sitemap.xml lists every URL on your site with no explanation. llms.txt lists a handful of URLs with explanations, in an order you choose.
Neither of those files replaces llms.txt, and llms.txt replaces neither of them.
The format, piece by piece
The llmstxt.org format is deliberately simple. In order:
- One H1 heading (
#) with your business name. This is the only required element. - A blockquote (
>) with a one-to-three-sentence summary: who you are, what you do, where you do it. - Optional plain paragraphs with any detail that doesn’t fit the summary — licensing, years in business, guarantees.
- H2 sections (
##), each containing a Markdown list of links in the form- [Page title](url): one-line description. - A section named “Optional” for links that are useful but safe to skip — blogs, news, secondary pages.
Write it like an elevator pitch aimed at a machine. Every line should carry a fact. If a sentence would work in a brochure but tells a model nothing concrete — “we pride ourselves on excellence” — leave it out.
A worked example: a plumbing company
Here is a complete llms.txt for a fictional plumbing company. Swap in your own facts and URLs.
# Reyes Brothers Plumbing
> Family-run plumbing company serving Mesa and Gilbert, Arizona
> since 2009. Licensed (AZ ROC #123456), insured, and available
> 24/7 for emergencies. Specialties: water heater replacement,
> slab leak repair, drain cleaning, and whole-home repiping.
## Services
- [Water heater installation and repair](https://reyesbrothersplumbing.com/water-heaters): tank and tankless, same-day replacement in most cases
- [Slab leak detection and repair](https://reyesbrothersplumbing.com/slab-leaks): electronic leak detection, documentation for insurance claims
- [Drain cleaning](https://reyesbrothersplumbing.com/drains): hydro jetting and camera inspection
- [Repiping](https://reyesbrothersplumbing.com/repiping): full copper and PEX repipes for homes built before 1990
## Company
- [About us](https://reyesbrothersplumbing.com/about): licensing, insurance, team, and service area
- [Reviews](https://reyesbrothersplumbing.com/reviews): verified customer reviews
- [Contact](https://reyesbrothersplumbing.com/contact): phone, hours, and service request form
## Optional
- [Blog](https://reyesbrothersplumbing.com/blog): maintenance guides and pricing explainers
Notice what the file does. The blockquote front-loads the facts a model needs to describe the business accurately: cities, license number, availability, specialties. The Services section maps directly to the questions customers actually ask AI assistants (“who replaces water heaters in Mesa”). Every link carries a description, so a system that never fetches the linked page still learns something true. Nothing in the file is filler.
Where the file goes
The root of your site. Exactly this URL:
https://yourdomain.com/llms.txt
Not /files/llms.txt, not /docs/llms.txt, not LLMS.TXT. Lowercase filename, .txt extension, plain UTF-8 text. If your site answers on both www.yourdomain.com and yourdomain.com, make sure the file loads on whichever version your other pages redirect to — it should sit on the same canonical domain as everything else.
One more check: if your robots.txt disallows crawling broadly, a polite crawler may never fetch llms.txt at all. The two files should agree.
Adding it on common setups
The mechanics depend on how your site is built. Generically:
- Static hosting (a site deployed from a folder of files): add
llms.txtto the folder that becomes your site root — often calledpublic,static, or the output directory — and redeploy. - WordPress: the file needs to sit in your web root (commonly
public_html) alongside the WordPress install. Upload it through your hosting control panel’s file manager or over SFTP. Some SEO plugins can also generate an llms.txt for you; check your plugin’s documentation rather than adding a new plugin just for this. - Website builders: support varies. Look for a feature that lets you upload custom files to the site root — it may be called file hosting, custom assets, or similar. Some builders simply don’t allow arbitrary root files. If yours doesn’t, skip llms.txt and don’t fight it; the half hour is better spent on your Google Business Profile.
If someone else manages your site, this is a two-line request: “Please add the attached llms.txt to the site root so it loads at ourdomain.com/llms.txt.”
Sanity-check that it’s live
Don’t assume the upload worked. Verify:
- Open the URL in a private browser window. You should see your raw Markdown text — headings, blockquote, links — not a styled page and not your site’s 404 page.
- Check that it’s really the file, not a soft 404. Some sites return their homepage or an error page for missing files while still reporting success. If you see anything other than your own text, it isn’t live.
- Check it after redesigns. Static files in the root are commonly dropped during migrations and rebuilds. Any time your site changes platforms or themes, reload the URL.
- Read it once as a stranger. Every claim in the file should match what your website says. A stale llms.txt that contradicts your own pages — old hours, a dropped service, a city you no longer cover — is worse than no file at all.
What to do this week
- Confirm the basics are done first: Google Business Profile complete, name/address/phone consistent across your site and major directories, and LocalBusiness schema on your website.
- Write the blockquote summary: who you are, what you do, which cities you serve, since when, plus license numbers if your trade has them.
- List the 5–10 pages a new customer would actually need — services, about, reviews, contact.
- Assemble the file using the format above, one line per link, each with a plain factual description.
- Upload it to your site root and load
yourdomain.com/llms.txtin a private window. - Fix anything that redirects, 404s, or renders as a styled page instead of plain text.
- Put a recurring reminder in your calendar to update the file whenever your services, hours, or service area change.
Where llms.txt fits in your AI visibility work
Keep the file in proportion. It is one small, unproven input in a system with several proven ones. When we audit a local business, we run 20 localized customer questions across six AI systems and store every answer verbatim — and what separates visible businesses from invisible ones is almost never a single file. It’s whether the business exists, consistently and credibly, on the pages those systems retrieve and cite. Our methodology explains how we measure that.
Add llms.txt this week. Then measure whether AI systems can describe your business accurately at all — start with a free AI visibility scan.
Common questions
What is llms.txt?
llms.txt is a plain-text Markdown file placed at the root of a website (yourdomain.com/llms.txt) that gives AI systems a short, curated summary of the site: what the business is, where it operates, and which pages matter. It is an emerging convention proposed at llmstxt.org, not an established standard, and adoption by AI crawlers is real but uneven.
Does llms.txt improve AI visibility?
Honestly, the magnitude is unproven. Some AI crawlers request the file, but no major AI platform has publicly committed to using it, and nobody outside those companies knows how much weight it gets. Treat it as low-cost hygiene: it takes about 30 minutes, it cannot hurt, and it might help. Do it after the basics — Google Business Profile, consistent name/address/phone, reviews, and structured data — not instead of them.
Where does llms.txt go?
In the root directory of your website, so it loads at https://yourdomain.com/llms.txt. Not in a subfolder, not renamed, and served as plain text. If you open that URL in a browser and see your Markdown content, it is in the right place.
Is llms.txt the same as robots.txt?
No. robots.txt tells crawlers which parts of your site they may not access — it is a set of restrictions. llms.txt does roughly the opposite: it tells AI systems what your site is about and points them to the pages that matter most. The two files live in the same place and complement each other, but they serve different purposes.
See what AI actually says about your business.
Free 30-second scan — real queries against live AI systems, no simulations. Then the full 70+ answer report with your score and the fix plan if you want it.
Run my free scan →- LocalBusiness Schema Markup for AI: A Step-by-Step Guide
How to add LocalBusiness JSON-LD so AI systems get your name, address, hours, and services right. Complete worked example and validation steps.
- How to Get ChatGPT to Recommend Your Business: 6 Levers
The concrete steps that put local businesses into ChatGPT answers: profiles, NAP data, cited sources, reviews, schema, and monthly measurement.
AI assistant answers vary by time, phrasing, location, and model version. Nothing on this page is a guarantee of rankings, mentions, or citations — we describe the inputs AI systems observably rely on, and we measure results per business with timestamped samples.