Text Masker
Anonymize text by masking phone numbers, ID cards, bank cards, emails, and IP addresses locally.
This tool runs entirely in your browser. Your input is never uploaded.
What is this tool?
Before sharing logs or documents, sensitive values should be hidden. This tool detects common sensitive data types and masks them while keeping enough structure to stay readable: 138****5678, 110**********7789X, zhang***@example.com, and 192.168.*.*.
What can be masked
- Chinese mobile numbers (with or without
+86) and international numbers - Chinese ID card numbers
- Bank card numbers
- Email addresses (the domain is kept)
- IPv4 addresses (the first two octets are kept)
Toggle each rule on or off, or select all. The chip shows how many matches each rule found. Separators such as spaces and hyphens in phone numbers are preserved.
How to use it
- Paste the original text on the left.
- Choose the rules you need.
- Copy or download the masked result on the right.
Privacy
Masking happens entirely in your browser.
Related tools
Text Extractor
Paste any text to extract URLs, image addresses, emails, phone numbers, numbers, Chinese, English, IPs, dates, colors, and hashtags.
Open ToolFind and Replace
Find and replace text with literal rules, regular expressions, batch replacement, and multiple rule sets.
Open ToolRegex Tester
Test regular expressions, read them token by token, and get Python, Java, Go, and PHP equivalents.
Open Tool