If you run a Shopify store, you have probably searched for an app or plugin to generate an llms.txt for Shopify — it is one of the most common llms.txt searches store owners make right now. Here is the part most of those app listings do not tell you: since May 2026, Shopify generates an llms.txt file for every store automatically. You may not need an app at all. What you need is to check what Shopify is serving on your store’s behalf, decide whether the default content represents your store well, and customize it if it does not. This guide walks through all three steps, based on Shopify’s own developer changelog.
New to the format? Start with our plain-English explainer, What Is an llms.txt File? The Complete Guide, then come back here for the Shopify-specific steps.
What changed: Shopify now ships llms.txt, llms-full.txt and agents.md on every store
In early May 2026, Shopify quietly began serving three AI-discovery files at the platform level for every hosted store: /llms.txt, /llms-full.txt and a newer file, /agents.md. No merchant action was required — the files are generated from data already in your Shopify admin, such as your store name, products and collections.
Then, on May 28, 2026, Shopify published a developer changelog entry — “Customize /llms.txt, /llms-full.txt and /agents.md” — that clarified how the three files relate to each other:
- /agents.md is the primary file. Every store includes a default agents.md at yourstore.com/agents.md.
- /llms.txt and /llms-full.txt point to the same content by default. Unless you customize them separately, all three URLs serve Shopify’s generated default.
- Each path can be customized independently with a Liquid theme template (covered in step 3 below).
This also explains a confusion many merchants hit in mid-2026: if you had previously set up a custom llms.txt using the old upload-and-redirect trick, it stopped working — Shopify claimed the /llms.txt path platform-wide, and the path now resolves to Shopify’s file instead. The fix is not another redirect; it is the official template method below.
Step 1: Check what your store serves right now
Open these two URLs for your own store in a browser:
- yourstore.com/llms.txt
- yourstore.com/agents.md
Both should load a plain-text, Markdown-style file. Do not stop at “it loads.” Because every Shopify store now returns a file at these paths, a tool that only checks whether /llms.txt exists will report a pass on every store — whether the merchant has done anything or not. Read the actual content. Check that the store name and description sound like your store, the collections and links are current, and nothing important is missing or stale. What an AI shopping assistant reads there is, in effect, your store’s machine-readable introduction.
Step 2: Decide whether the default file is good enough
Shopify’s default is generated from your store data, which means its quality mirrors your data. For many stores it is a reasonable starting point:
- It may be enough if your product titles and descriptions are clear and factual, your collections are well organized, and your key policies (shipping, returns) are published and current.
- Customize it if the generated summary reads like generic boilerplate, buries your best collections under minor ones, links to outdated pages, or fails to say the one thing your store is actually known for.
A useful rule of thumb: if a human skimming your /llms.txt could not tell what you sell, who it is for, and which five pages matter most, the default needs help.
Step 3: Customize your file with the official Liquid templates
Shopify’s May 28 changelog introduced three theme templates, one per path. To use them, go to Online Store → Themes → Edit code in your Shopify admin and add any of these files under Templates:
| Template you add | What it controls |
|---|---|
templates/agents.md.liquid | /agents.md — and the default content for the other two paths |
templates/llms.txt.liquid | /llms.txt only |
templates/llms-full.txt.liquid | /llms-full.txt only |
The fallback chain is simple: if a template exists for a path, Shopify serves it; if not, the path falls back to your agents.md template, and then to Shopify’s generated default. Most stores only need one file — templates/llms.txt.liquid — written in plain Markdown following the standard llms.txt structure: an H1 with your store name, a one- or two-sentence summary, then grouped link sections.
A minimal, honest skeleton looks like this:
# Your Store Name
> One sentence on what you sell and who it is for.
## Collections
- [Everyday Essentials](https://yourstore.com/collections/essentials): What is in it, in plain words
- [Gift Sets](https://yourstore.com/collections/gift-sets): Who they suit and when
## Help and Policies
- [Shipping](https://yourstore.com/policies/shipping-policy): Delivery regions and timeframes
- [Returns](https://yourstore.com/policies/refund-policy): The window and conditions, factually stated
Tip: drafting this content by hand is where most merchants stall. Our free llms.txt generator builds a structured file from your site’s own pages in your browser — generate a draft there, edit it down to your best collections and policies, then paste it into the template. And after saving, revisit both URLs from step 1 and confirm your custom version — not the default — is what loads.
What about llms.txt apps and the old redirect method?
Most “how to add llms.txt to Shopify” guides written before May 2026 describe uploading the file to Shopify Files (Content → Files) and creating a URL redirect from /llms.txt to the CDN link. That method is now obsolete: Shopify serves the path itself, so the redirect no longer controls what AI crawlers receive.
Apps need a more careful look. An app whose entire pitch is “we create your llms.txt file” is selling something Shopify now does natively, for free. Apps can still earn their keep if they help you write, update and monitor the content — for example by regenerating your custom template when collections change — but check exactly what you are paying for before subscribing, and confirm the app works through the official templates rather than the old redirect trick.
What to put in a custom llms.txt for Shopify stores
- Collections, not every product. Link your main collection pages with factual one-line descriptions; a concise map beats a full catalogue dump.
- Policies AI assistants get asked about. Shipping regions and times, returns window, warranty basics — stated plainly, never as marketing claims.
- Your best guides. Buying guides and care instructions are the pages assistants love to cite when shoppers ask “which one should I buy?”
- Nothing behind a login. No cart, checkout or account pages, and no expired sale pages.
- A maintenance habit. Update the file when you add or retire a collection, the same way you would update a store directory.
An honest note on what llms.txt can and cannot do
We recommend setting this up, but with clear expectations. No major AI company guarantees that an llms.txt file earns you citations, and Google has stated that llms.txt does not affect Google Search rankings. Treat the file as preparation, not a ranking trick: AI shopping agents and agentic storefronts are becoming a real channel — Shopify is clearly building for them — and a clear, accurate, store-controlled file means that when an assistant describes your store, it works from your words instead of guesses. The cost is about fifteen minutes; the downside of skipping it is a generic default you never chose.
FAQ
Does my Shopify store already have an llms.txt file?
Almost certainly yes. Since May 2026, Shopify serves a generated default at /llms.txt (mirroring /agents.md) on hosted stores. Visit the URL on your own domain to see it.
How do I edit my store’s llms.txt?
Add a templates/llms.txt.liquid template under Online Store → Themes → Edit code, and put your Markdown content in it. That template overrides the default for the /llms.txt path only.
Do I still need an llms.txt app for Shopify?
Not to create the file — Shopify does that natively. Consider an app only if it genuinely helps you maintain or monitor the content, and verify it uses the official template system.
What is agents.md, and should I customize it too?
It is Shopify’s primary agent-facing file, and /llms.txt mirrors it by default. If you customize only one file, start with llms.txt; customize agents.md as well if you want full control over what AI agents read first.
Does llms.txt help my Google rankings?
No — Google has said llms.txt has no effect on Search rankings. Its value is in AI-assistant and shopping-agent surfaces, not classic SEO.
Last verified: October 2026. Facts about Shopify’s rollout and templates are from Shopify’s developer changelog (May 28, 2026) and were re-checked against current sources when this guide was written; platform features change, so confirm the changelog entry if a step looks different in your admin. This guide was drafted with AI assistance and fact-checked by our editorial team against the sources linked above.
1 thought on “llms.txt for Shopify: How to Check and Customize Yours (2026)”