How to generate an llms.txt for your Shopify store.
You read about llms.txt and want a correct one without hand-writing it — and without discovering in two months that it still lists a discontinued product and none of your new collections. The setup is a one-time job; the maintenance is the part that kills hand-rolled files.
Paste your storefront URL into the free llms.txt generator — a valid draft in about 30 seconds. Host it via Shopify Files plus a URL redirect (recipe below), validate, and set a regeneration cadence. Paid plans keep the file current as the catalog changes. Format details in the llms.txt glossary entry.
The slow way: an afternoon of copy-paste, then rot
The manual version: read the llms.txt proposal to learn the format, then build the file by hand — copy URLs for your top collections, flagship products, guides, and policies out of Shopify admin, and write a one-sentence description for each. Then solve hosting, because Shopify has no root-file upload: the workable path is uploading to Files and redirecting /llms.txt to the CDN URL. Test in a private window. Done — an afternoon if you've done it before, most of a day if not.
The real problem arrives later. Two months on, someone asks if the file is current. It isn't: three new collections launched, a hero SKU was discontinued, a policy changed. Nobody owns the update, so the map now misleads the crawlers it was meant to help. That is the recurring pattern with hand-maintained llms.txt files — not wrong at birth, wrong by quarter two.
The eCommerce Insights way
- Generate the draft. The free llms.txt generator reads your sitemap, collection structure, and homepage links, picks the 40–80 URLs that matter for AI crawlers, and drafts a description per entry from your metas and schema.
- Tighten the descriptions that matter. The drafts are accurate but generic. Spend ten minutes on hero products and top collections so they match how the brand talks — specific, no superlatives. "650-fill down, waterproof shell, unisex sizing, $485" beats "industry-leading outerwear."
- Host via Files plus redirect. Shopify admin: Settings → Files → upload; copy the CDN URL; Online Store → Navigation → URL Redirects → redirect
/llms.txtto it. Stores fronted by Cloudflare or an edge worker can serve the path directly instead. - Validate the live file. Plain-text content type, no theme wrapper, no redirect chain, every listed URL returning 200. The generator's built-in validator runs the checks in one pass — also usable on a file you wrote by hand (see the validator).
- Set the cadence. Manually: regenerate monthly. On a paid plan, eCommerce Insights regenerates on your refresh schedule, watches crawler-log fetches for GPTBot, PerplexityBot, and ClaudeBot, and flags staleness before the file misleads anyone. The Shopify-specific quirks are covered in depth in the llms.txt for Shopify guide.
What "good" looks like
Fetch counts from eCommerce Insights crawler-log observations as of early 2026, illustrative. The file is one signal among several — pair it with admitted crawlers (robots.txt job) and complete schema for the full crawl surface.
Ask AI about this job
Have your favorite AI engine apply this walkthrough to your store.
Frequently asked questions
Does Shopify natively support serving llms.txt?
What should go in an llms.txt for a Shopify store?
Which AI crawlers actually fetch llms.txt?
How often should the file be regenerated?
Does llms.txt replace schema or robots.txt?
A correct llms.txt in 30 seconds.
Generated from your live store, validated, and kept current on paid plans.