Clean before AI™ — PII masking before any AI, on your computer
Paste an email, contract or report. Personal data (PII) is masked with labels like [PERSON_1] right on your computer — the AI sees only the labels, and the real names and numbers return in its answer.
100% private · no upload · free
How it works
Personal data never leaves your computer — the AI only gets labels.
Client John Smith, SSN 123-45-6789, IBAN GB82 WEST 1234 5698 7654 32
Client [PERSON_1], SSN [SSN_1], IBAN [IBAN_1]
The label key stays with you onlyUnderstands the meaning, never sees the data. Answers with labels:
Dear [PERSON_1], the refund to [IBAN_1] is confirmed.
Dear John Smith, the refund to GB82 WEST 1234 5698 7654 32 is confirmed.
Watch it in one minute
From pasting the text to an answer with your real data. No voice-over — everything is on screen.
Works with any AI
Languages: Slovenian, English (UK and US), Croatian, Serbian (Latin and Cyrillic, also as used in Montenegro), Bosnian, Macedonian, German, Italian, French, Spanish, Portuguese, Polish, Dutch (also Flemish in Belgium), Romanian, Czech, Slovak and Hungarian.
What people clean with it
- Emails and replies to clients
- Contracts and offers
- Medical reports and referrals
- CVs and job applications
- Invoices and bank statements
- Meeting minutes and reports
- Complaints and support tickets
- HR documents and payslips
- Court and legal documents
- Scanned documents and photos (OCR)
- Logs, config files and error messages
- Research datasets and Excel tables
How well it works — measured, not promised
We tested Clean before AI on 264 realistic documents with 6,998 hand-labelled personal data items, on 40 deliberately difficult documents, on 99 real public forms and contracts (filled in with made-up data), on 30 new documents the engine had never seen before the test, and on 40 texts without personal data. The numbers are for the rules together with our local AI model — that is how the extension and the web tool work.
contracts, medical reports, emails, invoices, chats, tables
all caps, no diacritics, JSON, nicknames, “SURNAME, First name”
forms and contracts from authorities, banks and insurers in 13 languages
new documents the engine had never seen — the most honest number
By language (rules + model)
✓ Always found (100%): IBANs, card numbers, emails and numbers with checksums — EMŠO, JMBG, OIB, tax numbers, DNI, NIF, codice fiscale, NIR, SSN and more. Names on your known-names list are found in every form.
Hidden unnecessarily: 0 in 40 texts without personal data (laws, manuals, recipes, news). Rules alone (without the model): 97.1 % regular, 88.6 % blind test.
“Found” means the item was hidden completely. Measured on 3 October 2026. Before every release, each change to the engine is automatically re-checked on the same documents — if detection got worse, the new version is not published. Unusual names, nicknames or indirect hints can still slip through; doubtful words are therefore shown in a “Check” row — take a quick look before sending. All changes and measurements by version →
Frequently asked questions
What is PII masking?
PII (personally identifiable information) is any data that identifies a person: names, addresses, emails, phone numbers, IDs, IBANs, dates of birth. PII masking replaces it with labels such as [PERSON_1] or [IBAN_1] before the text goes to an AI, so ChatGPT, Claude or Gemini never see the real data. Clean before AI does this on your computer and puts the real data back into the AI’s answer — strictly speaking that is pseudonymisation, because the key stays with you.
How do I anonymise a document before ChatGPT, Claude or Gemini?
Paste the text or open the file (PDF, Word, TXT or a scan) in Clean before AI. Names, national and tax IDs, IBANs, addresses, phone numbers, emails and companies are found on your computer and replaced with labels like [PERSON_1]. Copy the cleaned text into any AI, then paste the answer back to get the real data.
Is it safe to paste a contract or a medical report?
Pasting it into Clean before AI is safe: everything runs in your browser, nothing is uploaded — not even to us — and it works offline. The AI then receives only the cleaned text with labels. Numbers with checksums are found very reliably; check names and other details before sending — medical data is especially sensitive.
Which languages does it understand?
Slovenian, English (UK and US), Croatian, Serbian (Latin and Cyrillic, also as used in Montenegro), Bosnian, Macedonian, German, Italian, French, Spanish, Portuguese, Polish, Dutch (also Flemish in Belgium), Romanian, Czech, Slovak and Hungarian — including national IDs with checksums (EMŠO, JMBG, OIB, PIB, Steuer-ID, SVNR, codice fiscale, Partita IVA, NIR, SIREN, DNI, NIE, NIF, CPF, PESEL, NIP, REGON, BSN, KvK, CNP, CUI, rodné číslo, IČO, TAJ, adóazonosító jel, SSN, EIN, Medicare, NI, NHS, UTR) and grammatical cases, so “Janezu Novaku” is the same person as “Janez Novak”.
Does it recognise the language of the document?
Yes. It recognises the language of every paragraph and uses that language’s knowledge of ordinary words, streets and squares (so “Piața Unirii”, “Kossuth Lajos tér” or “Najemca” are not taken for people). Names, addresses and ID numbers from all supported languages are still found in every text — a Polish name in a Slovenian email or a Dutch address in an English contract. Labels automatically follow the language of the text, and you can change them.
Which AI services does it work with?
Any of them: ChatGPT, Claude, Gemini, Microsoft Copilot, Perplexity, DeepSeek, Mistral Vibe (Le Chat), Grok, Llama and others. The Chrome extension works directly inside ChatGPT, Claude, Gemini, Copilot, Perplexity, DeepSeek, Mistral, Grok, Poe, Qwen and HuggingChat.
Does it also hide passwords, API keys and medical or case numbers?
Yes. It recognises passwords, API keys (OpenAI, GitHub, AWS …), tokens and private keys, internal servers and domain accounts, IPv4/IPv6 and MAC addresses, patient and record numbers (MRN, ZZZS, MBO, KVNR), court case, claim and policy numbers, and participant and sample IDs in research data — also in tables pasted from Excel or CSV, where it uses the column headers.
Can I clean PDFs and scans?
Yes. PDFs, Word documents and text files are read in your browser; scans and photos are read with OCR. You can also download a redacted PDF or image with black boxes — the hidden text is gone from the file.
Does it help with GDPR?
It supports data minimisation and pseudonymisation — measures the GDPR requires or encourages (Arts 5, 25 and 32). Pseudonymised data is still personal data while the key exists, so you remain responsible for how you use AI tools; the tool helps you share far less.
What do the labels like [PERSON_1] mean?
Each person, company or number gets one consistent label for the whole text, so the AI understands who is who without knowing the real data. The key that links labels to real data never leaves your browser unless you save it.
Does it use AI to find personal data — and does my text go anywhere?
Yes, but only our own small AI model that runs on your computer. Together with the rules it finds names, nicknames, addresses and companies that dictionaries don’t know, in 17 languages. In the Chrome extension the model is bundled and works offline; in the web tool it downloads once (~67 MB) when you switch it on and stays in your browser. Your text is never sent to any AI or server to be cleaned.
Can I make sure certain names are always hidden?
Yes. Add them to your known-names list — colleagues, clients, partners, project names or internal codes. They are hidden every time, in every grammatical form, in capitals and without accents (“Novak”, “Novaku”, “NOVAK”, “Novakova”). The list stays in your browser; an organisation can distribute it to all employees through a Chrome policy.
What does the “Check” row mean?
Clean before AI hides everything it finds. Words it is less sure about — a lone first name, a nickname, a word the AI model is not certain of — are also shown in a “Check” row. One click keeps a word in the text if it is not personal data; everything else stays hidden.
Is it free?
Yes — the web tool and the Chrome extension are free, with no account.