Drupal is a registered trademark of Dries Buytaert

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
4 months ago
Release cadence
24 days
Stability
50% stable

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