If you want to learn more about the broader landscape of Generative Engine Optimization, check out my blog post: Current State of GEO.
AI agents and search engines increasingly need clean, structured content. LLMify turns your Twig-rendered Craft pages into Markdown that's instantly available to over 140 crawlers, without sacrificing your existing HTML output for human visitors.
Why LLMify?
LLMify is built for production-scale AI content delivery. It renders the Markdown of a page from your own templates on the first request and keeps it in Craft's data cache. The cache uses Craft's element cache tags, so a page's Markdown is invalidated as soon as the page or anything it shows changes.
Combined with Craft Commerce compatibility, granular control over your Markdowns and user permissions, LLMify gives you everything you need to make your entire site AI-ready.
Features
Content
- Template-Level Control: Use
{% llmify %}and{% excludeLlmify %}Twig tags for precise control over what content is included. - CSS Class Exclusion: Define classes to exclude entire sections from the HTML-to-Markdown conversion.
- YAML Front Matter: Configurable metadata with hierarchical inheritance (Site > Section > Entry).
Caching
- Rendered on Demand: Markdown is rendered on the first request of a page and cached. There is no queue to run and no database table to keep in sync.
- Always Up to Date: Element cache tags invalidate a page's Markdown when the page, a related entry, an asset or a global set it shows changes, no matter where it is saved from.
- Cache Warming:
llmify/markdown/generateor the LLMify utility cache every page that is not cached yet, e.g. after a deployment. - Clear Caches: Clear the Markdown from the LLMify utility, from Utilities > Clear Caches or with
php craft clear-caches/llmify. - Failure Reports: Pages whose Markdown could not be rendered are listed on the dashboard, and the element sidebar shows the reason.
AI Content Delivery
- Auto-Serve Markdown: Content negotiation via
Accept: text/markdownheader. - AI Crawler Detection: Automatically serve Markdown to known AI bots (GPTBot, ClaudeBot, ChatGPT-User, and more).
- LLM-Ready Text Files: Generates
llms.txtand/.well-known/llms.txt. - Discovery Tag: Injects
<link rel="alternate" type="text/markdown">and<link rel="describedby" href="/llms.txt">into your HTML head, as recommended by the llms.txt spec. - WebMCP Tools: Opt-in support for the experimental WebMCP standard, giving in-browser AI agents (e.g. Gemini in Chrome) read-only search, page, and navigation tools over your enabled content.
- Twig Functions:
mdUrl(),chatGptUrl(), andclaudeUrl()for "View as Markdown" links and buttons that open the current page in ChatGPT or Claude. - Industry Standard Response Headers: Sets
Vary: Accept,X-Robots-Tag: noindex, nofollow, and aLinkheader withrel="describedby"(pointing tollms.txt) on all Markdown responses, plusrel="canonical"on.mdURLs.
Headless
- Headless Support: Running a separate front end (Nuxt, Next, Astro, ...)? LLMify fetches your front-end URLs, converts and caches the result, and exposes API endpoints to serve
llms.txtand individual.mdpages from your own domain.
Content Management
- Hierarchical Settings: Site-wide, section, and entry-level configuration with inheritance.
- Per-Entry Control: Include or exclude individual entries via the LLMify Settings Field.
- Permission System: Granular user permissions for dashboard, content settings, site settings, warming and clearing the cache.
- Preview Targets: Preview Markdown output directly from the entry editor.
- Dashboard: Site setup score, cache status, failed pages and section-level content statistics at a glance.
Integrations
- SEOmatic Integration: Automatically populate front matter from SEOmatic fields.
- Craft Commerce Support: Full support for Commerce Products alongside Entries.
- Blitz: Markdown requests bypass the Blitz cache.
- AI Bot Analytics: Install Craft Insights to get a dedicated dashboard for AI bot traffic, crawler breakdowns, top visited Markdowns, and delivery splits across every Markdown response your site serves.
Why It Matters
Search is shifting from link lists to AI conversations. When a model parses messy HTML, it guesses what's important and often gets it wrong. Feeding it clean, structured Markdown removes the guesswork and ensures your brand is represented accurately in the answers users see.
Standard
Plus $29/year after one year.
To install this plugin, copy the command above to your terminal.





