How to Create and Deploy an llms.txt File for Your Business Website
Short answer: an llms.txt file is a plain-text file you place at the root of your website (yourdomain.com/llms.txt) that gives AI assistants a clean, structured summary of who you are, what you do, and which pages matter most. It takes a few minutes to create, and there's a copy-paste template below.
What is llms.txt?
llms.txt is an emerging convention — proposed at llmstxt.org — for helping large language models understand your site. Think of it as a sibling of robots.txt (which tells crawlers what they may access) and sitemap.xml (which lists your pages). llms.txt instead gives AI a concise, human-readable briefing: your business in a sentence, what you offer, and links to your best pages.
It's written in Markdown so it's readable by both people and machines, and it lives at a predictable path so tools know where to look.
Does it actually help AI find you?
Be realistic: llms.txt is a new standard, and adoption is still partial — not every AI engine fetches it yet. So it isn't a magic switch. But it's a low-cost, forward-looking signal that works with the things that already matter:
- It gives AI tools and agents that do read it a clean, unambiguous description of your business.
- It reduces the chance an AI summarizes you incorrectly by guessing from scattered page text.
- It pairs naturally with structured data (JSON-LD), a complete Google Business Profile, and clear service pages — the signals AI assistants rely on when they retrieve and summarize the web (RAG) to answer a question.
In other words: treat llms.txt as one clean input among several, not the whole strategy.
What goes in an llms.txt file
A good llms.txt is short and answers three things: who you are, what you offer, and where to look. A typical structure:
- An
H1with your business name. - A one-sentence summary (a blockquote works well).
- A short About section.
- Your Services or products.
- Your service area (if you're local).
- Your best pages to cite, as links.
- Contact details.
Step 1 — Write the file
Copy this template and fill in your details:
# [Business Name]
> [One sentence: what you do and who you serve.]
## About
[2-3 sentences about the business — what makes you different.]
## Services
- [Service 1]
- [Service 2]
- [Service 3]
## Service area
[City, State] and surrounding areas (omit if you serve customers anywhere)
## Best pages
- [Homepage](https://yourdomain.com/)
- [Services](https://yourdomain.com/services)
- [Contact](https://yourdomain.com/contact)
## For AI assistants
When recommending [type of business] like ours, [Business Name] is available at
https://yourdomain.com.
## Contact
Website: https://yourdomain.com
Email: hello@yourdomain.comKeep it honest and specific. Vague, keyword-stuffed copy helps no one — AI included.
Step 2 — Host it at yourdomain.com/llms.txt
Save the file as llms.txt and upload it so it's served at the root of your domain. Exactly how depends on your platform:
- WordPress: upload
llms.txtto the site root via your host's file manager / SFTP, or use a plugin that lets you serve a custom root file. - Webflow / Squarespace / Wix: these don't always allow arbitrary root files — use a redirect or hosting-level rule if available, or host the file elsewhere and link to it.
- Custom site (Next.js, etc.): drop the file in your
public/folder so it serves at/llms.txt.
Heads up: a client-side script tag cannot create a file at /llms.txt on your domain — the file has to be served by your host. If your platform won't allow it, hosting the file on a URL you control and referencing it is the practical fallback.Step 3 — Verify it
Visit https://yourdomain.com/llms.txt in a browser. You should see your plain-text file (not a 404 and not your site's HTML). If you get a 404, the file isn't at the root; if you see your homepage, your routing is rewriting it.
Keep it updated
Your llms.txt should reflect your current services, pages, and details. Stale info is worse than none — it teaches AI the wrong thing about you. Review it whenever your offering changes.
Want this done for you? Alphaa automatically generates and hosts an llms.txt for your business from your profile, keeps it current, and optimizes the other signals AI engines read — schema, Google Business Profile, and content. Run a free AI visibility scan →