This module generates a separate markdown sitemap specifically for AI crawlers. It creates a dedicated endpoint where it lists URLs with a configurable suffix, allowing for machine-readable content optimized for LLMs.
MD Sitemap is a Drupal module that generates a dedicated markdown sitemap designed for LLM (Large Language Model) crawlers.
Instead of only creating traditional sitemap.xml files for search engines, this module creates a separate sitemap endpoint that outputs URLs with a configurable suffix (e.g. .md, .txt, .ai), making it ideal for exposing machine-readable versions of your site's content.
This is particularly useful when paired with modules like Markdownify to deliver clean Markdown or text-based pages optimized for AI ingestion.
Main features / functionalities:
- ✅ Provides a dedicated sitemap endpoint at:
/sitemap-llm - ✅ Configurable URL suffix (e.g. .md, .txt) depending on your preference and implementation of text based versions of your web pages.
- ✅ Admin UI to select entity types and bundles (e.g. nodes, taxonomy terms, media, commerce products).
- ✅ Automatically detects any entity type with a canonical URL.
- ✅ Automatic cache invalidation on: Entity insert, update, delete and configuration changes.
- ✅ Lightweight and decoupled from SEO-specific sitemap modules.
- ✅ Compatible with llms.txt for LLM crawler directives. Just add a link to
/sitemap-llm
Post-Installation
After installing the module, go to: /admin/config/search/md-sitemap or use the menu Configuration → Search and metadata → MD Sitemap
Additional Requirements
This module has no external dependencies beyond Drupal Core.
Similar projects
-
TODO: Note other sitemap modules and differences
Community Documentation
Once initial release is ready I will provide a YouTube walkthrough of all the functionality this module provides!
Supporting organisation
Pivale are a globally trusted web development company who build Drupal CMS websites and software.
Ask your assistant about MD Sitemap
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- system Drupal core >=10
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.3 | Stable | 10–11 | Mar 6, 2026 | ||
| 1.0.2 | Stable | 10–11 | Oct 2, 2025 | ||
| 1.0.1 | Stable | 10–11 | Sep 29, 2025 | ||
| 1.0.0 | Stable | 10–11 | Sep 8, 2025 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Sep 8, 2025 | ||
| 1.x-dev | Dev | 10–11 | Jul 31, 2025 | ||
| 1.0.0-alpha1 | Pre-release | 10–11 | Jul 31, 2025 |