llms.txt V2 on Shopify
V2 of llms.txt expects Markdown versions of pages and two link relations, but on Shopify you do not control the server, so not every part is available. This guide sets out honestly what you can add on a Shopify store, what needs an app, and what the platform does not allow — then shows the pieces you can do today.
Published: [FILL IN] · Last modified: [FILL IN]
What's possible on Shopify
Because you cannot rewrite responses or reach the domain root directly on Shopify, the V2 features split into three groups: things you can do yourself, things that need an app, and things that are not possible at all. Here is the honest picture.
| V2 feature | Possible on Shopify? | How |
|---|---|---|
| llms.txt | Yes | Publish the file and redirect /llms.txt to it |
| describedby link | Yes | Add a link element in theme.liquid |
| Markdown page versions | Only with an app | The app must serve .md files under /apps/ |
| alternate link, type text/markdown | Yes, once an app provides the address | Add the link element in theme.liquid pointing at the app's .md URL |
| Accept: text/markdown | No | Shopify does not let you vary a response on the request's Accept header |
As always, llms.txt is a community proposal rather than a W3C or IETF standard, and it is not a Google ranking factor. The goal here is to make your store easier for AI tools to read accurately — nothing more.
Step 1: Publish llms.txt
Start with the base file. On Shopify that means generating llms.txt, uploading it under Content → Files, and adding a URL redirect so it loads at your domain root. The llms.txt on Shopify guide covers those steps in full, including how to repoint the redirect after an update.
Step 2: Add describedby in theme.liquid
The describedby relation tells an AI tool which llms.txt describes this page. On Shopify you add it once, in the head of your theme, so it appears on every page. Edit layout/theme.liquid and place the link near the other head tags.
{%- comment -%} Point AI tools at your llms.txt (V2 describedby) {%- endcomment -%}
<link rel="describedby" href="{{ routes.root_url }}llms.txt">The Liquid tag routes.root_url outputs your store's root path, so the link resolves to /llms.txt. Duplicate your theme before editing so you can roll back, then browse your storefront and confirm the tag is present in the page source.
Step 3: Markdown versions through an app
This is the part Shopify does not let you build yourself. There is no way to serve a .md file at an arbitrary theme path, so a Markdown version of each page can only come from an app, and Shopify serves app content under /apps/. Before you rely on one, check three things.
- A stable address. The app should serve each Markdown file at a predictable URL that does not change when you update the content.
- An alternate link. It should give you the Markdown URL so you can add the alternate relation yourself, or inject it for you.
- Active maintenance. Feature names, prices and behaviour change between apps and versions, so confirm the current listing before you commit.
Once an app provides a Markdown address, you add the alternate link in theme.liquid, alongside the describedby link from the previous step. Keep the app as the single source for the Markdown — do not hand-edit a copy that the app will overwrite.
Without an app: llms-full.txt
If no suitable app is available, you can still give agents the full text of your store without the .md plumbing. Publish an llms-full.txt that bundles your important page content into one file and link it from the Optional section of your llms.txt. It is not the same as per-page Markdown, but it does hand a model your actual words instead of storefront HTML.
You can build that file with the llms-full.txt generator, then upload and redirect it the same way you did for llms.txt.
Step 4: Check it with the V2 checker
After the redirect and the theme edit are live, verify the result. The llms.txt V2 checker goes through the V2 requirements and points out what is present, what is missing, and what your platform simply will not support — so you know exactly where Shopify's limits begin.
Check your file
Generate yours free
Learn more
- What is llms.txt?
- llms.txt V2: what changed
- Format & specification
- How to create llms.txt
- Best practices
- Examples & templates
- Do I need llms.txt?
- llms.txt for SEO
- What is llms-full.txt?
- llms.txt vs llms-full.txt
- llms.txt vs robots.txt
- llms.txt in the news
- LLMs.txt Generator
- LLMs-full.txt Generator
- LLMs.txt Validator
- llms.txt V2 Checker
- Robots.txt Generator
- Robots.txt Tester