On this page
Steps to change llms.txt on Shopify
- From your Shopify admin, go to Online Store > Themes.
- Find the theme that you want to edit, then click ... > Edit code.
- In the left sidebar, right-click the Templates folder and click New File.
- Name the file llms.txt.liquid and press Enter. It must be a Liquid file, not a JSON template.
- Write the file in plain text or Markdown and save it. The change shows on your store when this theme is the published theme.
- Open https://yourstore.com/llms.txt and check the text.
As of November 27, 2026, you do not need an app or a file upload to have an llms.txt on Shopify. Shopify's developer changelog of May 28, 2026 says that every store has a default agents.md file at /agents.md, and that /llms.txt and /llms-full.txt show the same content by default. Shopify says the managed file is all that most stores need.
Which template controls which file
| Template in your theme | What it controls |
|---|---|
| templates/agents.md.liquid | /agents.md. Also /llms.txt and /llms-full.txt when they have no template of their own. |
| templates/llms.txt.liquid | /llms.txt only. |
| templates/llms-full.txt.liquid | /llms-full.txt only. |
For /llms.txt, Shopify looks for your llms.txt.liquid first, then agents.md.liquid, then its own default. To change all three files together, edit agents.md.liquid.
Limits of the template
- The template has a restricted Liquid context. Only the request and agents objects are available. The shop, collections and articles objects are not, so the template cannot list your products in a loop.
- The file is served at your bare primary domain, with no locale or Shopify Markets prefix. It has no translated version.
- When you add the template, Shopify stops writing that file for you. You keep its content current.
What to write in it
Use the llms.txt format: an H1 with the store name, a one or two sentence summary in a blockquote, then H2 sections that list links with a short note. Good links for a store are the main collections, the shipping and returns policies, the about page and the contact page. Our guide on how to create an llms.txt file has a template.
If an app set up your llms.txt before
Before this change, store owners used apps or a redirect to a hosted file, because a theme could not add a file at the root of the store. Open yourstore.com/llms.txt and check which text Shopify serves now. If it is not the text that you expect, remove the old app or redirect and use one of the templates above.
Questions people ask
Does Shopify make an llms.txt for my store?
Yes. By default /llms.txt shows the same content as the store's /agents.md file. You change it only when you need different text.
Can I upload an llms.txt file to the root of my store?
No. You change the file through a theme template: llms.txt.liquid for llms.txt only, or agents.md.liquid for all three files.
Will a custom llms.txt get my products into ChatGPT?
No source shows that it does. Product data, collection pages and pages that crawlers can read matter more. Treat llms.txt as one small signal.
Sources
- 1.Shopify developer changelog: Customize /llms.txt, /llms-full.txt and /agents.md: dated May 28, 2026; checked November 27, 2026
- 2.Shopify developer docs: llms.txt.liquid: checked November 27, 2026