An llms.txt file is a short Markdown file that gives an AI system a guided path into your site. It names your business, sums up what you sell in a sentence or two, and lists your most important pages with a short note each. The idea comes from a proposal published at llmstxt.org. The proposal defines one file, llms.txt, and it defines a small fixed format for it. That narrow scope is where most mistakes begin.
Most llms.txt mistakes are not technical. They are plain errors a busy owner makes once and never checks: the file sits in the wrong place, the order of the sections is wrong, the links point at pages that no longer exist, or the prices in the file no longer match the prices on the pages. None of these errors breaks your site. Each one quietly makes the file useless, because an AI system that opens it finds a map that does not match the shop. Platform screens change, so check the vendor docs in Sources for the current path.
What this guide covers
This guide covers the ten mistakes that show up most often, in the order you should check for them. First, the file is in the wrong place, or two files disagree. Second, the file is written like robots.txt, with rules the proposal never defines. Third, the sections are in the wrong order, or the one required part is missing. Fourth, the file tries to list everything, and grows too large to be useful. Fifth, the facts no longer match the live pages. Sixth, the links are broken. Seventh, the file lists pages no visitor should reach, like the cart and the checkout. Eighth, the file invents fields the proposal never defines. Ninth, the owner expects the file to do a job no vendor says it does. Tenth, the file is never tested and never updated.
Who does each step
Marketer work is opening the file in a browser, reading it like a customer would, and checking each link and each fact against the live page. Developer work is moving the file to the right address and generating it from the catalog so it stays current.
Step 1: check the address, and check for a second file that disagrees
The first mistake is putting the file in the wrong place. The proposal says the file can sit at the site root, at your domain followed by /llms.txt, or at any path within the site, covering the pages under that path. The root is the conventional place, and it is the place a tool will look first. A file buried in a subfolder, or named with a capital letter, or saved with the wrong extension, is a file a tool may never find.
The matching mistake is having two files that disagree. A root file that lists one set of products and a subpath file that lists another set, with different prices, leaves a reader with no way to know which list is right. If you use a subpath file, it should cover only the pages under that path, and the facts in it should match the root file wherever they overlap.
Step 2: write it as an index, not as a set of rules
The second mistake is writing llms.txt as if it were robots.txt. Robots.txt tells crawlers what they may access, with Allow and Disallow lines. Llms.txt does none of that. It is an index, not a permission slip. It cannot block a crawler, it cannot allow one, and it cannot keep content out of training. The proposal says robots.txt lets automated tools know what access is considered acceptable, while llms.txt is used on demand, when an agent needs information about a topic while assisting a user.
So a file full of Allow lines, Disallow lines, or key and value blocks follows no format any reader expects. The proposal defines only Markdown structure: an H1, a blockquote, optional prose with no headings, and H2 sections holding lists of links. There are no rule fields, no priority fields, and no front matter. If a line in your file looks like a setting, delete it.
Step 3: keep the sections in order, and keep the one required part
The third mistake is getting the order wrong, or leaving out the one part the proposal requires. The proposal says the file contains, in order, an H1 with the name of the site, which is the only required section, then a blockquote with a short summary, then optional prose with more detail, then H2 sections holding file lists, each item a Markdown link with an optional note after a colon.
Read your file from the top and check each part in turn. The first line should be your business name as an H1, exactly as customers know it. The next lines should be a blockquote, one or two sentences that say what you sell and who it is for. After that, each H2 section should group a set of links: products, guides, policies. Each link should have a short note that says what the page covers, in plain words. A file that starts with a list of links, or that puts the summary after the links, is a file a parser may read wrong.
Step 4: keep it short, and list only what matters most
The fourth mistake is listing everything. The proposal says the file itself stays small enough to fit in context, with the detail living behind the links, fetched only when needed. It also says context windows are still too small for most websites in their entirety, and every wasted token costs time and money. A file that lists every product, every variant, and every blog post is a file no tool will read to the end, and it hides your best sellers at the bottom.
Choose the contents by what a shopper asks about most. List your best selling products, the categories that organize them, the guides that answer real questions, and the policies that govern a purchase: shipping, returns, and payment. Leave out the long tail of products that rarely sell. If your catalog is large enough that the short index leaves out products a shopper might ask about, the companion file llms-full.txt holds fuller text in one document. Be clear about what that file is. The proposal at llmstxt.org defines llms.txt only and does not mention llms-full.txt. That long file grew up beside the proposal as a documentation-platform habit. It is not in the proposal, no vendor asks for it, and no engine is documented as reading it. Cut the index first.
Step 5: keep the facts, the links, and the list current, and test the file
The remaining mistakes all come from the same cause: the file is written once and never checked again. The fifth mistake is stale facts. A price in the file that no longer matches the product page is a live copy of a dead price, and an agent that quotes it will quote the wrong price to a shopper. The sixth mistake is broken links. The proposal says the links should point to LLM friendly content, such as Markdown versions of pages where those exist, with detail behind the links. A link that returns an error, or that points at a page you deleted, breaks that chain.
The seventh mistake is listing pages no visitor should reach. Leave out the cart, the checkout, the account pages, and any page behind a login. Leave out products you no longer sell. If a product is in the file, it should be for sale, at the price the file states.
The eighth mistake is inventing fields. Do not add a priority score, a freshness date, a stock count, or a custom key and value block. The proposal defines none of those, and a reader has no agreed way to interpret them. Put facts in the note after the link, in plain words, or leave them on the page the link points to.
The ninth mistake is expecting the wrong result. Google says Google Search does not use llms.txt, and that creating one will neither help nor harm your visibility in Google Search. No engine publishes a promise to read the file. If you measure the file by Google traffic, it will always look like a failure. Measure it instead by whether it is accurate.
The tenth mistake is never testing it. The proposal suggests testing the file by asking an agent questions about your content, giving it only your llms.txt as a starting point. Do that after every catalog change, and add three checks to your routine: open the file and confirm the changed product is listed with the right note, open the product page and confirm the price and stock match, and click every link you changed.
Machine-readable version you can copy
This section gives you one copy-ready block: a short corrected llms.txt file for a coffee roaster, built only from the format verified in the llms.txt proposal at llmstxt.org. Replace the example values with your own facts, and keep every fact identical to the live pages. The H1 is the only required part. The blockquote holds a short summary. Each H2 section holds a file list, each item a Markdown link with an optional note after a colon. Do not add a field the proposal does not define, and do not invent a URL.
# Cedar Roast Coffee
> Small batch coffee roaster selling whole bean coffee, brewing guides, and gift sets for home brewers.
## Products
- [House blend whole bean](https://www.example.com/products/house-blend): Medium roast whole bean coffee, for everyday brewing.
- [Decaf whole bean](https://www.example.com/products/decaf): Decaf whole bean coffee, for evening brewing.
## Guides
- [How to brew pour over coffee](https://www.example.com/guides/pour-over): Pour over brewing steps, grind size, and water temperature.
## Policies
- [Shipping and returns](https://www.example.com/policies/shipping-returns): Shipping times and return terms.
Worked example: a coffee roaster whose file listed a retired blend
Take a small coffee roaster with a short llms.txt file she wrote by hand when she launched the shop. The file listed eight blends, and it sat at the right address, so she assumed it was fine. When she opened it and read it line by line, she found four mistakes. The file listed a blend she had retired six months earlier, at its old price. It listed the cart and the checkout, which no visitor should reach from an index. It had no blockquote, because she had skipped the summary and gone straight to the links. One link pointed at a guide she had renamed, so it returned an error.
She fixed the file in one pass. She removed the retired blend and the cart and checkout links. She added a blockquote that said what she sells and who it is for, in two sentences. She fixed the broken guide link to point at the new address. She checked each remaining price against the live product page, and she found one more blend whose price had changed and had not been updated in the file. She added the file to the same checklist as the product page, so a price change now reaches both on the same day.
Frequently Asked Questions
Does llms.txt control which crawlers can visit my site?
No. Llms.txt is an index, not a permission slip. It cannot block a crawler or allow one. Robots.txt is the file that tells crawlers what access is considered acceptable, and even that file is a request, not access control. If you need to control access, do it in robots.txt.
What is the one part of llms.txt I must get right?
The H1 with your business name, in the right place, at the top of the file. The proposal says it is the only required section. After that, keep the sections in the order the proposal defines: blockquote summary, optional prose with no headings, then H2 sections holding lists of links.
Will fixing my llms.txt file help me in Google Search?
No. Google says Google Search does not use llms.txt, and that creating one will neither help nor harm your visibility there. Fix the file so tools which do read it find accurate facts and working links.
What is llms-full.txt, and is it part of the llms.txt proposal?
It is a companion file that holds fuller text of your key pages in one document. It is not part of the proposal. The proposal at llmstxt.org defines llms.txt only and does not mention llms-full.txt. It is a convention from documentation platforms, not a vendor requirement, and no engine is documented as reading it.
Verified Sources & Technical Documentation
- llms.txt proposal, The llms.txt file Specific https://llmstxt.org/
- Google Search Central, Optimizing your website for generative AI features on Google Search Specific https://developers.google.com/search/docs/fundamentals/ai-optimization-guide
- Google Search Central, AI features and your website Specific https://developers.google.com/search/docs/appearance/ai-features
- RFC 9309, Robots Exclusion Protocol General Docs https://www.rfc-editor.org/rfc/rfc9309.html
- Schema.org, Product type General Docs https://schema.org/Product
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.