LLMs.txt Generator for Magento 2
Publish an llms.txt file so AI assistants such as ChatGPT, Claude and Perplexity can understand your store, built from your own catalog.
Why choose LLMs.txt Generator?
More shoppers now ask ChatGPT, Claude, Perplexity or Gemini what to buy, and those tools read websites differently from search engines. LLMs.txt Generator publishes an /llms.txt file, the format proposed at llmstxt.org: a short Markdown summary of your store with links to your key categories, products and policy pages, plus an optional full-content version. It is built from your own catalog with correct prices and availability, can exclude anything you choose, runs per store view, and regenerates on a schedule, from the admin or from the command line.
Key features
- Standards-Based llms.txt
- Full Content File
- Clean, AI-Friendly Text
- Correct Catalog Data
- Product Limit and Order
- Exclusions
- Site Information
- Custom Content
- Multi-Store
- Generate Now
- Scheduled Generation
- Command Line
- Fast Serving
- Manage LLMs Files Grid
At a glance
| Module name | Mage2Expert_LlmsGenerator |
|---|---|
| Composer package | mage2expert/module-llms-generator |
| Settings | Stores › Configuration › Magento Expert › LLMs.txt Generator (26 options) |
| Admin menu | Marketing › Mage2Expert LLMs › Manage LLMs Files Marketing › Mage2Expert LLMs › Settings |
| Per store view settings | Yes |
| API | No custom endpoints (uses Magento's standard APIs) |
| Scheduled jobs | 1 cron job |
| CLI commands | mage2expert:llms:generate |
| PHP | 8.1, 8.2, 8.3, 8.4, 8.5 |
Installation
After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:
composer require mage2expert/module-llms-generator
bin/magento module:enable Mage2Expert_LlmsGenerator
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
Skip setup:di:compile and static-content:deploy if your store runs in developer mode.
Configuration reference
All 26 options under Stores › Configuration › Magento Expert › LLMs.txt Generator, grouped as they appear in the admin.
General Settings 5
| Setting | Description |
|---|---|
| Enable Module | No: generation and cron stop and /llms.txt returns 404 (per store view when set at store view scope). |
| Generate Store Specific LLMs Files | Yes : every enabled store view gets its own /llms.txt with its own language, currency, prices and URLs. No : one llms.txt built from the default store view is served for all store views. |
| Schedule Periodic LLMs Generation | Regenerate the files automatically by Magento cron. |
| Start Time | Hourly uses only the minutes. |
| Frequency |
Site Information 9
| Setting | Description |
|---|---|
| Site Name | The # heading of the file. Empty: Store Information name, then the store view name. |
| Site Description | One or two sentences: what the store sells and who it is for. This is the ">" summary line AI tools read first. Empty: the default page meta description, otherwise a summary built from the store name and top categories. |
| Include Contact Details in LLMs File | |
| Contact Email | Empty: the General Contact store email. |
| Contact Short Description | Max 20 words, e.g. "Email us for orders, returns and wholesale enquiries." |
| Include Site URL in LLMs File | |
| Site URL | Empty: the store view base URL. |
| Include Language in LLMs File | Adds the store view locale (e.g. "English (United Kingdom)") and currency. |
| Include Pub Directory in URLs | The files are always served at /llms.txt and /llms-full.txt. Yes: links shown in the grid and in llms.txt use /pub/llms.txt instead, for servers where the document root is the Magento folder and only /pub/ URLs reach Magento. |
Content Settings 10
| Setting | Description |
|---|---|
| Include Product Information | |
| Maximum Products to Include | Limit for llms.txt (enabled, visible, in-stock products). Empty or 0 = no limit. llms-full.txt always has every product. |
| Product Order | Which products make the llms.txt limit. Bestsellers uses the yearly bestseller report and falls back to newest. |
| Exclude Products (SKUs) | Comma or line separated SKUs left out of both files. |
| Include Price and Availability | |
| Include Category Information | llms.txt lists menu categories; llms-full.txt lists every active category. |
| Exclude Categories | Selected categories and their subcategories are left out of both files (their products are still listed). |
| Include CMS Pages | |
| Exclude CMS Pages | Selected pages are left out of both files. |
| Generate Full LLMs File | Also publishes /llms-full.txt: the complete content of every product (description, SKU, price, availability, categories, attributes), category and CMS page, for AI tools that load a whole site in one file. |
Add Custom Content 1
| Setting | Description |
|---|---|
| Custom Content | Business focus, key features, target audience, shipping and returns highlights... Each line becomes a bullet point under the summary. |
Action 1
| Setting | Description |
|---|---|
| Generate LLMs File | Save the configuration first. Creates or updates every file now. |
Developer reference
Cron jobs
| Job | Runs |
|---|---|
mage2expert_llms_generate | configurable in admin |
Command line
bin/magento mage2expert:llms:generate
Frequently asked questions
How much does LLMs.txt Generator cost?
Which Magento and PHP versions are supported?
Where do I configure LLMs.txt Generator?
Can I switch it off without uninstalling it?
Can the settings differ per store view?
Does it run background jobs?
Can it be customised for my store?
More SEO & Content
Related extensions
Blog
A full-featured blog for your store with posts, categories, tags and SEO-friendly URLs.
Auto Meta Tag Generator
Automatically fills blank SEO meta titles and descriptions from templates when products and categories are saved.
Hreflang Language Tags
Add correct hreflang tags across store views so search engines serve the right language and region.
Have a Magento project in mind?
Tell me about your store and what you need. I reply to every enquiry within one business day.
Adobe Certified Expert
Adobe Commerce Developer certification, verified on Credly.
15+ years of Magento
From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.
62 Marketplace extensions
Each one reviewed and approved by Adobe.













