Drupal is a registered trademark of Dries Buytaert
drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)!

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
1 month 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