Can I add an llms.txt file to a Shopify store?
The short answer
Yes. At the time of writing Shopify serves an llms.txt file for stores automatically, with the same content as a default agents.md file it generates, and a developer can change it by adding an agents.md.liquid or llms.txt.liquid template to your theme. No major AI company has confirmed that its tools rely on llms.txt, though, so editing it is a low-priority job for most stores.
How llms.txt works on Shopify now
An llms.txt file is a plain text or Markdown file placed at yourdomain.com/llms.txt that summarizes a site and points to its key pages. It is a proposed convention, not a standard that AI companies have adopted.
For a long time Shopify merchants needed an app or a URL redirect to serve one, because files uploaded through the admin are served from Shopify's file CDN, not the store's root. That has changed. At the time of writing, Shopify's developer documentation says every store has a default agents.md file, and that /llms.txt and /llms-full.txt serve the same content unless you override them. Open yourstore.com/llms.txt to see what yours says today.
To change it, a developer adds a template in the theme code editor:
- agents.md.liquid controls /agents.md, and the two llms paths fall back to it, so one template covers all three.
- llms.txt.liquid overrides /llms.txt alone, if you want it to differ from the others.
Advice about apps and redirects mostly predates this. Check Shopify's current documentation, because the feature is new and may change.
What llms.txt will and won't do for a store
There is no public confirmation from OpenAI, Google or the other major AI companies that their assistants use llms.txt when deciding what to say or which products to show. Google representatives have said publicly that Google Search does not use it. So adding one is unlikely to change whether ChatGPT names your products. The details are in whether ChatGPT reads llms.txt.
What does affect AI answers for a Shopify store is more ordinary: product pages that describe the product fully, accurate prices and stock, clear collection pages, reviews and coverage on other sites. An llms.txt file doesn't fix any of those.
When it is worth editing
Shopify's default file costs nothing, so there is little reason to remove it. If you or an app customize it, just make sure it doesn't list discontinued products or old prices, since that would be one more source of wrong prices in AI answers. And be wary of anyone selling llms.txt as the centerpiece of AI visibility work for your store.