llms.txt generator for Shopify stores
Every Shopify store now ships a default llms.txt that says what Shopify chose, not what you'd choose. Fill this in, copy the output, and control how AI agents describe your store.
Your llms.txt
# Fill the form above and hit Generate
Install on Shopify
Online Store → Themes → Edit code → Add a new template → choose llms.txt.liquid under templates → paste the output → Save. Verify at yourstore.com/llms.txt. Same pattern as robots.txt.liquid; your file overrides Shopify's default. Full background in the llms.txt rollout post.
What llms.txt is, and what it is not
llms.txt is a plain-text file at the root of your domain that tells AI agents what your site is and which pages matter. It is written in Markdown and it is a short document, not a data dump.
The comparison to robots.txt is useful but imprecise. robots.txt is a permissions file: it says what may be accessed. llms.txt is an orientation file: it assumes access and provides a map. An agent that lands on your store with a shopper's question benefits from a curated summary far more than from crawling a hundred collection pages to work out what you sell.
Shopify already generates one for you
Shopify rolled out automatic llms.txt generation across stores, alongside agentic checkout endpoints and an Agentic Storefront view in admin. Open yourstore.com/llms.txt right now and you will almost certainly find one.
That default is functional and generic. It reflects what Shopify chose to surface, which means your positioning, your hero collections, and the pages that answer buying questions are being selected by a template rather than by you. Overriding it is a five minute job and it is the only part of AI visibility where you get to write your own description.
Structure that works
# Store Name > One sentence on what you sell and who it is for. Website: https://yourstore.com ## Products - [Best Sellers](https://yourstore.com/collections/best-sellers): most-ordered items - [Espresso Blend](https://yourstore.com/products/espresso-blend): chocolate-forward, low acid ## Pages - [Shipping and Returns](https://yourstore.com/pages/shipping) - [FAQ](https://yourstore.com/pages/faq)
An H1 with your store name, a blockquote summary, then linked sections with a short note per item. The notes matter more than the links. "Espresso Blend" tells an agent nothing a URL would not. "Chocolate-forward, low acid" gives it something to match a shopper's question against.
What to include, and what to leave out
Include: your top collections, the products you actually want recommended, and the pages that answer pre-purchase questions. Shipping policy, returns policy, and sizing or spec pages punch above their weight, because those are exactly the questions a shopper asks an assistant before buying.
Leave out: your full catalog. This is a map, not an index. A file listing four hundred products is worse than one listing twelve, because it stops being a summary and becomes something to crawl. Also skip cart, checkout, and account pages, which are useless to an agent, and anything you would not want quoted back to a customer.
Installing on Shopify
- Online Store, then Themes, then Edit code on your live theme.
- Under Templates, choose Add a new template and select
llms.txt. This createstemplates/llms.txt.liquid, the same pattern used for robots.txt.liquid. - Paste the generated output and save.
- Verify at
yourstore.com/llms.txtin a private window.
Because it is a Liquid template you can make sections dynamic, for example looping over a specific collection so the file updates itself as products change. Start static, confirm it renders, then add Liquid if the maintenance burden justifies it.
Honest expectations
llms.txt is not a ranking factor and it will not rescue a store that AI crawlers cannot reach. Crawl access and product structured data both matter more for whether you appear in shopping results at all. What llms.txt controls is how your store is described and navigated once an agent is already there. That is a narrow benefit, but it is free, it takes five minutes, and the alternative is letting a default template speak for your brand.
Check crawl access first with the AI Crawler Checker, then structure your product data with the Product Schema Generator.
Common questions
What is llms.txt?
Does Shopify already generate llms.txt?
Does llms.txt improve AI visibility?
Should I list every product in llms.txt?
How do I install llms.txt on Shopify?
What is the difference between llms.txt and robots.txt?
Read next on the blog
Get new tools and posts in your inbox
Occasional notes on Shopify, paid ads, and AI in commerce. No spam.
Thanks - check your inbox to confirm.
Want the free AI Shopping Checklist PDF instead? →