Llms.txt: a beginner's guide for Shopify merchants

If you have run Shopify’s readiness scanner or read anything about AI visibility recently, you have probably seen the term llms.txt mentioned as something your store is missing. This post explains what it actually is, why it exists, and what it should contain, without assuming any technical background.

What is llms.txt?

llms.txt is a plain text file that lives at the root of your website, at yourstore.com/llms.txt. It was proposed in 2024 as a standard way for website owners to communicate directly with AI systems. Think of it as a short briefing document you write for AI agents, telling them what your store sells, who it is for, and where to find your most important content.

It is not a ranking factor like a meta title. It is closer to a welcome note. When an AI agent visits your store to decide whether to recommend it, a well-written llms.txt gives it structured, reliable context it can use immediately.

Why does it matter now?

Shoppers are increasingly asking ChatGPT, Perplexity, and Google AI Mode things like “what is the best ceramic tableware set for a dinner party under 100 euros.” These tools do not browse your store in real time the way a human would. They rely on previously indexed content, structured data, and files like llms.txt to understand what you sell.

If you do not have one, the AI has to guess based on whatever it has already seen about your store, which is often incomplete or outdated.

What goes inside it?

A basic llms.txt for a Shopify store usually contains four things:

  1. A one to two sentence description of your store and what makes it distinct
    1. Your main product categories with a brief description of each
      1. Links to your key pages (homepage, collections, policy pages, blog)
        1. Any context that helps an AI understand your ideal customer, such as price range, style, or use case
      2. Here is a simplified example for a home goods store:
  2. Haven Lux

Haven Lux is a Portuguese home essentials store specialising in ceramic tableware, designer table lamps, and cutlery sets. Products are curated for customers who want quality, timeless design for everyday living.

Collections

  • Ceramic Tableware: /collections/ceramic-tableware
    • Lamps and Lighting: /collections/lamps
      • Cutlery Sets: /collections/cutlery
    • Key Pages

      • About: /pages/about-us
        • Returns Policy: /pages/returns
          • Shipping: /pages/shipping
      • That is genuinely most of what a solid llms.txt needs. It does not have to be long. It has to be accurate and specific.
    • What it is not
  • llms.txt does not replace your product descriptions, your schema markup, or your robots.txt file. It works alongside them. Think of robots.txt as instructions for search engine crawlers, and llms.txt as a briefing for AI agents. Different audience, different purpose.

It also does not guarantee your products will be recommended. What it does is remove friction. An AI that understands your store clearly is far more likely to surface it than one that has to piece together what you sell from vague category pages.

How to create one

The file itself is just a plain text file. You can write it in any text editor and upload it to your store’s root directory. Some apps on the Shopify App Store will generate and host it for you automatically if you prefer not to do it manually.

The most important thing is that the description of your store is honest, specific, and written the way a knowledgeable person would explain your store to a friend, not in marketing language.

Worth doing?

Yes, and it takes less than an hour manually. As AI-driven discovery becomes a larger share of how shoppers find products, having a clear, machine-readable briefing file is one of the simplest things you can do to make sure you are not invisible to that traffic.

Happy to answer questions about format, content, or how it fits with the rest of your AI readiness setup.

Useful primer. One thing worth adding for Shopify merchants specifically: most of the value isn’t in writing llms.txt itself, it’s in what you choose to point to. The file is a routing document, so the question is whether the URLs you list (about page, FAQ, top collections) are actually well-structured for an AI to summarize.

A few gotchas I’ve seen:

  • Linking to /collections/all because it “has everything” - it usually generates a flat list with no context, AI agents bounce
  • Forgetting product spec sheets, sizing guides, or compliance docs - these are exactly what AI is asked about for considered purchases
  • Treating it as one-and-done - the moment your hero product changes, llms.txt becomes a stale signal

There’s also no real consensus yet that AI crawlers honor it the way robots.txt is honored. Treat it as a small upside experiment, not a fix for invisibility. The bigger lever is still whether your product pages have answer-shaped content (questions in H2s, specs as tables) so that a snippet has something coherent to lift.

What did you put in yours? Curious if anyone here has tested whether agents actually pull from it.

Great questions both.

On attribution: we are doing prompt-based tracking, not Search Console-style impressions. There is no attribute or UTM you can cleanly attach to a ChatGPT or Google AI Mode click, so we run structured prompts against those engines and track whether your store gets cited, in what position, and for which query. It is closer to rank tracking than impression tracking. The ChatGPT-User and OAI-SearchBot hits in your logs confirm the crawler visited, but they do not tell you whether the visit led to a citation in an actual answer.

On update cadence: we regenerate weekly by default and also trigger on collection changes. You are right that a stale file is the real failure mode. A merchant who rotates seasonal products and forgets to update ends up pointing AI to a page that no longer matches the query. We are planning to make the cadence configurable so high-frequency stores can set it more aggressively. Adding that to the roadmap now based on this thread.