llms.txt for Shopify stores
No signup, no email. The checker reads only public files and gives a plain-English fix list.
Open the llms.txt generatorWhat Shopify serves today
Shopify generates /agents.md for every store and serves /llms.txt and /llms-full.txt as alternate URLs with the same content. The lookup order for /llms.txt is:
- templates/llms.txt.liquid, if your theme has it
- templates/agents.md.liquid, if present
- Shopify's generated default
The file is served on the bare primary domain, with no locale or Markets subfolder version.
Example llms.txt.liquid for a store
# Fjord Wool Co.
> Fjord Wool Co. sells Norwegian wool sweaters, socks and blankets online, shipping to the EU, the UK and Norway.
All prices include VAT. Free returns within 30 days.
## Shop
- [Sweaters](https://{{ request.host }}/collections/sweaters): men's and women's sweaters, sizes XS to XXL
- [Socks](https://{{ request.host }}/collections/socks): hiking and everyday wool socks
- [Size guide](https://{{ request.host }}/pages/size-guide): measurements per style
## Help
- [Shipping](https://{{ request.host }}/policies/shipping-policy): delivery times and costs per country
- [Returns](https://{{ request.host }}/policies/refund-policy): 30-day returns and how to start one
- [Wool care](https://{{ request.host }}/pages/care): washing and storing wool
How to add it
- Online Store > Themes > ... > Edit code.
- Right-click the Templates folder, choose New file and name it llms.txt.liquid.
- Paste your Markdown, save, and open https://yourstore/llms.txt.
Limits to know
- Only the request and agents objects work in these templates, so you can't loop over products or collections. Write links by hand.
- Templates belong to a theme. If you publish a new theme, copy the file across or the default returns.
- Old workarounds (an uploaded file plus a URL redirect) are no longer needed; remove them so nobody edits the wrong file.
Questions and answers
Does Shopify have an llms.txt file by default?
Yes. Shopify serves /llms.txt on every store, mirroring its managed /agents.md, unless your theme overrides it.
How do I edit llms.txt on Shopify?
Add templates/llms.txt.liquid to your theme in Edit code. It takes precedence for /llms.txt only.
What's the difference between llms.txt.liquid and agents.md.liquid?
agents.md.liquid changes /agents.md, /llms.txt and /llms-full.txt together. llms.txt.liquid changes only /llms.txt.
Can I list all my products automatically?
No. Only the request and agents objects are available in these templates, so product loops don't work. List your key collections and pages by hand.
Do I need an app for llms.txt on Shopify?
Not anymore. Shopify serves the file natively and the theme template lets you change it.
Is it served for every market or language?
No. Shopify serves it on the primary domain only, without locale or Markets subfolders.
Sources
Related tools and guides
llms.txt examples
All free Countnest tools · Plain-text summary for AI assistants
30-day free trial, no card required. Then from $14 a month. Cancel anytime.
Start free for 30 days