Sensitive Information Scrubber

Clean personal data out of a document before sharing it or pasting it into an AI chat, and put the real values back afterwards.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Add text

    Paste into the Text box or press Open to load one or more files.

  2. 2
    Choose detectors

    Tick the kinds of data under What to find and add Your own terms.

  3. 3
    Find names

    Optionally press Find names with AI and set the confidence slider.

  4. 4
    Review

    Click highlights to keep or scrub them; use Keep everywhere or Never scrub for repeats.

  5. 5
    Choose output

    Pick tags, fake values, black bars or masks under Replace with.

  6. 6
    Download

    Save the scrubbed text or ZIP and, for reversible modes, the key file with an optional password.

About this tool

Support tickets, interview notes, contracts and logs are full of personal data that should not travel further than it has to. Before you send a document to a contractor, publish an example or paste it into a chatbot, the safe move is to replace identifying details with placeholders. Doing that by hand is slow and inconsistent: the same customer ends up as Client in one paragraph and the real name in the next. This scrubber does the finding and the replacing in your browser. Rule detectors look for email addresses, phone numbers with at least eight digits, payment card numbers that pass the Luhn checksum, IBANs that pass the mod-97 check, US Social Security and UK National Insurance numbers, numbers that follow words such as passport, account, customer or patient, street addresses with a house number and a street word, UK postcodes and US state plus ZIP, dates, IP addresses, links, names after titles such as Mrs or Dr and names after greetings. Your own terms and regular expressions catch project names, internal codes and anything else specific to you. For names without a title, organisations and places, an optional on-device model can run as well. Every finding is highlighted in colour, and a click keeps or scrubs it.

Four ways to replace

- Numbered tags turn each distinct value into a label such as PERSON_1 or EMAIL_2 in square brackets. The same value always gets the same tag, so the text stays readable. - Realistic fake values swap names, organisations, places, emails, phone numbers and card numbers for plausible stand-ins from fixed lists, consistently. - Black bars remove the value entirely. - Partial masks keep the first letter of an email or the last four digits of a number.

The key file and restoring

Tags and fake values are reversible. Download the key file and keep it apart from the scrubbed text; it lists every placeholder and the original value. When an edited version comes back, open the Restore tab, load the scrubbed text and the key, and every placeholder is replaced with the original, longest first so PERSON_12 is never mistaken for PERSON_1. A password turns the key into an AES-256-GCM encrypted file with a PBKDF2 derived key, so it can travel by email without exposing the data. Black bars and masks cannot be reversed, so no key is offered for them.

Several files at once

Open TXT, Markdown, CSV, JSON, log or DOCX files together. Each file is reviewed on its own tab, and when you download, the same value gets the same placeholder in every file and one key file covers all of them. DOCX files are read as plain text and the scrubbed result is saved as text.

Limits

No automatic detector finds everything. Names written in lower case, unusual address formats, nicknames, rare languages and indirect identifiers such as a job title in a small company can slip through, so read the highlighted review before sharing. Pseudonymised data is still personal data under data protection law while the key exists; this tool is not legal advice and does not make a dataset anonymous by itself. The name model works best on English text.

Worked example

An incident report contains Mrs Joanna Pike, an email, a London phone number, a test Visa card, a UK IBAN, a street address in Bristol, a postcode, a customer number, a date of birth, an IP address and an agent called Dr Samuel Okafor. The rules find 13 items, including Joanna on her own after Dear, and the custom term adds Northbridge Insurance. The second mention of Samuel Okafor has no title, so only the AI name model catches it. In tag mode Mrs Joanna Pike becomes PERSON_1, and restoring with the key gives back the original report character for character.

Quick facts

Frequently asked questions

Is my text sent anywhere?

No. Detection, replacement, encryption and restore all run in your browser. Only the optional name model's files are downloaded from the Hugging Face CDN.

What is the name-finding model?

Xenova/bert-base-NER, an ONNX version of a BERT model trained to tag persons, organisations, places and other names, released under the MIT licence. It is about 109 MB and is cached after the first download.

Why was a number not detected as a card?

Card numbers must pass the Luhn checksum, which also stops order numbers from being flagged. Add it as your own term if you still want it removed.

Can I stop a word from being scrubbed?

Yes. Click its highlight to keep that instance, use Keep everywhere for all instances, or Never scrub to add it to the allow list.

Is pseudonymised text anonymous?

Not while the key exists. Anyone with the key can reverse it, so store the key as carefully as the original.

Does it work with spreadsheets?

CSV and TSV files work as text, and every cell is scanned. Excel files need to be saved as CSV first.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages