🌠 Add stars to mobile phone numbers in batches (desensitization)
Paste the entire list in, click "Batch Process" once, and the middle four digits of the independent 11-digit mobile phone number will become asterisks (139****0000); the entire process is completed locally, and the number will not be transmitted externally.
Add stars to mobile phone numbers in batches (desensitization)
This tool can be used to convert mobile phone numbers into asterisks in batches*
Original content
result
Instructions for use
The upper frame displays the original content, the lower frame displays the results, and in the middle are the two buttons "Batch Processing" and "Copy". After clicking "Batch Processing", the tool will scan line by line and replace the middle four digits of the independent 11-digit mobile phone number with four asterisks. The first three and last four digits are retained to facilitate manual verification of the tail number. If the original content is empty, the status line will prompt you to enter the content first, and no blank results will be generated.
✅ How to check the results
- The number of rows in the result should be consistent with the original content, and only the number itself should be changed in each row.
- After coding, it should be in the form of "three digits + four asterisks + four digits"
- If there is no change in a row, check whether the number is sandwiched in other numbers or has a separator
🔒 Data and privacy
All processing is completed locally in the browser, the number will not be uploaded, no log will be written, and it will be cleared when the page is closed. At the same time, please note: coding is irreversible, so keep the original list before processing; when sending desensitized data externally, it is best to remove names, addresses and other identifiable fields at the same time.
📌 The purpose of coding mobile phone numbers
Mobile phone numbers are personal information, and it is neither necessary nor compliant to directly display the complete number in customer service tickets, screenshots, external reports, and presentation environments. The common practice is "desensitized display": keep the first three and last four digits, and replace the middle four digits with asterisks. For example, 13900000000 is written as 139****0000. This not only allows the operation students to check the ownership and tail number of the number, but also prevents the complete number from being forwarded or screenshots leaked.
- Hide the number when providing customer service work orders and complaint records to the outside world
- Batch coding before sharing reports and screenshots
- Replace real customer numbers in demonstration and training environments
- Test data structure to prevent real numbers from entering the test library
⚙️ Processing rules
<p>The rule is to identify an "independent 11-digit number" and replace digits 4 through 7 with four asterisks, while retaining three digits on each side. The criterion is that no additional digits may be adjacent to either side of the numeric string; therefore,<code>139 0000 0000</code>(with spaces),<code>+8613900000000</code>(with international area code),<code>0013900000000</code>(12 items) will not be processed, thereby avoiding unintended processing of other identifiers such as order numbers and ID numbers. When multiple numbers appear in the same row, they will be processed individually.</p>
| input | result |
|---|---|
| 13900000000 | 139****0000 |
| Name 1 13900000000 | Name 1 139****0000 |
| 13800138000,13900139000 | 138****8000,139****9000 |
| 139 0000 0000 | Do not process (including spaces) |
| +8613900000000 | Not processed (with area code) |
🧪 Complete batch coding in three steps
- Step 1: Paste the entire list into the "Original Content" box. You can have one number per line or multiple numbers per line.
- Step 2: Click "Batch Process", the results appear in the "Results" box, the number of rows is consistent with the original text
- Step 3: Click "Copy" to retrieve the results, or paste the entire column back into the table to cover the original column (it is recommended to back up the original table first)
⚠️ Two points that must be noted
First, coding is irreversible: the original number has been lost after asterisk overwriting, and the tool deliberately does not provide a restore function, so please keep the original list before processing; second, desensitization does not mean anonymity: just covering the mobile phone number does not mean that the data can be sent out casually. If there are names, addresses, and order numbers in the same record, they may still be re-identified. It is recommended to retain only business-required fields before providing it to the outside world.
🔒 About privacy
Pasting, coding, and copying are all completed locally in the browser. The number will not be uploaded to the server, nor will any logs be written. It will be cleared when the page is refreshed. This local processing method is better for handling customer information than passing the list to an online service.
All keywords and tutorials 12
❓ FAQ
- What are the coding rules?
- Identify independent 11-digit numbers, keep the first three and last four digits, and replace the middle four digits with asterisks: 13900000000 becomes 139****0000.
- If there are multiple mobile phone numbers in one line, will they all be processed?
- Yes, when multiple numbers appear on the same line, they will be coded one by one. For example, 13800138000,13900139000 will become 138****8000,139****9000.
- Why are numbers with spaces or +86 not processed?
- The tool only processes 11 consecutive digits; numbers with spaces, dashes or +86 prefixes cannot be recognized. Please sort them into 11 pure digits before batch processing.
- Can it still be restored after coding?
- No, the original number has been lost after the asterisk is overwritten, so please keep an original list before processing, and confirm that this data is allowed to be sent externally.
- Will the content be uploaded to the server?
- No, coding is done locally in the browser, and the input content does not go through the server. It will be cleared when the page is refreshed.