Nikhil Sharma Tools
Free tool · Runs in your browser

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

  1. Online Store, then Themes, then Edit code on your live theme.
  2. Under Templates, choose Add a new template and select llms.txt. This creates templates/llms.txt.liquid, the same pattern used for robots.txt.liquid.
  3. Paste the generated output and save.
  4. Verify at yourstore.com/llms.txt in 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?
A plain-text Markdown file at the root of your site, at yourstore.com/llms.txt, that tells AI agents what your site is about and which pages matter. robots.txt controls what may be accessed. llms.txt assumes access and provides orientation, acting as a curated map rather than an index.
Does Shopify already generate llms.txt?
Yes. Shopify rolled out automatic llms.txt generation across stores, so yours almost certainly already exists. The default is generic and reflects what Shopify chose to surface. You can override it by creating a templates/llms.txt.liquid file in your theme, the same pattern used for robots.txt.liquid.
Does llms.txt improve AI visibility?
It is one signal, and not the strongest one. Crawl access and product structured data matter more for whether you appear in shopping results at all. llms.txt shapes how your store is described and navigated once an agent can already reach it. It takes five minutes and replaces a generic default with your own positioning.
Should I list every product in llms.txt?
No. It is a map, not a catalog. A file listing hundreds of products stops functioning as a summary. Include your top collections, the products you want recommended, and the pages that answer pre-purchase questions such as shipping, returns, and sizing.
How do I install llms.txt on Shopify?
Go to Online Store, Themes, Edit code, then Add a new template and select llms.txt. Paste your content into the resulting llms.txt.liquid file, save, and verify at yourstore.com/llms.txt in a private window. Because it is a Liquid template, sections can be made dynamic later.
What is the difference between llms.txt and robots.txt?
robots.txt is a permissions file that controls which crawlers may access which paths. llms.txt is an orientation file that describes what your site is and points to the pages that matter. They solve different problems and you want both configured correctly.

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? →