Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

MD Sitemap

92 sites Security covered
View on drupal.org

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.

Activity

Total releases
7
First release
Jul 2025
Latest release
4 months ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Mar 6, 2026
1.0.2 Stable Oct 2, 2025
1.0.1 Stable Sep 29, 2025
1.0.0 Stable Sep 8, 2025
1.0.0-beta1 Pre-release Sep 8, 2025
1.x-dev Dev Jul 31, 2025
1.0.0-alpha1 Pre-release Jul 31, 2025