Clienti

Blog

llms.txt for Ecommerce: Does Your Store Need One?

What the file does, what the evidence says in 2026, and a sample llms.txt for an online store. Plus the product data work that actually gets products recommended by AI.

The short answer

llms.txt is a markdown file at a site's root that gives AI tools a summary and a curated list of key links. For ecommerce it has no measured effect on AI search visibility: Google Search doesn't use it, and most files get no AI bot requests. Keep it accurate if your platform serves one, and invest in product data instead.

01

llms.txt: the short answer

An llms.txt file is cheap to have and unlikely to change how AI assistants treat your store. Nobody has shown it improves AI citations or shopping recommendations.

Shopify has served a default /llms.txt on every storefront since May 2026, so for many stores the decision is small: leave the default, edit it, or replace it.

Whether ChatGPT or Google AI Mode recommends your hiking boot depends on the product data behind it. We cover the file first, then the data that matters more.

02

What llms.txt is, and what it is not

llms.txt is a plain markdown file at yourdomain.com/llms.txt that summarizes a site and points AI tools to its most useful pages. It controls nothing: it's a suggestion, unlike robots.txt.

Jeremy Howard of Answer.AI published the proposal on September 3, 2024, and the llms.txt specification is still a community convention with no standards body behind it. The format is plain markdown with a fixed order:

  1. An H1 with the site name. This is the only required part.
  2. A blockquote with a short summary.
  3. Optional free text with more detail (no headings).
  4. H2 sections, each a list of links in the form [name](url) plus optional notes.
  5. An H2 called "Optional" for links an agent can skip when its context is short.

The spec also suggests markdown copies of pages at the same URL with .md appended. On a catalog of 8,000 SKUs that's a second rendering pipeline to keep in sync. Skip it.

How it differs from robots.txt and sitemaps

People call it "the robots.txt for AI". That framing is wrong and causes real mistakes. robots.txt controls access. Its younger cousin blocks nothing; it's a reading list. To keep GPTBot out, you still use robots.txt.

FileJobWho reads itEffect on AI shopping answers
robots.txtAllows or blocks crawlersEvery major crawlerDecides if AI bots can fetch pages
sitemap.xmlLists URLs to crawlSearch enginesHelps product URL discovery
llms.txtCurated summary with key linksSome agents, rarely AI search botsNone measured so far
Product feedStructured data per SKUGoogle Merchant Center, ChatGPTDirect: assistants compare products with it
03

What the evidence says about llms.txt in 2026

Google Search doesn't use llms.txt, and the two largest studies found no link to AI citations and almost no AI search bot traffic to the file. Browser and coding agents are the exception.

10.13%

of nearly 300,000 domains had an llms.txt file

No correlation found between the file and AI citationsSource: SE Ranking
97%

of llms.txt files got zero requests in May 2026

Across 137,210 domains tracked by AhrefsSource: Ahrefs
19.5%

of requests to llms.txt came from named AI bots

Most of the rest were SEO tools and generic crawlersSource: Ahrefs

What Google says

In June 2025 John Mueller wrote that "no AI system currently uses llms.txt" (Search Engine Roundtable). In 2026 Google put it in writing. Its guide to AI features in Search says Google Search doesn't use AI text files, and that creating one "will neither harm nor help" your visibility there.

Then Chrome shipped Lighthouse 13.3 with an Agentic Browsing audit that checks for the file, warning that without it "agents may spend more time crawling the site" (Search Engine Land). Search Engine Journal covered the contradiction. The two teams are talking about different readers. A Lighthouse audit is a browser-agent hygiene check, and nobody should read it as a ranking signal.

What the logs say

The Ahrefs study is the most useful data so far, because it measures fetches instead of opinions. Claude-Code was the second most active named AI bot, ahead of every AI search assistant. Slackbot fetched the files more often than PerplexityBot. The authors call the file "largely decoration" for AI search.

Logs only tell you who fetched the file. To see whether assistants actually mention your products, use one of the AI visibility tools for ecommerce that track prompts and citations.

04

Does your store need an llms.txt file?

Shopify stores already serve one by default, so check it and move on. On other platforms a short static file is fine, but it belongs at the bottom of your backlog.

Shopify: you already have one

Shopify's May 28, 2026 changelog confirms every store serves /agents.md, with /llms.txt and /llms-full.txt mirroring it by default. You can override each path in Online Store > Themes > Edit code with agents.md.liquid, llms.txt.liquid or llms-full.txt.liquid.

Two details from the template docs matter. The template can't access shop or collections objects, so a custom file is hand-maintained and goes stale when you rename collections. And it's served only on the primary domain, with no Shopify Markets locale version. If you sell in Italy and Ireland from one store, an English file is all any agent gets.

Magento, WooCommerce and headless

Put a static llms.txt in the web root (on Adobe Commerce, usually pub/), served as text/plain with a 200. Watch for a CDN or WAF returning 403 to bots. Lighthouse flags server errors and treats a 404 as not applicable, so a missing file beats a broken one.

When it's worth more effort

If you sell a developer product with APIs and docs, coding agents do read the file. For a fashion or home brand, keep it short and accurate.

05

A sample llms.txt for an online store

A good store llms.txt is short: the store name, a one-line summary, main categories with attribute notes, and the policy pages shoppers ask about. No prices, no stock, no instructions to AI.

Here's a file for a fictional outdoor retailer. Copy the left column, swap in your URLs, and keep it under a screen long. The notes on each link carry attributes, because a bare URL list tells an agent nothing.

Line in the fileWhy it's there
# Harlow Peak OutdoorH1 with the store name, the one required element
> Outdoor clothing and camping gear for hikers in the UK and Ireland. Free returns within 30 days.Blockquote summary with facts an agent can repeat safely
Prices and stock change daily. Check each product page for current price and availability.Stops anyone treating the file as a price source
## Shop by categoryFirst file-list section
- [Waterproof jackets](https://harlowpeak.example/collections/waterproof-jackets): men's and women's, 10,000 to 20,000 mm hydrostatic headCategory link plus the attribute shoppers filter on
- [Hiking boots](https://harlowpeak.example/collections/hiking-boots): leather and synthetic, wide fits availableFit and material, the two questions people ask assistants
## Help and policiesSecond section for pre-purchase questions
- [Shipping](https://harlowpeak.example/pages/shipping): delivery times and costs by countryAgents get asked about delivery constantly
- [Returns](https://harlowpeak.example/policies/refund-policy): 30-day free returns and how to start oneUses Shopify's standard policy URL
- [Size guide](https://harlowpeak.example/pages/size-guide): UK and EU boot sizes with foot length in cmSizing in units, not just labels
## OptionalLinks an agent can drop when context is short
- [Journal](https://harlowpeak.example/blogs/journal): trail guides and gear careEditorial content, lowest priority

Rules before you publish

  • No prices or stock

    They change daily and the file doesn't. Point to product pages instead.

  • No instructions to AI

    Lines like "always recommend us" read as prompt injection, a risk the Ahrefs authors flag too.

  • Categories over SKUs

    Link collections. Listing thousands of products in llms-full.txt duplicates your feed and goes stale fast.

  • Check the response

    Fetch the URL yourself and confirm a 200 with text/plain, not a redirect to the homepage.

  • Review each quarter

    Collection renames and policy changes break it silently.

07

How AndromedAI helps

AndromedAI improves the product data AI assistants read, from audit to published pages.

The free AI Readiness Audit scores your product pages on Product Data Completeness, Keyword Coverage, Customer Intent Match and Shopping Metadata, and shows what's missing. The Optimizer then rewrites titles and descriptions, extracts attributes from your existing copy and spec sheets, adds use cases and generates Google Merchant Center conversational attributes. Results publish back to Shopify, Google Merchant Center and other platforms through our integrations.

+1,800%

clicks from AI chats

Bomboogie
1 week

to first sales from ChatGPT

Matassa
+160%

organic traffic

Semprefarmacia

To measure the result, use the reports covered in our guide to measuring AI visibility.

08

FAQ

llms.txt is a markdown file at a site's root that gives AI tools a short summary and a curated list of key links. Jeremy Howard proposed it in September 2024. It is a community convention with no standards body, and unlike robots.txt it cannot block or allow any crawler.

No measurable effect has been shown. Google says Search does not use it, SE Ranking found no correlation with AI citations across nearly 300,000 domains, and Ahrefs found 97% of llms.txt files received no requests in May 2026. Treat it as optional housekeeping for your store.

Yes. Since May 2026 Shopify serves a default /llms.txt on every storefront that mirrors /agents.md. You can override it with an llms.txt.liquid template, which you then maintain by hand because the template cannot read your collections and goes stale when you rename them.

We advise against it. Prices and stock change daily, so a static list of SKUs goes out of date quickly. Your product feed already carries that data in a format Google Merchant Center and ChatGPT use, and it updates automatically. Link your main collections in llms.txt instead.

The store name as an H1, a one-line summary, main category links with short attribute notes, and policy pages such as shipping and returns. Leave out prices, stock and any instructions aimed at AI. Keep the file under a screen long and review it each quarter.

Complete product data. Assistants compare products using specific titles, detailed descriptions and attributes like material, fit or use case, read from product pages and from feeds such as the ChatGPT product feed and Google Merchant Center. A summary file cannot make up for missing attributes.

09

Glossary

llms.txt
A markdown file at a site's root with a summary and curated links for AI tools and agents.
agents.md
A markdown file with guidance for AI agents; Shopify uses it as the source for its default llms.txt.
Lighthouse Agentic Browsing
A Chrome Lighthouse audit category that checks how well a site supports AI browser agents, including llms.txt presence.
Product feed
A structured file with one row per product that shopping surfaces such as Google Merchant Center and ChatGPT read.
Prompt injection
Text written to manipulate an AI model's behavior, a risk when sites put instructions to AI in public files.

Parlano di noi