Shopify llms.txt (2026): Do You Need One, How to Customize It & the Honest Truth

Shopify llms.txt (2026): Do You Need One, How to Customize It & the Honest Truth

Quick answer: If you're on Shopify, you almost certainly already have an llms.txt. Since May 2026, every Shopify store serves /llms.txt, /llms-full.txt, and /agents.md at the root automatically — with /agents.md as the canonical file the other two mirror. So this isn't really a "how to add" job; it's a "how to check, customize, and not get fooled" one. And the honest part: no major AI answer engine has confirmed it uses llms.txt for rankings — Google has said outright it won't help — so treat it as low-effort future-proofing, not a traffic button.

That last point matters, because most guides still sell llms.txt as a magic "get into ChatGPT" file. The data disagrees. In a June 2026 study of 137,210 domains, Ahrefs found that 97% of published llms.txt files received zero requests in a month, and actual AI answer-bots (like PerplexityBot and OAI-SearchBot) made up only ~1.1% of the requests that did happen (Ahrefs). Their verdict was blunt: for showing up in ChatGPT or AI Overviews, an llms.txt file is "largely decoration."

So let's do this properly — check what you already have, customize it the supported way, put the right things in it — and then spend your real energy on the levers that actually move AI visibility.

Do you already have an llms.txt on Shopify? (Probably — here's how to check)

Open a browser and go to yourstore.com/llms.txt and yourstore.com/agents.md. On a live Shopify store in 2026, both return a real file — you didn't have to do a thing.

Here's what changed: in its May 28, 2026 changelog, Shopify made these files a native part of the platform (Shopify). Every store now serves three agent-discovery files at the root by default:

  • /agents.md — the canonical document (the one Shopify treats as the source of truth).
  • /llms.txt and /llms-full.txt — alternate URLs that mirror /agents.md unless you say otherwise.

They're served at your bare primary domain (no /en or Markets locale prefix), and there's no localized version — one file, one store. If you never touch a thing, Shopify keeps a sensible default in sync with your store settings. For a lot of merchants, "you already have one and it's fine" is the honest, complete answer.

What is llms.txt — and how is it different from agents.md and llms-full.txt?

llms.txt is a proposal from Jeremy Howard (co-founder of Answer.AI), published in September 2024 (llmstxt.org). The idea: give a language model a clean, Markdown map of your site's important content, so it doesn't burn its limited context window wading through nav, popups, and ad markup.

The spec has a specific shape:

  • an H1 with your site/brand name (the only required part),
  • a blockquote summarizing what the site is,
  • optional detail, then
  • H2 sections, each a list of [link](url): description entries — with an ## Optional section for links a model can skip when it needs to be brief.

A vocabulary note so you're not confused later: in the wider spec, a "full" file means all the linked content inlined into one long document. On Shopify, /llms-full.txt is simply another URL that mirrors /agents.md by default — a narrower meaning. And agents.md is the emerging "agent instructions" convention that Shopify chose as its canonical file. In practice, on Shopify you customize agents.md and the other two follow.

How to customize your Shopify llms.txt / agents.md (the supported way)

If the default isn't detailed enough, the correct, Shopify-supported way to change it is a theme template — not an app, not a redirect. The exact path:

  1. Shopify admin → Online Store → Themes.
  2. On your live theme → ⋯ → Edit code.
  3. In the Templates folder → Add a new template.
  4. Create agents.md.liquid (this controls all three files at once — the best default), or llms.txt.liquid only if you want /llms.txt to differ from /agents.md.

Two rules that trip people up:

  • These must be Liquid templates, not JSON — same as robots.txt.liquid. You write Markdown with Liquid mixed in.
  • Shopify gives the template a special agents object with auto-filled values — use them instead of hardcoding URLs so nothing goes stale: agents.store_name, agents.store_url, agents.sitemap_url, and (for agentic commerce) agents.ucp_discovery_url and agents.mcp_endpoint_url (Shopify docs).

Shopify serves the first file it finds, in this order:

  • /agents.md → your agents.md.liquid → Shopify's default
  • /llms.txt → your llms.txt.liquid → your agents.md.liquid → Shopify's default

So adding just agents.md.liquid upgrades all three in one move.

What should you put in it?

Think of it as a concise, curated map for a shopping agent — not a data dump. A good Shopify agents.md / llms.txt includes:

  • Your store name (H1) and a one-line blockquote: what you sell and who for.
  • A pointer to your sitemap (agents.sitemap_url).
  • Key collections — your main category pages (the "shop this catalog" links).
  • A short list of best-seller / hero products (curated, not your whole catalog).
  • Policy links — shipping, returns/refunds, warranty.
  • FAQ, support, contact, and About pages.
  • If you're doing agentic commerce: your UCP discovery and MCP endpoint via the agents object.
  • Push non-essential links under an ## Optional heading (per the spec).

Honest caveat: a rich, hand-curated file is genuinely useful for coding/IDE agents and is nice future-proofing — but there's no evidence today that it increases how often ChatGPT, Gemini, or Perplexity cite your store. Keep it tidy; don't spend a week on it.

Does llms.txt actually work in 2026? (The honest answer)

Short version: not as a ranking or citation signal for the big AI answer engines. The record:

  • Google is explicit. Gary Illyes said in 2025 that "Google doesn't support llms.txt and isn't planning to," and Google's own documentation (updated June 2026) states you don't need machine-readable AI files to appear in Google Search or its AI features, because Google doesn't use them — llms.txt "won't harm or help" your rankings (Search Engine Land).
  • The traffic data agrees. The Ahrefs study above found 97% of llms.txt files get zero requests, and AI answer-bots barely fetch them.
  • Who does read it: coding and IDE agents (Claude Code, Cursor, Copilot). Tellingly, OpenAI, Anthropic, and Perplexity all publish an llms.txt on their own developer-docs sites — useful for docs and coding agents, not proof their answer engines crawl yours.
  • Some SEO posts claim Perplexity and Anthropic "use" your llms.txt for retrieval. We couldn't verify that against a primary source, and the server-log data points the other way — so treat it as reported, not confirmed.

We go deeper on the "does it work" debate in how to get your Shopify store recommended by ChatGPT, Gemini & Perplexity. The takeaway here: keep your llms.txt because it's free and tidy — just don't expect it to move traffic.

The old workarounds (app, URL redirect, CMS page) — skip them

If you're following an older tutorial, ignore these — they're now redundant or actively broken on Shopify:

  • A "Page" called llms lives at /pages/llms-txt, which is not /llms.txt. Bots check the root; they'll never find it.
  • URL redirects or App Proxy files pointing /llms.txt elsewhere now get overridden — Shopify's platform routing owns that path. (Some llms.txt apps built on App Proxy are effectively superseded.)
  • The only external override that still works is putting Cloudflare in front of your store to intercept the request first — an engineering project, not merchant guidance.

For 99% of stores: use the default, or customize the theme template. That's it.

If llms.txt is decoration, where should your effort go? The levers actually confirmed to help AI shopping assistants find and trust your store:

  1. Clean, complete product data — titles, descriptions, specs, and image alt text an AI can parse.
  2. Schema.org (JSON-LD) — valid Product, FAQ, and Breadcrumb markup so machines know what each page is.
  3. AI-crawler access — make sure GPTBot, ClaudeBot, PerplexityBot, and Google-Extended aren't blocked in your robots settings.
  4. Reviews and trust signals — the social proof AI leans on when it decides what to recommend.
  5. Shopify's Agentic Storefronts / UCP — Shopify's own agentic-commerce plumbing (part of the Universal Commerce Protocol) that surfaces eligible products inside AI shopping (Shopify Engineering).

Auditing all of that by hand — across a whole catalog — is real work. That's the gap our app fills: AIRank Xpert scores every product for AI-readiness, bulk-fixes titles, descriptions, tags and alt-text plus Schema data, checks that AI crawlers can actually reach you, and — the part nothing else does — tracks your AI Share of Voice across ChatGPT, Gemini, Perplexity and Claude week over week, so you can see whether any of this is working. Note what it doesn't claim: it won't "add llms.txt" (Shopify already does that) or promise a spot in ChatGPT — it strengthens the levers that matter and measures the outcome, honestly. See how AIRank Xpert works → (free plan available).

Shopify's three agent files at a glance

FileWhat it isHow to customizeFallback
/agents.mdCanonical agent-discovery docagents.md.liquidShopify default
/llms.txtConcise LLM index (mirrors agents.md)llms.txt.liquidagents.md.liquidShopify default
/llms-full.txtAlternate URL (mirrors agents.md)llms-full.txt.liquidagents.md.liquidShopify default

Sources


Related reads:

Xpertshire builds AI-discovery-ready Shopify stores, structured-data fixes, and AEO/GEO content. We also publish AIRank Xpert — which scores your products for AI-readiness, fixes the data and schema that actually matter, and tracks whether ChatGPT, Gemini and Perplexity are recommending you.

Frequently Asked Questions

Do I need to add an llms.txt to my Shopify store?

No. Since May 2026, Shopify serves /llms.txt, /llms-full.txt and /agents.md automatically on every store. You only need to act if you want to customize what's in them — and even then it's optional, because no major AI engine is confirmed to use the file for rankings.

How do I edit my Shopify llms.txt?

Go to Online Store → Themes → Edit code → Templates → add a new agents.md.liquid (it controls all three files) or llms.txt.liquid. Write Markdown with Liquid, and use the built-in agents object (like agents.sitemap_url) instead of hardcoding URLs.

Does ChatGPT read my llms.txt?

There's no confirmation that ChatGPT or its crawlers use your llms.txt to decide what to recommend. Server-log studies show AI answer-bots barely fetch these files. The confirmed consumers today are coding/IDE agents, not consumer AI search.

What's the difference between llms.txt and agents.md?

agents.md is Shopify's canonical agent-instructions file; /llms.txt and /llms-full.txt mirror it by default. Customize agents.md.liquid and the other two follow automatically.

Will llms.txt help my Google ranking?

No. Google has stated it doesn't use llms.txt and that the file "won't harm or help" your rankings — normal SEO is what gets you into Google's AI features.

Share

Shopify Writer & Editor, Xpertshire

Nikhat Jahan writes and edits the Shopify how-to guides, app tutorials and SEO content on the Xpertshire blog. Every tutorial is tested on a real Shopify store before publishing.

Our Shopify apps

Tools we build to grow Shopify stores — install free from the Shopify App Store.