Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Webform Anonymize

No security coverage Under active development

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)

Drupal 9–10 · not 11

Ask your assistant about Webform Anonymize

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

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
8 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

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