Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Webform Anonymize

No security coverage Drupal 9–10 · not 11
View on drupal.org

This module allows you to mask sensitive information in webform submissions based on user roles. Instead of permanently deleting data, it hides certain fields from specific user roles within the Drupal interface, while authorized users can still see the full details. This helps with privacy compliance by controlling who can view personal data.

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)

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2026
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

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