Skip to content

AI Crawlers

Shopify and llms.txt: what's supported, what isn't

Published

What llms.txt is and isn't

llms.txt is a markdown file at /llms.txt that lists canonical pages an AI engine should read first when summarising a site. Spec proposed by Jeremy Howard, 2024-09-03. One required H1 with the site name; optional blockquote summary; optional H2 file lists with markdown links. The spec is short and permissive. The hard part on Shopify is hosting — themes don't natively serve root .txt files the way they serve robots.txt.liquid.

The spec1 requires exactly one element: an H1 with the site name. Everything else is optional. Shopify's theme templates documentation2 doesn't list an llms.txt template type — the install requires a workaround.

What Shopify supports natively

Shopify supports robots.txt.liquid as a theme template — root .txt files generated from Liquid. It does NOT support a generic root .txt file system. There's no llms.txt.liquid template. Shopify themes serve files from /assets/ via the CDN, from templates as rendered pages, and from a fixed list of well-known files (robots.txt, sitemap.xml). Adding /llms.txt to that list requires a workaround.

The Shopify dev docs2 list supported templates explicitly. robots.txt.liquid and metaobject are the SEO-relevant ones. llms.txt has no equivalent first-party template type.

The install patterns that work on Shopify

Three patterns. (1) Upload llms.txt as a static asset to the theme — served from /assets/llms.txt, not /llms.txt root. (2) Create a Shopify page at /pages/llms with the manifest body, then add a URL redirect from /llms.txt → /pages/llms. (3) Use a Shopify app that intercepts the /llms.txt request and serves the manifest. None of these is the root-served behavior the spec calls for; all of them work for AI clients that follow redirects.

PatternProsCons
Static asset uploadSimple; one fileServed from /assets/ subpath, not /llms.txt root
Page + URL redirectServed at /llms.txt after redirectSome parsers expect text/plain; Shopify serves text/html
Third-party appHandles routing correctlyAdds app dependency

The honest 2026 current state

Adoption is uneven. Publisher side: Anthropic and Perplexity both publish their own llms.txt for developer docs; Cloudflare publishes a marketing-site example. Consumer side: as of 2026-05-22, no major AI engine has publicly committed to reading third-party llms.txt files as a retrieval or ranking signal at answer time. OpenAI's bot documentation3, Anthropic's bot reference4, and Perplexity's bot docs5 all describe their crawlers and none mention llms.txt as a directive they honor.

llms.txt checklist for Shopify

Six steps to ship llms.txt on Shopify. The whole install runs about 30 minutes including the verification pass.

  1. Draft the manifest body — H1 with store name, blockquote summary, H2 sections with markdown links to canonical pages.
  2. Create a Shopify page at /pages/llms with the manifest body in a Rich Text or Custom HTML block.
  3. Open Online Store > Navigation > URL redirects and add: /llms.txt → /pages/llms (301).
  4. Verify: curl -IL https://yourstore.com/llms.txt should show the redirect chain ending in 200 OK.
  5. Verify body: curl -L https://yourstore.com/llms.txt should return the manifest text.
  6. Cross-link: include the /llms.txt URL in the storefront sitemap or footer for crawlability.