Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Local Data Sanitiser

No security coverage Under active development

Part of the Local ecosystem · 10 projects

This project offers command-line tools for cleaning personal data from local Drupal databases. It can anonymize user accounts and content fields, and delete webform submissions with the Webform module. Developers can choose which sanitization tasks to run and see planned changes before execution.

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.

Ask your assistant about Local Data Sanitiser

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2026
Latest release
5 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.2.x-dev Dev 10–11 Apr 15, 2026
1.1.x-dev Dev 10–11 Apr 15, 2026
1.0.x-dev Dev 10–11 Apr 15, 2026