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). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

LLMs.txt Gen

10 sites Security covered
View on drupal.org

This module automatically generates an `llms.txt` file that indexes your site's published content. It organizes content by type, creating a structured list of your published nodes as markdown links for LLM consumption without manual management. The index is updated automatically via cron or can be regenerated with Drush commands.

Features

This module automatically populates llms.txt sections from your site's published nodes, organized by content type. It provides a clean, structured index for LLM consumption without manual section management.

  • Automatic section generation: Creates one llms.txt section per content type, listing all published nodes as markdown links.
  • Content type selection: Admin UI to choose which content types to include (all types included by default).
  • Cron integration: Regenerates sections automatically on cron runs to keep content current.
  • Drush commands: drush llms-gen to regenerate sections, drush llms-del to clear all sections.
  • Alphabetical sorting: Content types and nodes within each type are sorted alphabetically.

Post-Installation

After enabling the module, visit:

Administration > Configuration > Search and metadata > LLMs.txt Gen

(/admin/config/search/llms-txt-gen)

Select which content types to include. Sections will be generated automatically on cron runs, or manually using Drush.

Additional Requirements

Similar projects

  • LLMs.txt Generator:
    A separate Drupal module focused on creating and managing a standalone
    llms.txt file with custom content and admin controls
    (similar in name but not the same feature set as this generator that indexes published nodes by content type for LLM consumption).

Supporting this Module

If you find this module useful, consider contributing patches, reporting issues, or helping review feature requests.

Community Documentation

How it works:

The module queries all published nodes (filtered by selected content types), groups them by bundle, and creates an llms_txt_section entity for each group containing markdown-formatted links (e.g., - [Page Title](https://example.com/node/1.md)).

Activity

Total releases
4
First release
Mar 2026
Latest release
5 days ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Jul 12, 2026
1.0.1 Stable Mar 5, 2026
1.0.0 Stable Mar 4, 2026
1.0.x-dev Dev Mar 4, 2026