Skip to content

llms.txt: what it is, an example, and how to create it on WordPress and Shopify

By the SEOXtreme editorial teamUpdated 7 min read

For a couple of years now, almost every "AI SEO" guide has mentioned a mysterious file: llms.txt. Some say it's essential to show up in ChatGPT; others, that it's useless. If you're wondering what an llms.txt file really does, you deserve an answer without exaggeration: what it is, how to write it, how to publish it on WordPress or Shopify, and what to expect from it.

The risk of misunderstanding it cuts both ways: spending time or money on something that doesn't move your sales, or dismissing it without knowing that certain AI agents do find it useful.

Let's take it step by step, with an example ready to adapt to your store.

In short:

  • llms.txt is a Markdown file that summarizes your site and links to its key pages so AI models and agents understand it quickly.
  • It's an open proposal from 2024, not an official standard, and it received a version 2 in August 2026.
  • Google states that its search doesn't use it: it neither helps nor hurts your rankings there.
  • On WordPress, plugins like Yoast SEO or Rank Math generate it; Shopify already serves one by default that you can customize.

llms.txt: what it is and where it came from

llms.txt is a text file in Markdown format that you publish on your site, usually at /llms.txt, to give language models and AI agents a clear summary of who you are and a curated list of your most useful pages.

Jeremy Howard proposed the idea on September 3, 2024, at llmstxt.org. The reasoning is simple: web pages are full of menus, ads, and scripts, and models have a context limit. A short file with links to clean content saves them work. In August 2026 the author published a version 2 of the proposal, adjusted with what was learned over two years of adoption.

Important: it's a community proposal, not an official standard from any search engine.

What llms.txt is not

Many people confuse it with other files in your site's root:

File What it's for Does it control access?
robots.txt Tells bots which paths they may crawl Yes
sitemap.xml Lists the URLs you want discovered No
llms.txt Summarizes your site and highlights key links for AI No

If you want to allow or block AI crawlers, you do that in your robots.txt. And if you want search engines to discover all your URLs, that's the job of your XML sitemap. llms.txt replaces neither.

The llms.txt format and an llms.txt example for your store

The specification defines this order:

  1. An H1 title with the site name. It's the only required section.
  2. A blockquote with a short summary.
  3. Optional paragraphs or lists with more detail, without headings.
  4. H2 sections with lists of Markdown links: the name in brackets, the URL in parentheses, and, if you want, a colon followed by a short note.
  5. By convention, a section called "Optional" with secondary links an agent can skip.

This llms.txt example for a supplement store follows that structure:

# Fit Store

> Online store for supplements and fitness accessories, shipping across the United States. We sell authentic brands and include a receipt with every order.

Support by chat Monday through Saturday. Prices in US dollars.

## Categories and guides

- [Protein](https://store.example/category/protein/): whey, isolate, and plant-based, with a guide to choosing.
- [Creatine](https://store.example/category/creatine/): monohydrate in powder and capsules.

## Policies

- [Shipping and returns](https://store.example/shipping-and-returns/): times, costs, and conditions.

## Optional

- [Blog](https://store.example/blog/): training and nutrition articles.

Quick tips: use absolute URLs, link only to indexable pages, write specific descriptions, and update it when your categories or policies change.

llms.txt and llms-full.txt: the differences

It's common to see both names together, but they're not the same:

  • llms.txt is a curated index: a summary plus links.
  • llms-full.txt is a convention popularized by documentation platforms: a single file with the full content of many pages. It isn't part of the llmstxt.org specification.

For a store, dumping your entire catalog into an llms-full.txt rarely makes sense: prices and stock can change daily, and the file becomes huge. A well-curated llms.txt that points to categories, guides, and policies is better.

What changed in version 2

Version 2 keeps the file format but adds important pieces:

  • Path-based placement. You can publish an llms.txt at the root or in any subpath, and each file covers the pages beneath it. If several apply, agents should use the most specific one.
  • Markdown versions of your pages. Each page can have a clean Markdown version at the same URL by adding .md or changing the extension; URLs that end in a folder use index.md or index.html.md.
  • Link relations for discovery. A page can declare which llms.txt covers it and where its Markdown version lives:
<link rel="describedby" href="https://store.example/llms.txt">
<link rel="alternate" type="text/markdown" href="https://store.example/category/protein/index.md">

These relations can also be sent in an HTTP Link header, which is useful for files that aren't HTML.

How to create an llms.txt file on WordPress

You have several options, from the simplest to the most manual:

  1. Yoast SEO. It includes an option to generate it. According to its help guide, you turn it on under Yoast SEO > Settings > Site features > AI tools > LLMS.txt. It isn't available for multisite installs.
  2. Rank Math. Turn on the "LLMS Txt" module from the plugin dashboard and choose which content types and taxonomies to include.
  3. AIOSEO. It also offers an llms.txt generator.
  4. By hand. Create the file with a text editor in UTF-8 and upload it to your site root via FTP or your host's file manager.

If you use an online llms.txt generator, review the result line by line: many copy the entire sitemap, which is exactly what this file tries to avoid. And turn on only one tool at a time so they don't overwrite each other. If you're torn between plugins, see our comparison of the best SEO plugin for WooCommerce.

SEOXtreme generates an automatic, editable llms.txt along with an ai-feed.json of your catalog, and it can work alongside Yoast, Rank Math, or AIOSEO, detecting them so it doesn't duplicate features. We explain it in our comparison with Yoast and Rank Math.

How to create llms.txt on Shopify

On Shopify the picture changed in 2026. According to Shopify's changelog of May 28, 2026, every store includes an agents.md file at /agents.md by default, and the /llms.txt and /llms-full.txt routes serve that same content.

To customize them, go to Online Store > Themes > Edit code and create the template you need:

  • templates/agents.md.liquid: controls /agents.md and serves as the base for the other two routes.
  • templates/llms.txt.liquid: controls only /llms.txt.
  • templates/llms-full.txt.liquid: controls only /llms-full.txt.

If a route doesn't have its own template, Shopify uses the agents.md one and, if that doesn't exist either, the file it generates by default. Before installing an app for this, check that it doesn't clash with that native behavior. More ideas in our Shopify SEO guide.

Who uses llms.txt today? llms.txt best practices start with honesty

Here's the honest part:

  • Google doesn't use it. In its guide to optimizing for generative AI features, Google states that its search doesn't use llms.txt, so creating one neither helps nor hurts your visibility there. It acknowledges that other services might use it.
  • There's no broad confirmation of consumption. The llmstxt.org page itself doesn't name AI systems that officially read it; it does mention that OpenAI, Anthropic, and the Gemini team publish llms.txt files in their developer documentation.
  • Its intended use is at answer time. The author frames it mainly as a way for an agent to quickly find the information it needs.

The practical conclusion: it's cheap to maintain and may help some agents, but it doesn't replace your SEO. Prioritize crawler access, indexing, and content first. If you want to go further, see how to get your store ready for SEO for AI agents.

Common llms.txt mistakes

  • Believing it blocks or allows crawling. It doesn't; that's what robots.txt is for.
  • Linking pages that shouldn't be there: cart, my account, URLs with parameters, or noindex pages.
  • Copying the whole sitemap. You lose the value of curation.
  • Writing vague descriptions like "more information here."
  • Letting it go stale with categories that no longer exist.
  • Having two plugins generate it at the same time.
  • Expecting a traffic spike. It's an add-on, not a sales lever on its own.

Conclusion: useful, cheap, and nothing magical

llms.txt is a low-cost good practice: a clear summary of your store with links to the best of your site. But it won't rank you on Google or guarantee mentions in ChatGPT. Use it as a complement to a solid foundation.

Your next step: open your domain followed by /llms.txt and check whether it already exists (on Shopify it does by default). If not, create it with the structure from the example and link your ten most useful pages. Then continue with the AI SEO checklist, the AI SEO guide, and the rest of the AI SEO (GEO) section.

Frequently asked questions

What is llms.txt and what is it for?

It's a text file in Markdown format, usually published at /llms.txt, that summarizes your site and links to your most useful pages so AI models and agents can quickly understand who you are and where the important information is. Jeremy Howard proposed it in 2024, and it's a community proposal, not an official standard from any search engine.

Does llms.txt improve my Google rankings?

No. Google states in its guide to optimizing for generative AI features that its search doesn't use llms.txt, so creating one neither helps nor hurts your visibility on Google. Other services and agents might read it. That's why it's best seen as an add-on that's cheap to maintain, not as a ranking factor.

What's the difference between llms.txt and llms-full.txt?

llms.txt is a curated index: a summary and a list of links to your key pages. llms-full.txt is a convention popularized by documentation platforms that gathers the full content of many pages into a single file, and it isn't part of the llmstxt.org specification. For a store, a good llms.txt is usually enough.

How do I create an llms.txt file on WordPress?

The easiest way is with an SEO plugin: Yoast SEO has an option to turn it on in its AI tools settings, Rank Math offers it as a module, and AIOSEO includes a generator. You can also create it by hand in UTF-8 and upload it to the site root. Use a single tool to avoid duplicate or contradictory files.

Does Shopify have llms.txt?

Yes. Since May 2026, every Shopify store includes an agents.md file by default, and the /llms.txt and /llms-full.txt routes serve that same content. You can customize them from the theme code editor by creating the agents.md.liquid, llms.txt.liquid, or llms-full.txt.liquid templates, depending on the route you want to control.

Sources

  1. llmstxt.org: The /llms.txt file (proposal by Jeremy Howard, version 2)
  2. Google Search Central: guide to optimizing for generative AI features in Google Search
  3. Shopify Developers Changelog: Customize /llms.txt, /llms-full.txt and /agents.md (May 28, 2026)
  4. Yoast: How to enable llms.txt with Yoast SEO

Written and reviewed by the SEOXtreme editorial team using official sources (Google Search Central, platform documentation, and published studies). If you spot outdated information, email us at hola@vidaxtreme.com.

Keep learning

Stop optimizing by hand

SEOXtreme does this work for you across your whole catalog, with your approval. Try it for 14 days, no credit card.

14-day free trialAudit