Drupal is a registered trademark of Dries Buytaert
cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8). editoria11y 2.2.22 Minor update available for module editoria11y (2.2.22). ai 1.2.13 Minor update available for module ai (1.2.13). ai 1.3.2 Minor update available for module ai (1.3.2). moderated_content_bulk_publish 2.0.51 Minor update available for module moderated_content_bulk_publish (2.0.51). moderated_content_bulk_publish 2.0.50 Minor update available for module moderated_content_bulk_publish (2.0.50). editoria11y 2.2.21 Minor update available for module editoria11y (2.2.21). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1).

Local Data Sanitiser provides CLI-only tools for cleaning personal data from copied local Drupal databases.

Features

  • Deletes Webform submissions when the Webform module is installed.
  • Anonymises non-administrator user accounts.
  • Anonymises customer and contact data stored in content entity fields.
  • Lets developers choose which sanitiser tasks to run.
  • Shows planned record counts before execution.
  • Shows a destructive-action warning with the detected environment before making changes.
  • Uses a modular task-plugin system so more data sanitiser tasks can be added later.

Requirements

  • Drupal 10.3 or Drupal 11
  • Drush

Recommended

  • Webform, if you want to remove Webform submissions.
  • Config Filter, if you want the module kept out of exported config in local environments.

Usage

drush en local_data_sanitiser -y
drush local-data:sanitise

The command is hidden from the Extend UI and is intended for developer CLI use only. It refuses to run outside a detected local environment unless --force is supplied.

Activity

Total releases
3
First release
Apr 2026
Latest release
7 hours ago
Release cadence
0 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.2.x-dev Dev Apr 15, 2026
1.1.x-dev Dev Apr 15, 2026
1.0.x-dev Dev Apr 15, 2026