Selling on ChatGPT in multiple countries? The only app with country-specific feeds

Shopify llms.txt: How to Customize It the Right Way

  • Nov 24, 2026
  • Hin Hin
  • 2,215 view(s)

Every Shopify store already has an llms.txt file: Shopify serves one at yourstore.com/llms.txt by default, so the real question is whether to keep it, extend it, or replace it. You can edit it with a theme template (llms.txt.liquid or agents.md.liquid), or generate the content with an app such as LLMs.txt AI SEO for ChatGPT, our free Shopify app.

Two facts decide the route: Shopify serves the same managed file at /agents.md, /llms.txt and /llms-full.txt, and the theme templates can read only 2 Liquid objects (request and agents), not your catalog. Pick your route:

  • You want a curated file built from your catalog without writing Markdown by hand: generate it with LLMs.txt AI SEO for ChatGPT (free), then review the output before it goes live.
  • You only want to add a short brand summary and key links: create agents.md.liquid or llms.txt.liquid in your theme and keep Shopify’s agent links in it.
  • You are not sure the file matters for you yet: keep Shopify’s default and spend the time on product pages first.

This guide covers, in order: what Shopify does with llms.txt now, the template’s catalog limit, generating the file with an app, editing the template yourself, which route fits your store, how to check the live file, and realistic expectations.

What Shopify does with llms.txt now

llms.txt is a Markdown file proposed in 2024 at llmstxt.org. It gives AI tools a short, curated overview of a site: an H1 with the site name, a one-paragraph summary in a blockquote, and H2 sections that list links with a short note each. A section called “Optional” holds links an AI tool can skip when it needs a shorter context.

For a long time Shopify merchants could not place a file at the root of their domain, so people used Cloudflare Workers, app proxies, or a file upload plus a URL redirect. That changed in 2026. Shopify now manages /agents.md as the main agent-facing file for every store and serves /llms.txt and /llms-full.txt as alternate URLs. Merchants in the Shopify Community report that the old redirect workarounds stopped working after this change, so if you set one up in 2025, check what your store serves today.

According to Shopify’s agents.md.liquid documentation, each URL looks for templates in a fixed order:

URL What Shopify serves, in order What one template changes
/agents.md agents.md.liquid → Shopify default agents.md.liquid alone controls all three URLs
/llms.txt llms.txt.liquid → agents.md.liquid → Shopify default llms.txt.liquid changes only /llms.txt
/llms-full.txt llms-full.txt.liquid → agents.md.liquid → Shopify default llms-full.txt.liquid changes only /llms-full.txt

Data checked October 30, 2026 on shopify.dev.

Two details matter more than most guides admit. First, the file is served on your bare primary domain only, with no locale or Markets subfolder version. Second, Shopify itself recommends the managed default for most stores, because a custom template is something you then have to maintain.

The limit nobody mentions: the template cannot read your catalog

Inside llms.txt.liquid and agents.md.liquid, Shopify only exposes two Liquid objects: request and agents. Global objects such as shop, collections, pages and articles render blank, which Shopify says keeps the file safe to cache. In practice this means:

  • You cannot loop through your collections or best sellers in the template. Every product or collection link must be typed in by hand.
  • Hand-typed links go stale when you rename a collection, change a handle, or retire a product.
  • The agents object gives you store_name, store_url, currency, sitemap_url, ucp_discovery_url and mcp_endpoint_url. Use these variables instead of hardcoding those URLs, so they stay current.
  • Do not add contact emails or phone numbers. The file is cached widely, and Shopify’s default leaves contact details out for that reason.

Merchants in the Shopify Developer Community also report a 256 KB size limit for theme files, which rules out pasting a full catalog into a template on large stores.

Option 1: Generate the file with LLMs.txt AI SEO for ChatGPT

An app that builds the file from your catalog solves the template’s biggest limit, because you no longer type product and collection links by hand.

Disclosure: Orichi builds LLMs.txt AI SEO for ChatGPT. We compare it with the native Shopify method using public Shopify App Store data and Shopify developer documentation checked on October 30, 2026.

LLMs.txt AI SEO for ChatGPT is a free app by OrichiCommerce, launched on the Shopify App Store on July 20, 2026. It had no reviews yet when we checked. According to its listing, it builds llms.txt content from your products, collections, pages and blog posts with one click, gives you an editor to rewrite sections, set the tone and add your brand story and FAQs, and shows a live preview and validator before you publish. You can also pick which products to highlight, hide pages from AI, and refresh the file when the catalog changes. The developer confirms the file does not update on its own: click refresh in the app after you add or change products.

Setup steps:

  1. Open the LLMs.txt AI SEO for ChatGPT listing and click Install.
  2. Open the app from Apps in your Shopify admin and generate the first version of the file.
  3. In the editor, add a two-sentence brand summary, remove pages you do not want AI tools to see (thank-you pages, test products), and choose the products to highlight.
  4. Check the live preview and fix anything the validator flags.
  5. Publish from the app, then open yourstore.com/llms.txt to confirm the live file shows your content.

Not the best fit if you only want two lines of brand text: the native template below does that without installing anything. The app is also new, so there are no merchant reviews to judge it by yet.

Option 2: Edit the template yourself (no app)

Use this when you want a short, hand-written file and are comfortable editing theme code.

  1. In Shopify admin, go to Online Store › Themes, click … next to your live theme and choose Edit code.
  2. In the Templates folder, click New file. Name it agents.md.liquid if you want one file for all three URLs, or llms.txt.liquid if only /llms.txt should differ.
  3. Write the content in Markdown. It cannot be a JSON template.
  4. Save, then open /llms.txt on your live domain.

A starter layout that follows the llmstxt.org format and keeps Shopify’s agent links:

# {{ agents.store_name }}

> One or two plain sentences: what you sell, who it is for, where you ship.

Prices are in {{ agents.currency }}.

## Shop
- [Best sellers]({{ agents.store_url }}/collections/best-sellers): top products
- [New arrivals]({{ agents.store_url }}/collections/new): latest drops

## Policies
- [Shipping]({{ agents.store_url }}/policies/shipping-policy)
- [Refunds]({{ agents.store_url }}/policies/refund-policy)

## Agents
- [Agent guide]({{ agents.store_url }}/agents.md)
- [UCP discovery]({{ agents.ucp_discovery_url }})

## Optional
- [Sitemap]({{ agents.sitemap_url }})

Replace the collection handles with your real ones, and remember you must update them by hand.

Which route fits your store

The right route depends on how often your catalog changes and whether you edit theme code yourself. Match your situation:

Your situation Suggested route
Catalog changes weekly, no developer An app that regenerates the file (Option 1)
Small catalog, you edit themes yourself agents.md.liquid with a short summary and 5–15 links
You only need /llms.txt to differ from /agents.md llms.txt.liquid
Headless (Hydrogen) storefront Serve the file from your own build; theme templates do not apply
No time this month Keep Shopify’s default

Data checked October 30, 2026.

How to check the live file

Check the live file in four quick tests after any change, because a draft theme or a stale link can hide your edits.

  • Open yourstore.com/llms.txt in a private window. You should see plain Markdown, not your theme’s HTML.
  • Run curl -I https://yourstore.com/llms.txt and look for status 200 and a text content type.
  • Make sure every link is absolute (starts with https://) and opens a live page.
  • If you still see Shopify’s default, check the template is in the published theme, not a draft theme.

Keep expectations realistic

No search or AI company has confirmed that llms.txt changes rankings or citations. Threads in the Shopify Community point the same way: one app vendor’s audit of 98 stores found only 2 blocking AI crawlers, yet 65 of 94 stores still never appeared in an unbranded AI answer. Another vendor’s sample of 18,516 AI-assistant visits found 71% landed on product pages and 13% on the homepage. Both are vendor data, not independent studies, but they point the same way: complete product pages, clear shipping and return details, and accurate structured data matter more than any single file. Treat llms.txt as a small, cheap signal on top of that work. Our guide to Shopify product feeds covers the catalog side, and our roundups of OpenAI apps for Shopify and AI apps for Shopify list related tools.

Follow-up questions merchants ask (FAQ)

Should I create an llms.txt file at all?
You already have one. Create a custom version only if the default does not describe your store and you will keep it updated.

Will a custom file break Shopify’s agent features?
It can hide useful links if you delete them. Keep the UCP and agents.md links by using the agents object variables shown above.

Do I need a separate file for each market or language?
No. Shopify serves the file only on the bare primary domain, with no localized version.

Does Google use llms.txt?
Google has said it does not use llms.txt, and that adding one will neither help nor hurt SEO, as this Shopify SEO write-up summarizes. Do not expect a Google ranking change.

Can I put my whole catalog in llms-full.txt?
Not through the theme template on a large store, because the template cannot read products and theme files have a size cap. Use a short, curated list instead.

Next step

Open yourstore.com/llms.txt today and read what AI tools see. If it says little about your products, generate a curated version with LLMs.txt AI SEO for ChatGPT or add a short agents.md.liquid template, then re-check the live file.

Editor’s Pick