Anonimizador PII
Mascara CPF, e-mail e telefone do texto com regex.
Texto mascarado
—
Strip CPF, email and phone before sharing
You need to paste a log excerpt, a support ticket or a spreadsheet row somewhere that is not yours: a helpdesk thread, a team chat, an AI prompt. Buried in it there are Brazilian CPF numbers, customer emails and phone numbers. Deleting them by hand works for the first two, and on the third one you miss one. This page sweeps the text and swaps those three kinds of data for fixed placeholders.
Three regular expressions run in order: CPF first, then email, then phone. CPF is caught with or without punctuation, including eleven bare digits. The phone pattern accepts an area code in parentheses, the extra leading nine and either a hyphen or a space. That is where the catch lives: any run of ten or eleven digits is read as a phone, so a long order ID or a card typed in blocks comes out chopped in the middle.
Read the output before you send it anywhere. CNPJ, postal codes, ID numbers, plates, IP addresses, birth dates, names and street addresses are left untouched, and a card number is only hit by accident. Treat this as a first pass, not as your data protection control. Everything runs in your browser and nothing is uploaded. There is no copy button, so select the result text yourself.
Frequently asked questions
Does it mask CNPJ numbers?
Can I change the mask characters?
Is my text uploaded anywhere?
Related Tools
Text to HTML Entities
Encode special characters as HTML entities (<, >, &) or decode HTML entities back to plain text.
Katakana Direct
Direct PT→Katakana phonetic mapping.
Text to Hashtag
Turn a phrase into a hashtag (CamelCase or kebab-#). Removes accents, punctuation and spaces. Useful for Instagram, X and LinkedIn. Everything in your browser.