Data Mask

Automatically mask private data

Input JSON Data
Mask Rules (Select field types and rules to mask)
Example:13800138000→138****8000
Example:110101199001011234→1101********1234
Example:zhangsan@example.com→zh****@example.com
Example:张三→张*
Example:6222021234567890123→6222*********0123
Custom Field Mapping (Which JSON field names map to which type, comma-separated)

Data Mask Tool Guide

Features

  • Auto-detect - Intelligently identifies phone numbers, ID cards, emails, and other sensitive fields
  • Multiple masking strategies - Keep first/last, middle masking, full replacement, etc.
  • Batch processing - Supports JSON array batch masking
  • Custom mapping - Customize field-to-type associations
  • Side-by-side preview - Compare original and masked data
  • Local processing - All data is processed locally in your browser, never uploaded to a server

Supported Sensitive Types

  • 📱 Phone - 11-digit phone number masking
  • 🪪 ID Card - 18-digit ID card masking
  • 📧 Email - Email address masking
  • 👤 Name - Chinese name masking
  • 💳 Bank Card - Bank card number masking
  • 📍 Address - Detailed address masking

常见问题

相关工具