Articles · AI search
What is an llms.txt file and does your website need one?
By Armstrong Websites. Published . Updated .
An llms.txt file is a plain text file that sits on your website and gives AI tools a short summary of the site with links to its most important pages. It is a proposal that some websites have adopted. It is not an official web standard. A small business website does not need one. It does no harm to add one, but do not expect it to change how often AI tools mention you.
The name comes from “LLM,” short for large language model. That is the technology behind tools such as ChatGPT, Claude, and Gemini.
What the file is for
A web page holds more than its text. It has menus, footers, buttons, pop-ups, and code. A person ignores those. A language model has to sort through them, and it can only read a limited amount at a time.
The llms.txt idea offers a shortcut. The site owner writes one small file that says: here is what this site is, and here are the pages worth reading. An AI tool that reads the file gets a clean guide and can skip the clutter.
The proposal was published in 2024. It came from the software world, and it has been adopted most by sites with large sets of technical documents. A developer who asks an AI assistant how to use a product gets better answers when the tool can find the right help page fast.
What goes in the file
The file is written in Markdown. Markdown is a simple way to format text with symbols, such as a pound sign for a heading.
The proposal sets out a basic order.
- A top heading with the name of the site or business.
- A short summary, set off as a quote.
- Optional extra detail in plain paragraphs.
- Sections with headings, each holding a list of links. Each link can have a short note about the page.
A file for a made-up heating company could look like this.
# Example Heating Company
> Furnace repair and installation for homes in Armstrong,
> Spallumcheen, Enderby, and Vernon, BC.
## Services
- [Furnace repair](https://example.com/furnace-repair/): What we fix and how to book
- [Furnace installation](https://example.com/furnace-installation/): Brands, steps, and quotes
## Company
- [About](https://example.com/about/): Who we are and where we work
- [Contact](https://example.com/contact/): Phone, email, and hours
The file is saved with the name llms.txt and placed in the top folder of the site. It is then reachable at your domain name followed by /llms.txt.
How it differs from robots.txt and a sitemap
Three small files get mixed up. Each has a different job.
robots.txt tells crawlers which parts of a site they may visit. It is about permission. Search engines have honored it for decades.
A sitemap lists every page you want search engines to find. It is about completeness. Google and Bing read sitemaps, and you can submit yours to them. What is a sitemap and does your website need one? covers that file.
llms.txt is a short, hand-picked guide to your best pages, written for AI tools. It is about focus.
An llms.txt file does not block anything. If you want to stop AI crawlers from reading your site, that is a job for robots.txt and your host’s settings, not for this file.
Do AI tools use it?
This is the question that decides its value, and the honest answer is that support is unclear.
The proposal asks AI companies to look for the file. It cannot make them. At the time of writing, we know of no major AI search or chat product that has confirmed it relies on llms.txt to choose which businesses to mention. Google has said its search does not use the file.
Some tools can read the file when a person points them to it. That is useful for software documents. It does little for a bakery or a plumber.
This may change. Check for current news before you spend much time on it. Treat any claim that llms.txt “gets you into ChatGPT” as unproven.
What it means for a small business website
A local business site is small. It may have five to ten pages. An AI tool that can search the web can already read every one of them.
The file helps most when a site has hundreds of pages and a tool needs help choosing. A small site does not have that problem.
For a small site, the work that matters comes first.
- State what you do and where in plain text on each page.
- Give each service its own page.
- Answer common customer questions on the site.
- Keep your Google Business Profile and other listings complete and matching.
- Earn real reviews.
How to show up in ChatGPT and AI search as a local business walks through each of those steps. They help in normal search too, which an llms.txt file does not.
When adding one makes sense
There are a few cases where the file is a fair use of an hour.
Your site is large. A shop with a long product list or a business with many guides can point tools to the pages that matter.
You publish technical help. If customers ask AI tools how to use your product, a clean guide to your help pages may improve the answers.
The rest of the work is done. Your pages are clear, your listings match, and you want to try one more thing.
Your platform creates it for you. Some website tools and WordPress SEO plugins can now generate the file from your existing pages. If it takes one click, there is little to lose.
How to add one
If you decide to add the file, keep it small and correct.
- List your five to ten most important pages. Include the homepage, each main service page, the About page, and the Contact page.
- Write one line for each that says what the page covers.
- Write a two-sentence summary of the business: what you do, who for, and where.
- Put those into the format shown above in a plain text editor. Save the file as llms.txt.
- Upload it to the top folder of your website, beside your homepage file.
- Type your domain name followed by
/llms.txtinto a browser. The text of the file should appear.
On WordPress, check whether your SEO plugin has a setting for this before you upload a file by hand. On hosted builders such as Squarespace, Wix, and Shopify, uploading a file to the top folder may not be possible. Check the platform’s help pages for its current support. If it cannot be done, leave it. The file is optional.
Keep it accurate if you add it
A wrong file is worse than no file. If you add one, treat it like any other page.
Use only facts that also appear on your website. Do not add claims, prices, or service areas that the site does not state. Do not stuff it with keywords.
Update the file when you add or remove a service or change a page address. A link in the file that leads to a missing page wastes the tool’s visit. Put the file on your yearly website review list.
If you want a plain answer on what your own site needs for AI search, ask us through the contact page.
Read next
How to show up in ChatGPT and AI search as a local business
AI tools pull from websites, search results, listings, and reviews. Give them clear, matching facts about your business in each place. Here is a checklist.
Should you use AI to write your website text?
Yes, as a helper for outlines and first drafts. No, as the author. Here is where AI helps with website text, where it fails, and how to check a draft.
What Google AI Overviews mean for local businesses
AI Overviews are short answers Google writes at the top of some searches. Here is how they affect a local business and what to do on your site and profile.