Data Masking
Online data masking tool for HTML and text, masking phone numbers, ID cards, emails, bank cards and names with auto detection and custom rules for privacy protection.
Processed line by line while preserving structure and line breaks.
Mask Type
Data Masking Guide
What is data masking?
Data masking transforms, replaces, or hides sensitive information to protect privacy while keeping data useful. It is commonly used in dev/test, logs, and data sharing workflows.
Supported mask types
- Phone numbers: keep first 3 and last 4 digits
- ID cards: keep first 6 and last 4 digits
- Emails: keep first 3 characters of the username
- Bank cards: keep first 6 and last 4 digits
- Names: keep the first character only
- Custom: configure prefix, suffix, and mask character
Use cases
- Use masked data in development and testing
- Hide sensitive fields in logs and diagnostics
- Protect privacy in reports and shared documents
- Display partial data in customer service systems
- Publish HTML or config files safely
FAQ
Is data uploaded to a server?
No. All masking runs locally in your browser.
Does it support batch masking?
Yes. Multi-line input is processed line by line.
How does auto detect work?
Auto detect uses pattern matching to apply the right rule and falls back to the default custom rule.