What it masks, in order
- Email addresses become
[REDACTED_EMAIL]. - US Social Security numbers in the
123-45-6789form become[REDACTED_SSN]. - Card numbers: runs of 13 to 19 digits (spaces or dashes allowed) are masked only when they pass the Luhn check, so most order and invoice numbers stay readable.
- Phone numbers in US and common international shapes become
[REDACTED_PHONE]. - IPv4 addresses become
[REDACTED_IP].
The masking runs in this page's JavaScript; the text is never sent to a server. It is a first pass, not a compliance control: read the output before you paste it anywhere. Missed something it should catch? Tell me at hi@byteplain.com.
What this experiment does not handle 这个实验不处理什么
- Names, street addresses and free-text identifiers are not detected.不识别姓名、街道地址和其他自由文本形式的身份信息。
- Any 10-digit number in phone-number shape is masked, including some order numbers.任何形似电话号码的 10 位数字都会被抹掉,包括部分订单号。
- Card numbers with a typo fail the Luhn check and are left as they are.输错一位的卡号通不过 Luhn 校验,会原样保留。