How to Remove Personal Data From Text Before Sharing It
Find names, emails, phone numbers, card and bank details, IDs and addresses in text, replace them consistently, and restore the originals with a key file.

How to Remove Personal Data From Text Before Sharing It
Text travels. A support ticket is forwarded to a contractor, an interview transcript goes to a translator, a log file is attached to a bug report, a customer email is pasted into an AI assistant to draft a reply. Each time, the personal data inside travels too. Removing it first is good practice and, under data protection laws such as the GDPR, often a legal expectation. This guide explains a careful approach using the free Sensitive Information Scrubber, which works entirely in your browser.
Know what counts as personal data
Obvious identifiers are names, email addresses, phone numbers, postal addresses and ID numbers such as passport, National Insurance or Social Security numbers. Financial data such as card numbers and IBANs needs special care. Less obvious are dates of birth, IP addresses, customer and account numbers and links that contain usernames. Indirect identifiers, such as a rare job title in a small company, can identify someone too, and no automatic tool understands them, so keep them in mind when reviewing.
Combine rules and a model
The scrubber uses two kinds of detection. Rules catch data with a recognisable shape. Email addresses, IP addresses and links are straightforward. Card numbers are only reported when they pass the Luhn checksum and IBANs only when they pass the mod-97 check, which avoids flagging order numbers. Phone numbers need at least eight digits and a typical shape, and numbers after words like account, customer or patient are caught as IDs. Names are recognised after titles such as Mrs or Dr and after greetings.
Names without such clues, along with organisations and places, need language understanding. For those, the tool can run a named-entity recognition model on your device. The model is downloaded once and cached; your text is never sent anywhere. A confidence slider lets you decide how sure the model must be before a word is flagged.
Add your own terms for anything specific to your organisation, such as project code names, client names or internal reference formats. Regular expressions are allowed for patterns.
Review every highlight
Automatic detection is a first pass. Each finding is highlighted in a colour for its type; click a highlight to keep it, click again to scrub it. If a common word keeps being flagged, such as a product name that is not personal, use Never scrub to add it to the allow list. Read the whole text once with fresh eyes, because the most dangerous miss is the one you assumed the tool would catch.
Choose the right replacement
Numbered tags such as PERSON_1 keep text readable and make it clear what kind of data was removed, which helps when someone else analyses the text. Realistic fake values read naturally and suit examples, training material and AI prompts where placeholders would confuse the reader. Both are consistent: the same customer gets the same replacement everywhere, even across several files. Black bars and partial masks are final and suit documents for publication.
Keep the key apart
Tags and fake values are reversible. The key file lists every placeholder with its original value, which means it is as sensitive as the original text. Protect it with a password, which encrypts it with AES-256-GCM, and store it separately from the scrubbed file. When an edited version comes back, for example a translated transcript or an AI-drafted reply, the Restore tab puts the original values back in place.
Remember that pseudonymised data remains personal data while the key exists. Only deleting the key, or using irreversible redaction, moves you towards anonymisation, and even then indirect identifiers may remain.
Batch work and records
Open several files at once to scrub a folder of transcripts or tickets consistently. One key covers all of them. Keep a simple record of what you scrubbed, when and why; data protection authorities expect organisations to be able to explain how they handle personal data, and a short note next to the key file is often enough.



