What is llms.txt, and does your Shopify store need one?
A plain-language look at llms.txt, the file AI assistants can use to understand a website: what goes in it, whether your Shopify store needs one, and how to keep it current.
When someone asks an AI assistant for “a breathable linen shirt under $80”, the assistant has to work out which stores sell that, quickly, from pages built for people rather than machines. llms.txt is a proposed way to make that easier.
What llms.txt is
It’s a plain Markdown file that lives at the root of your site, at yourstore.com/llms.txt. Think of it as a short, structured brief: who you are, what you sell, and where the important pages are. The format was proposed in 2024 as a companion to robots.txt and sitemap.xml. Those files tell crawlers where they may go and what exists; llms.txt tells a language model what matters, in a form it can read without parsing navigation menus, scripts and theme markup.
The convention is simple:
- An H1 with the name of the site or business.
- A blockquote with a one or two sentence summary.
- H2 sections containing lists of links, each with a short description.
What goes inside
A good llms.txt for a store usually includes:
- A one-line description of the business: what you sell, and to whom
- Your main collections, with links and a few words on each
- Shipping, returns and other policies
- Anything an assistant should know to describe you accurately, like where products are made or what makes them different
# Northfield > Men’s and women’s linen clothing, made in Portugal. ## Collections - [Shirts](/collections/shirts): Relaxed and tailored linen shirts - [Trousers](/collections/trousers): Drawstring and pleated linen trousers ## Policies - [Shipping](/policies/shipping-policy): Free over $100 - [Returns](/policies/refund-policy): 30 days
Keep it factual and specific. “Linen shirts, made in Portugal, free returns within 30 days” gives an assistant something it can repeat. “The best shirts on the internet” gives it nothing.
Do you need one?
If you want AI assistants to describe your store accurately, it’s one of the cheapest things you can do. It takes minutes to publish and doesn’t change how your store looks to customers or how Google ranks it.
It isn’t a substitute for the basics. Assistants that browse the web still rely on being able to crawl your pages (see our guide to Shopify robots.txt), on clear product content, and on structured data like Product schema. Think of llms.txt as the summary on top of a store that’s already easy to read.
There’s a sibling file worth knowing about too. agents.md describes your store for AI agents that act on a shopper’s behalf, covering the key pages, policies and how things work.
Keeping it current
The hard part isn’t writing it once. It’s keeping it accurate as collections and policies change. An out-of-date file is worse than none, because it points assistants at the wrong information: a collection you removed, a returns window you changed, a product line you no longer carry.
A few habits help:
- Regenerate it whenever you add or retire a collection.
- Re-check it after any policy change, especially shipping thresholds and return windows.
- Link only to pages that exist and are indexable.
Want the details? See AI Visibility in the docs. This site publishes its own, too: seorating.net/llms.txt.
- AI search
- llms.txt
- Shopify