Jobs to be done · SEO · Developer

How to generate an llms.txt for your Shopify store.

You read about llms.txt on a blog. You want one. You've opened Shopify admin and discovered there's nowhere obvious to host it. Here's the practical path from decision to live file.

Quick answer

Open the free llms.txt generator, paste your storefront URL, get a draft in 30 seconds. Upload to Shopify Files, add a URL redirect from /llms.txt to the Shopify CDN URL, validate. For weekly regeneration see the eCommerce Insights product.

How people do this without eCommerce Insights

The manual version of this job takes an afternoon if you've done it before and most of a day if you haven't. You scroll Shopify admin looking for a "root files" section that does not exist. You read the llmstxt.org proposal and understand the format. You open a text editor and start copy-pasting URLs from your Shopify admin — your top 20 collections, your top 50 products, your guides, your policies. You write a one-sentence description for each one.

Now you need to host it. You search "how to host llms.txt on Shopify" and find three different answers: use a Shopify app, use a redirect, use a theme hack. You pick the redirect path, upload the file to Files, copy the CDN URL, add the redirect, test in a private browser window. It works. You close the tab and move on to the next thing.

Two months later someone asks if the file is up to date. It is not. You launched three new collections since then. The file still references a discontinued SKU. You need to do the whole thing again. That's the real problem with llms.txt — not the initial setup, the maintenance.

How to do this in eCommerce Insights

  1. Generate a draft with the free tool. Open eCommerce Insights's free llms.txt generator, paste your Shopify storefront URL, and get a draft in 30 seconds. The tool reads your sitemap, your collection structure, and your homepage links to pick the 40-80 URLs that actually matter for AI crawlers.
  2. Edit descriptions to match brand voice. The generator drafts descriptions from your meta descriptions, PDP titles, and schema. They are accurate but generic. Spend ten minutes tightening the ones that matter — your hero products and top collections — so they match how your brand actually talks.
  3. Upload to Shopify Files and add a URL redirect. Copy the final file. In Shopify admin, go to Settings → Files and upload. Copy the resulting Shopify CDN URL. Then open Online Store → Navigation → URL Redirects and add a redirect from /llms.txt to that CDN URL. Save.
  4. Validate the live file. Open yourdomain.com/llms.txt in a private browser window. Confirm it loads as plain text (not wrapped in the Shopify theme), the Content-Type header is plain text or markdown, there's no redirect chain, and every listed URL responds 200 when clicked. eCommerce Insights's generator includes a built-in validator that runs these checks in one pass.
  5. Set a regeneration cadence. Free: monthly, manually. Paid: eCommerce Insights regenerates weekly, monitors crawler-log fetches for GPTBot, PerplexityBot, and ClaudeBot, and flags when the file has gone stale (new collections added, hero SKUs discontinued). Either cadence beats the hand-maintained file that goes stale.

For the full technical detail on llms.txt and Shopify hosting quirks, see the llms.txt for Shopify guide.

What "good" looks like

  • A live /llms.txt returning 200 with plain-text Content-Type. No theme wrapper, no redirect chain, no 404.
  • 40-80 entries total, covering the homepage, about, top 10 collections, top 20 PDPs, top guides, policies, and contact. No draft or archived products.
  • Descriptions that read like Wikipedia summaries: accurate, specific, no marketing superlatives. "The Founder Parka: 650-fill down, waterproof shell, unisex sizing, $485" beats "our industry-leading outerwear."
  • Weekly crawler-log hits from at least three AI bots: GPTBot, PerplexityBot, ClaudeBot are the baseline expectation for stores with a published file.
  • Monthly or weekly regeneration. Any cadence faster than ad-hoc manual updates.

Ask AI about llms.txt on Shopify

Have your favorite AI engine summarize this for your specific use case.

Frequently asked questions

Does Shopify natively support serving llms.txt?
Not directly. Shopify does not let merchants upload arbitrary files to the domain root. The standard workaround is to upload the llms.txt to Settings → Files, copy the resulting Shopify CDN URL, and add a URL redirect under Online Store → Navigation → URL Redirects from /llms.txt to that CDN URL. Cloudflare or edge-worker rewrites are cleaner alternatives for merchants on a custom front door.
What should go in an llms.txt for a Shopify store?
A one-paragraph brand summary, links to your top collections, flagship products, guides, and policy pages. Aim for 40 to 80 entries total. Each entry has a URL, short label, and one-sentence description. Avoid marketing superlatives; write descriptions like a Wikipedia editor would.
Which AI crawlers actually fetch llms.txt?
eCommerce Insights's crawler-log observations across hundreds of Shopify stores in Q1 2026 show GPTBot, ChatGPT-User, PerplexityBot, ClaudeBot, and Google-Extended fetching the file on sites that publish one. Adoption is advisory, not binding. A typical D2C Shopify store with a published llms.txt sees two to ten fetches per week across the major AI bots — illustrative.
How often should the file be regenerated?
After significant catalog changes — a new collection, a discontinued hero SKU, a major policy rewrite. Monthly is a reasonable baseline for active merchants. eCommerce Insights's paid product regenerates weekly automatically. Small product additions don't require an update; the file is a curated map, not a live index.

Related tools

See eCommerce Insights on your catalog.

Weekly llms.txt regeneration. Crawler-fetch monitoring. One less thing to remember.