Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

LLMs.txt Gen

33 sites Security covered Drupal 10–11
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)).

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2026
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

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