Drupal is a registered trademark of Dries Buytaert

mdsitemap

21 sites Security covered
View on drupal.org

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
6
First release
Jul 2025
Latest release
5 months ago
Release cadence
13 days
Stability
50% stable

Release Timeline

Releases

Version Type Release date
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