Text Anonymizer
Mask emails, phone numbers, card numbers, IBANs, IP addresses and URLs in pasted text. Card and IBAN numbers are checked before masking. Runs in your browser.
Names, postal addresses and other personal details written as free text are NOT detected. Review the result before you share it.
- Email addresses
- 0
- Phone numbers
- 0
- Card numbers
- 0
- IBANs
- 0
- IP addresses
- 0
- URLs
- 0
- Items replaced
- 0
How to use the Text Anonymizer
- Paste the text to clean into the Input box, for example a support request, a log extract, a spreadsheet export or an email thread.
- Under Items to replace, keep the categories you want masked: Email addresses, Phone numbers, Card numbers, IBANs, IP addresses and URLs. All six are ticked by default.
- Under Replacement, choose Labels such as [EMAIL] to write a label in place of each item, or Black blocks (█) to cover each item with blocks of the same length.
- Read the cleaned text in the Output box and check the counter for each category. The Items replaced counter gives the total.
- Review the whole result, then click Copy to copy it.
The note above the output is important. Names, postal addresses and other personal details written as ordinary words are not detected. The tool only finds the patterns listed above, so a person’s name or a street address stays in the text.
What each category looks for
Email addresses are detected by the usual shape: a local part, the at sign, a domain and a top-level domain of at least two letters, such as [email protected].
URLs are addresses that start with http://, https:// or www.. A full stop, comma or closing bracket placed right after an address is not part of it, so the sentence keeps its punctuation.
Card numbers are groups of 13 to 19 digits, optionally separated by a space or a hyphen. A candidate is masked only if it passes the Luhn checksum, the check digit used by payment card numbers. A number that fails the check is left alone, which avoids masking reference numbers that merely look like cards.
IBANs start with two letters, two check digits and the bank details, and may be written in blocks of four characters. A candidate is masked only when the mod 97 check of ISO 13616 gives the expected result, so a mistyped IBAN is not hidden by mistake.
IP addresses cover IPv4 addresses such as 192.168.0.1, where each part must be at most 255, and IPv6 addresses such as 2001:db8::1, written with eight groups of hexadecimal digits or with a single ::.
Phone numbers are sequences of 9 to 15 digits, which is the range allowed by the international numbering standard, with optional spaces, dots, brackets and hyphens, and an optional leading plus sign. Dates such as 2026-10-25 are not treated as phone numbers, and short numbers such as 42 are left alone.
Choosing a replacement style
The label style, for example [EMAIL], tells a reader what was removed and keeps the text easy to follow. The block style keeps the length of each item, which is useful when the layout of a table or a fixed-width log must not change. Both styles replace the same items and produce the same counts.
Limits to keep in mind
Pattern matching is not understanding. A phone number is sometimes a product code, and a long number can be an order reference that the tool masks as a card. These false positives are safe in most cases, but they are possible, so check the output. In the other direction, a person’s name, a postal address, a date of birth, a licence plate or a customer number written in a sentence will not be masked. Pseudonymised text may still identify someone when it is read with other information.
Use the Items to replace you need, read the result, and treat it as a first pass rather than a guarantee of anonymity.
Frequently asked questions
Are my texts sent to a server?
No. The detection, the validity checks and the replacement run in your browser, in this page. The text you paste is not uploaded, stored or logged by this tool.
Why is a name still visible after anonymizing?
Names, postal addresses and similar details written as ordinary words are not detected. The tool only looks for structured items: emails, phone numbers, card numbers, IBANs, IP addresses and URLs. Read the result and replace such names by hand.
Why was a number that looks like a card not masked?
Card numbers are masked only when they pass the Luhn checksum. A number of the right length that fails this check is probably not a valid card number, so it is left in the text. Check the number yourself if it is sensitive.
Does masking make a text fully anonymous?
No. Removing structured identifiers reduces the risk, but it does not guarantee anonymity. A text can still identify someone through its content, its context or details that combine with other information. Review the output before you share it.
What is the difference between the two replacement styles?
Labels such as [EMAIL] name the category of each item. Black blocks keep only the length of the item. Choose labels to explain a text to others, and blocks when the layout or the length must be preserved.
Related tools
- CSV Anonymizer Anonymize a CSV file in your browser. Choose per column to keep, drop, mask, hash, pseudonymize or generalize personal data, then download the new CSV.
- EXIF Remover Remove EXIF data and GPS location from photos before sharing. Lossless for JPEG and PNG, batch processing, and nothing is uploaded.
- Text Encryption Tool Encrypt and decrypt text with a passphrase in your browser, using AES-256-GCM and PBKDF2 with 600,000 iterations. Nothing is uploaded. Honest limits explained.