# Adding llms.txt to a Shopify store

> Shopify now generates llms.txt natively. Here's how to find it, customize the content with a theme template or app, and keep it useful for AI shopping agents.

As of 2026, Shopify generates an [llms.txt](/guide/what-is-llms-txt) for every store automatically — part of its Agentic Commerce push. Your job is mostly to find it, point it at the right pages, and trim the noise.

## 1. Check what Shopify already serves

Open `https://yourstore.com/llms.txt`. Most stores already return a file. The catch: the default often steers agents toward Shopify's Shop app rather than your own store and docs — so you'll usually want to customize it.

## 2. Customize via a theme template (recommended)

In **Online Store → Themes → ⋯ → Edit code**, open the `Templates` folder and add a new template named `llms.txt.liquid`. Shopify serves this at `/llms.txt`, so its content replaces the default. Write a short, curated file:

```
# Acme Store

> Acme sells handmade goods. This file points AI shopping agents at the pages that matter.

## Catalog
- [Best sellers](https://acme.com/collections/best-sellers): Top products
- [New arrivals](https://acme.com/collections/new): Latest additions

## Help
- [Shipping & returns](https://acme.com/policies/shipping-policy): Policies
- [Contact](https://acme.com/pages/contact): Support
```

## 3. Or use an app

The Shopify App Store has several llms.txt apps that auto-generate the file from your products, collections and pages, and refresh it when the catalog changes. Handy if you don't want to touch theme code — but review the output (see the next step).

## 4. Keep it lean

The most common mistake is dumping every product and blog post in. A 60-line curated file beats a 5,000-line one: agents have limited context, and clutter buries your best pages. List collections and key policies, not the entire catalog.

## 5. Validate

Paste your domain into the [validator](/) to confirm the file is reachable, well-formed, and every link resolves. Re-check after big catalog changes.
