iToolsPro

Data Masking

Bulk mask phone numbers, ID cards, bank cards, emails, IPs and more with smart rules. All local

Input text
Data types to mask
Masked result
Tip: masking runs locally - your raw text is never uploaded or stored.
Phone · ID · Card · Email

Sensitive data, masked in one click

Auto-detects phone numbers, IDs, bank cards, emails, IPs and plates, then masks them. All local, nothing uploaded.

100% local · nothing uploaded

Features

Multi-type detection
Phone, ID card, bank card, email, IP and plate detected in one pass.
Flexible rules
Toggle each data type independently to control exactly what gets masked.
Local & private
Everything runs in your browser - sensitive data never leaves your device.

Use cases

📄 Log masking 📤 Screenshot sharing 🧪 Test data 📋 Document release

文本脱敏使用指南Data Masking Guide

了解脱敏规则、支持的数据类型与常见问题。How masking rules work, supported data types, and answers to common questions.

功能说明What It Does

文本脱敏工具会自动识别文本中的手机号、身份证号、银行卡号、邮箱、IP 地址与车牌号,并替换为带星号的脱敏形式,如 138****1234、110***********1234、zh***@example.com。

This tool detects phone numbers, ID card numbers, bank card numbers, emails, IP addresses and license plates, then replaces them with masked forms such as 138****1234, 110***********1234 and zh***@example.com.

全部在浏览器本地完成,原始数据不会上传或存储。

Everything runs locally in your browser - raw data is never uploaded or stored.

脱敏规则Masking Rules

手机号保留前 3 后 4;身份证与银行卡保留前后各 3-4 位;邮箱隐藏用户名主体、保留域名;IP 保留前两段。

Phone numbers keep the first 3 and last 4 digits; ID and bank cards keep a few leading and trailing digits; emails hide the username but keep the domain; IPs keep the first two octets.

使用步骤How to Use

  1. 粘贴或输入包含敏感信息的文本。Paste or type text containing sensitive information.
  2. 勾选需要脱敏的数据类型。Check the data types you want to mask.
  3. 点击「开始脱敏」并复制结果。Click "Mask" and copy the result.

常见问题FAQ

Q1. 脱敏后的数据还能恢复吗?Q1. Can masked data be recovered?

不能,脱敏用星号替换中间位,原始信息不可还原,适用于安全分享场景。No - the middle characters are replaced and cannot be restored, which is exactly what makes sharing safe.

Q2. 原始文本会被上传吗?Q2. Is raw text uploaded?

不会,处理完全在浏览器本地进行,关闭页面即销毁。No - masking happens entirely in your browser and is discarded when you close the page.

Q3. 为什么有的数字串没有识别?Q3. Why wasn't a number detected?

脱敏基于格式规则,非标准格式(如短号、座机)可能无法匹配,可在文本中人工调整后重试。Masking relies on format rules; non-standard formats (like short or landline numbers) may not match - adjust the text and retry.