Drupal is a registered trademark of Dries Buytaert

The Webform Anonymize module provides a flexible, role-based anonymization layer for Webform submissions.

Unlike modules that permanently anonymize data in the database, this module focuses on UI-level anonymization. It allows administrators to restrict the visibility of sensitive user data in the Drupal interface based on specific user roles, while keeping the original data intact for authorized users or automated processes.

Features

  • Per-Webform Configuration: Enable or disable anonymization for each individual webform.
  • Role-Based Access: Define which user roles should see anonymized data (e.g., mask data for "Content Editors" but show full data to "Site Administrators").
  • Multiple Anonymization Modes:
    • Full: Completely masks the value.
    • Half: Masks the second half of the string (default).
    • Partial: Shows only the first two characters.
    • Custom: Specify exactly how many characters should remain visible.
  • Customizable Masking: Choose your masking character (e.g., `*`, `#`, `•`).
  • Security First:
    • Automatically blocks access to Webform export routes for roles subject to anonymization.
    • Prevents access to submission edit forms for restricted roles.
    • Dynamically anonymizes values in submission lists and view pages.

    Use Case

    Perfect for GDPR compliance where certain staff members need to manage submission statuses or view lists without having access to the full personal details of the respondents.

    Dependencies

    * [Webform](https://www.drupal.org/project/webform)

Activity

Total releases
2
First release
Jan 2026
Latest release
1 month ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable Jan 27, 2026
1.0.x-dev Dev Jan 27, 2026