Skip to content

Why a local LLM is the right anonymizer

There are four ways to find the personal data in a document before sharing it. Piixie uses the last one, combined with the precision of the first two.

ApproachWhat it findsWhat it missesWhere the document goes
Find and replace by handWhat you remember to search forEverything else: a nickname, an ID in a footer, a name in a tableStays with you
Regular expressions and rulesValues with a fixed shape: emails, phone numbers, IBANs, ID numbersNames, addresses written freely, anything that depends on contextStays with you
NER models (named-entity recognition)Most names, places and organizationsRelationships, roles, indirect references, dates that date a life; mislabels ordinary wordsUsually stays with you
Cloud anonymization APIsDepends on the serviceSame limits as the model behind itUploaded to the provider, the very thing you wanted to avoid
Local LLM + rules (Piixie)Names in any form, identifiers, addresses, and the combinations that identify someone, consistently across the documentVery little; what it’s unsure about is shown for reviewNever leaves your computer

Personal data is not just strings with a shape. It is meaning:

  • Combinations identify people. “The only female partner of the Bilbao office, hired in 2019” contains no name and identifies one person. A language model reads that sentence the way a person does.
  • One person, many forms. “Marcus Patel”, “Mr. Patel”, “Marcus”, “Patel’s” and “M.P.” are the same person. Piixie gives all of them the same replacement, so the anonymized document still makes sense and can be reversed.
  • Context decides. “Ruiz” is a doctor in one sentence and a street in the next; “Jan 2020 – Mar 2023” in a CV dates a person’s life while “March 2023” in a press release does not; “Banco Santander” is a public company, but the employer of a patient is personal data. Rules can’t tell these apart; a model can.
  • Relationships carry data. “His wife”, “the claimant’s daughter”, “the emergency contact” point to people. Tables with spouse or beneficiary columns need the same reading.
  • Free-form addresses and names in any language, including names written in another alphabet inside a Spanish or English document.

Piixie doesn’t let the model rewrite the document. The model finds and classifies; Piixie applies the replacements itself, inside the original file, so a PDF keeps its layout and a Word file its styles. Exact rules with checksum validation (IBAN, card numbers, DNI, Codice fiscale, Steuer-ID and dozens more national IDs) run alongside it, so structured numbers are never left to judgment.

An anonymizer exists so that personal data doesn’t reach a third party. If the anonymizer itself needs the document uploaded to find the personal data, the data has reached a third party before you start. Local processing is not a nice extra; it is the requirement.

  • Piixie’s models run on your computer: in the desktop app, through a local process that only listens on your machine. You can check it with a firewall: no request carries your file.
  • It works offline once the model is downloaded.
  • No processor, no transfer, no new contract: for the anonymization itself there is nothing to add to your GDPR records.
  • Only if you explicitly choose them do Piixie Cloud or your own AI endpoint receive a document’s text, and Piixie asks before the first time.

No automatic tool is perfect, so Piixie shows its work: every finding is listed in the editor, where you switch any off, add what was missed, and choose how cautious to be with the Protection slider (Light, Balanced, Strict). Every run keeps a report on your computer of what was replaced.