mask-pii

Supported language implementations

mask-pii provides implementations for many programming languages. Choose a language below to open its guide with setup and usage notes.

Project goal

The goal is consistent, portable email and phone-number masking across languages before data leaves your system through logs, exports, or shared text.

Shared behavior across implementations

  • Email masking keeps the domain and masks the local part.
  • Phone masking keeps formatting as much as possible while masking middle digits.
  • Masking rules are enabled explicitly, and the mask character can be customized.