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). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides a Drush command to anonymize data in configured fields within Drupal. It allows for field-level anonymization with an extensible plugin system for different field types, including a default option using Drupal core's sample item generation.

This module provides a Drush command for anonymizing configured fields in Drupal.

Features

  • Configurable field-level data anonymization
  • Extensible plugin system for defining anonymizers by field type
  • Includes a default plugin that uses Drupal core’s
    FieldItemListInterface::generateSampleItems method to anonymize data

Post-Installation

After installation, navigate to /admin/config/development/anonymizer.
Here, you can configure anonymization settings per entity type and bundle,
specifying which fields to anonymize and which plugins to use.

Additional Requirements

- Drush (required)
- No additional dependencies. All functionality relies on Drupal core APIs.

Similar Projects

GDPR

Provides submodules such as Anonymize, GDPR Dump, and GDPR Tasks for entity anonymization.
This module uses FakerPHP to generate anonymized data.

DB Anonymizer Config Generator

Allows you to create configuration files for the external
DB Anonymizer tool.

Entity Sanitizer

Provides Drush commands to sanitize all entity data in a database.
While technically configurable, it does not include a user interface; configuration must be defined manually in YAML files.
It uses custom logic to generate anonymized data and does not provide default implementations, so not all fields are supported out of the box.

Activity

Total releases
4
First release
Aug 2025
Latest release
8 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Oct 31, 2025
1.0.0 Stable Oct 30, 2025
1.0.0-alpha1 Pre-release Sep 4, 2025
1.x-dev Dev Aug 21, 2025