LLMs.txt Tools
All tools are free to use — no account and no sign-up required.
Back to the generator

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 featurePossible on Shopify?How
llms.txtYesPublish the file and redirect /llms.txt to it
describedby linkYesAdd a link element in theme.liquid
Markdown page versionsOnly with an appThe app must serve .md files under /apps/
alternate link, type text/markdownYes, once an app provides the addressAdd the link element in theme.liquid pointing at the app's .md URL
Accept: text/markdownNoShopify 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.

layout/theme.liquid
{%- 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

Validate your llms.txt before you go live — it scores nine checks and flags broken links. Open the LLMs.txt Validator.

Generate yours free

No account needed. Build an llms.txt from your website, sitemap or a pasted list in seconds. Open the LLMs.txt Generator.

Learn more