llms.txt guide
llms.txt: what it does, and what it doesn’t.
A plain-English guide to the llms.txt file: what the proposal says, what Google and AI companies have stated, whether your business needs one, and how to write a good one in under an hour.
The llms.txt file is a short Markdown document placed at the root of a website to help large language models and AI assistants understand what the site is about and which pages matter most. Since its publication in 2024, it has been described both as “the robots.txt of AI” and as a useless gimmick. The truth sits in between. This guide explains the proposal, what official sources say, who actually reads the file, and how to create one that is genuinely useful for your business.
Key takeaways
- llms.txt is a Markdown file at yoursite.com/llms.txt that introduces the site and lists its most useful pages for AI tools.
- It is not an official standard and not a Google ranking factor: Google says no special file is needed to appear in its AI features.
- It is mostly useful for agents and assistants that read a site on demand, especially for documentation and technical content.
- It is one of the levers for being found by AI tools, alongside indexing, crawler access and content quality, and it takes under an hour to create.
- A good file is short, curated, accurate and updated whenever your offer changes.
Contents
What is llms.txt?
It is a plain text file written in Markdown and published at yoursite.com/llms.txt. It contains the name of the site, a short summary, a few useful details and lists of links to important pages, each with a one-line description. The idea is to give a language model a clean entry point, instead of letting it guess from menus, cookie banners and scripts.
| File | Purpose | Read by | Effect |
|---|---|---|---|
| robots.txt | Allow or block crawling | Search and AI crawlers | Access rule, respected by legitimate bots |
| sitemap.xml | List every URL to index | Search engines | Helps discovery of pages |
| llms.txt | Summarize the site and curate key pages | AI agents and assistants, on demand | Helps understanding, with no guarantee of use |

The difference fits in one sentence: robots.txt says what a bot may do, the sitemap says what exists, and the third file says what matters. It is an editorial document, not a technical rule.
Where the proposal comes from
The proposal was published on September 3, 2024 by Jeremy Howard, co-founder of Answer.AI and fast.ai, on llmstxt.org. It starts from a simple observation: assistants read more and more web pages to answer questions, but those pages are designed for humans, with navigation, ads and scripts that waste the model’s limited context. A curated Markdown summary is easier for a model to use.
The specification remains a community proposal. No standards body has adopted it, and no major search engine has committed to using it as a signal. Many documentation sites, developer tools and AI companies publish such a file for their own docs, and several SEO plugins now generate one automatically.
What the file does not do
The file is often oversold. Before you start, here are its limits as they appear in official sources.
- It is not a Google ranking factor. Google’s documentation on AI features and your website states that you do not need to create new machine-readable files, AI text files or special markup to appear in AI Overviews or AI Mode.
- It does not block anything. Only robots.txt and server rules control access; the summary file has no permission mechanism.
- It does not guarantee a citation. Assistants decide what to read and quote based on their own systems.
- It does not replace good pages. If your service pages are thin or outdated, a summary pointing to them will not help much.
Keep these limits in mind and you will spend the right amount of effort: about an hour, not a project.
Should your business publish an llms.txt file?
Our position is pragmatic: yes, once the fundamentals are in place. The file is cheap to create, harmless when accurate, and increasingly read by agents, coding assistants and tools that browse a site for a user. AI companies publish one for their own documentation, which says something about how their tools use it, even if official search guidance does not require it.
| Your situation | Priority of the file | Do this first |
|---|---|---|
| Pages not indexed or slow site | Low | Fix indexing and speed |
| AI crawlers blocked by your firewall or robots.txt | Low | Restore access for AI search agents |
| Solid site, few AI citations | Medium | Improve answers and proof, then add the file |
| Documentation, SaaS, technical product | High | Publish llms.txt and Markdown versions of key docs |
If you are unsure where you stand, run our free AI visibility checker: it checks crawler access and detects whether an llms.txt file is present.
The llms.txt format, block by block
The specification defines a simple order. Only the H1 title is mandatory; the rest is recommended.
- H1 title: the exact name of the business or project.
- Summary: a Markdown blockquote of one to three sentences with the key facts.
- Details: optional paragraphs or lists that help interpret the site, such as service area, audience or what you do not do.
- H2 sections: lists of links in the form [Page name](URL): short description, grouped by topic.
- Optional section: a section titled “Optional” for links a tool can skip when context is short.

Keep the descriptions factual and specific. “Water heater repair: tank and tankless, typical prices on the pricing page” is useful to a program; “Discover our amazing services” is not. Write each note as if it were the only line someone would read before deciding whether to open the page.
Use absolute URLs, plain Markdown and short descriptions. Avoid HTML, tracking parameters and marketing slogans: the reader is a program trying to understand facts.
An llms.txt example for a small business
Example for a fictional plumbing company. Adapt the sections to your own offer.
# Riverside Plumbing Co.
> Licensed plumbing company serving Portland, Oregon and nearby suburbs since 2009. Residential repairs, water heaters, drain cleaning and remodeling plumbing. Same-day service on weekdays.
- Service area: Portland, Beaverton, Gresham, Lake Oswego
- Hours: Mon-Fri 7am-6pm, emergency line 24/7
- License: Oregon CCB #000000 (example)
## Services
- [Water heater repair and replacement](https://example.com/water-heaters/): tank and tankless, prices from the price page
- [Drain cleaning](https://example.com/drain-cleaning/): kitchen, bath, main sewer line
- [Emergency plumbing](https://example.com/emergency/): what we handle after hours
## Pricing and booking
- [Price ranges](https://example.com/pricing/): typical costs by job
- [Book a visit](https://example.com/contact/): phone, form, response time
## Optional
- [Blog](https://example.com/blog/): maintenance tips
This example fits on one screen, states verifiable facts and points to the pages a customer would need. That is the target.
How to create the file in 5 steps
- 1. List your 20 to 40 key pages: services, pricing, about, contact, best guides.
- 2. Write the summary: who you are, what you do, for whom, where, in three sentences at most.
- 3. Group the links by topic under H2 headings, each with a short factual note.
- 4. Publish the file at the root of your domain, encoded in UTF-8, served as text with a 200 status.
- 5. Check it by opening yoursite.com/llms.txt in a private window, then purge your cache.
To save time, our free llms.txt generator reads your sitemap, lets you pick the pages and produces a file in the right format. On WordPress, some SEO plugins can also generate and serve the file; review what they include, because automatic versions are often too long.
4 rules for a useful file
A good file is short, curated, accurate and current. In practice, that means a few concrete rules.

- Keep it under a few hundred lines; long files defeat the purpose.
- Never list pages that are noindexed, redirected or deleted.
- Use the same name, phone number, area and prices as on your site and your Google Business Profile.
- Date facts that change, such as prices or opening hours.
- Review the file every quarter, and every time you launch or retire a service.
- Do not hide instructions for AI tools in the file: it damages trust and may be treated as manipulation.
Who reads the file in practice
The proposal targets tools that fetch a website at the moment a user asks something, rather than crawlers that build a search index. Three families of tools are concerned.
- Coding assistants and agents that read product documentation to write or fix code. This is where the format took off, which explains why so many developer documentation sites publish one.
- Assistants that browse on demand when a user pastes a URL or asks them to look at a site. A clean summary helps them find the right page faster.
- Internal tools that companies build on top of language models to answer questions about suppliers, partners or competitors.
Search engines are not on this list. Google has said its AI features rely on the normal Search index, and no major search engine has announced that it uses the file as a signal. That is why we treat it as a convenience for readers, not as an SEO lever.
Markdown versions of your key pages
The proposal also suggests offering a Markdown copy of important pages at the same address with .md added, for example /pricing.md next to /pricing/. The goal is the same: give a program the text without menus, pop-ups and scripts.
For most business sites, this is optional. It makes sense for documentation, API references, policies and long guides that people ask assistants to summarize. If you publish Markdown copies, keep them in sync with the HTML pages, exclude them from your sitemap and add a canonical link or a noindex header so that search engines do not treat them as duplicates. Our technical SEO fix-up covers this kind of setup.
Setting it up on common platforms
How you publish the file depends on how your site is built. The table below lists the usual options; always check the result by opening the URL in a private window.
| Platform | Usual method | Watch out for |
|---|---|---|
| WordPress | SEO plugin option, a small code snippet, or a file uploaded to the web root by FTP | Plugins that include every post and tag by default |
| Shopify | An app, or a page template served at the root through a redirect or proxy | Redirects that return 301 instead of the text itself |
| Wix and Squarespace | Limited root file access; some site builders offer it, others require a workaround | Files served as HTML instead of plain text |
| Static sites and documentation tools | Generated at build time from your navigation | Links that break after a site restructure |
If your platform makes the root file hard to publish, do not spend days on it. Fix crawler access and page quality first; the summary file can wait until a migration or a redesign makes it easy.
Questions to answer before you write it
The summary is only as good as the facts behind it. Before drafting, answer these questions in a shared document; they also make excellent material for your About page and your Google Business Profile.
- What exactly do you sell, in one sentence a stranger would understand?
- Who is it for, and who is it not for?
- Where do you work: cities, regions, remote only?
- What are your typical prices or price ranges, and when were they last updated?
- Which five pages would you send to a new customer, in which order?
- Which facts do people or assistants often get wrong about you?
The last question is the most useful. If assistants confuse you with a namesake, quote an old address or describe a service you stopped, state the correct fact plainly in the summary and on the relevant page of your site. Correcting the source pages matters more than the summary itself.
Time and ownership
Writing the first version takes 30 to 60 minutes for a typical small business. Updating it takes a few minutes each quarter. Give ownership to whoever maintains your service pages and prices, so that the summary never contradicts the website. Add the review to the same calendar reminder you use for your Google Business Profile, opening hours and price list: these are the facts assistants repeat most often, and they should always say the same thing.
How to test and monitor the file
Testing is simple: it must answer with a 200 status, display as plain text and contain only working links. Our broken link checker can scan the URLs it lists.
Monitoring is more instructive. In your server logs, look for requests to the file and note the user agents. You will see which tools actually fetch the file. For many small business sites, requests are rare; for documentation and developer sites, they are frequent. This data tells you how much effort the file deserves on your site.
Common mistakes to avoid
- Believing the file will raise your rankings in Google or AI Overviews.
- Publishing an auto-generated file with hundreds of links and no descriptions.
- Stating facts that differ from the website, such as old prices or a former address.
- Listing noindexed, redirected or deleted pages.
- Forgetting to purge the cache, so the old version stays online for days.
- Using the file to try to block bots: only robots.txt and server rules can do that.
llms.txt and the rest of your AI strategy
To be quoted by assistants, the order of priorities is the same as for classic SEO. The file comes last, as a finishing touch.

- Be indexed in Google and Bing, since assistants rely heavily on search indexes.
- Be accessible to AI search crawlers: check your robots.txt and firewall.
- Be quotable: pages that answer questions directly, with dated and sourced facts.
- Be recognized: mentions on trusted sites that confirm what you say about yourself.
- Be readable: a clean summary file and consistent structured data.
Our AI search visibility guide covers each step in depth, and the AI search optimization checklist turns it into tasks.
Checklist: your llms.txt file
Content
- H1 with the exact business name
- Factual summary in 2 or 3 sentences
- 20 to 40 curated links, each described
- Prices, area and contact checked and dated
Technical
- File at the root, UTF-8, returns 200
- No links to noindexed or broken pages
- Cache purged after each update
Follow-up
- Requests to the file tracked in logs
- Monthly check of AI citations
- Quarterly review of the file
Frequently asked questions
Is the file required?
No. No search engine or assistant requires it, and Google states that no special file is needed to appear in its AI features.
Does it improve Google rankings?
No, it is not a ranking factor. It can help agents that read your site find your key pages, which is a different benefit.
How is it different from robots.txt?
robots.txt sets access rules for crawlers. The summary file presents your content and curates important pages, without allowing or blocking anything.
Do I need llms-full.txt too?
Not for a typical business site. The full version, which bundles all content, is mostly used for software documentation.
Where should the file live?
At the root of your domain, at yoursite.com/llms.txt, served as plain text with a 200 status.
Is the file generated by my SEO plugin good enough?
It is usually valid but long and unsorted. Limit it to your key pages or write a short version by hand.
Want AI tools to understand your business better?
We check crawler access, the quality of your key pages and the consistency of your information, then prepare a useful summary file. Start with our free tools, or tell us about your project.
Related: free SEO tools, llms.txt generator and all SEO resources.
