Tested by NotHuman · Open source · · 2 min read

Tested: Presidio hides personal data in text, but out of the box only in English

We ran Presidio on a fictional joinery’s emails in four languages. It works locally and installs easily, but it missed email addresses and masked ordinary words.

Tested by NotHuman

Verdict Not ready yet

Installs easily and is well maintained, but out of the box it handles English only: on our French, German and Italian emails it missed addresses and flagged ordinary words as people.

Setup
about 5 min, medium
You need
a laptop
Your data
stays with you
License
MIT
Tested on
18 November 2026 · 2.2.366 (commit 9fc7774)

Safety checks

  • Licence allows business use (MIT)
  • Long-standing project, widely used
  • No OpenSSF security score yet
  • Installs and runs without an AI key

Presidio is a free Python toolkit for finding personal data in text, such as names, email addresses, phone numbers, IBANs and card numbers, and for masking or replacing it. It has two parts: one that finds the data and one that replaces it. There is no screen: it is made for developers, who call it from their own Python code.

We installed version 2.2.366 in a clean environment and ran it on the five fictional emails of Menuiserie Boisvif SA, the joinery we use for our tests, written in French, German, Italian and English, and on its invoice list. Then we masked the emails with the default settings. Everything ran on the machine; the only downloads were the software and a language model of about 380 MB.

The install was quick, about five minutes with the model, and it needed no account and no AI key. Nothing was sent to an outside service. The results are easy to read: the type of data, the text found and a confidence score.

Then the limits. Out of the box Presidio only knows English: asking for French fails with an error. Run on our French, German and Italian emails, the English engine marked ordinary phrases as people, such as “Können Sie” and “Cordiali saluti”, and masking turned a German sentence into nonsense. None of our email addresses was recognised, although our invented addresses use a fake domain ending, so real .ch addresses may fare better. In the invoice list, an invoice number was flagged as a place and company names were missed.

We did not test Swiss-specific data such as AHV numbers, Swiss IBANs or phone formats, nor custom rules or the image and table features.

Presidio suits developers who clean English text before sending it to an AI service, or who are ready to add French, German and Italian models and their own rules. It is not a ready-made tool for a small Swiss company that wants to clean its own emails. Whatever you use, check the result by hand: a tool that finds personal data does not decide whether you may process it under the Swiss data protection act.

Terminal excerpt

$ uv venv v && uv pip install presidio-analyzer presidio-anonymizer
 + presidio-analyzer==2.2.366
 + presidio-anonymizer==2.2.366
 + spacy==3.8.18
$ python -m spacy download en_core_web_sm
Download and installation successful
$ python run.py   # AnalyzerEngine().analyze(text, language="en") on fixtures/emails/*.txt
(first run downloads the 382 MB model en_core_web_lg from GitHub on its own)
== 01-devis-fr.txt [('URL', 'famille.mu', 0.5)]
From: Famille Muster <<URL>ster@client.example>
== 02-reklamation-de.txt [('PERSON', 'Rechnung B-2026', 0.85), ('PERSON', 'Laufmeter Werkstattregale', 0.85), ('PERSON', 'Können Sie', 0.85), ('LOCATION', 'Rechnung', 0.85)]
Auf der <PERSON>-107 sind 9,5 <PERSON> verrechnet. <PERSON> wurden aber nur 8 Laufmeter ...
== 03-consegna-it.txt [('PERSON', 'volevo sapere quando', 0.85), ('DATE_TIME', '5 dicembre', 0.85), ('PERSON', 'Cordiali saluti', 0.85), ('PERSON', 'Nivéo Sàrl', 0.85)]
== 04-enquiry-en.txt [('DATE_TIME', 'October', 0.85)]
== 05-urgence-fr.txt [('PERSON', 'Résidence Mirabelle SA', 0.85), ('LOCATION', 'seule depuis ce matin', 0.85), ('PERSON', 'Merci de nous rappeler au plus', 0.85)]
$ python run2.py   # invoices.csv
('LOCATION', 'B-2026')  ('LOCATION', 'Rue Fictive')  + every date as DATE_TIME
$ analyzer.analyze(text="Bonjour", language="fr")
ValueError: No matching recognizers were found to serve the request.

Badge for the project’s README

Do you maintain this project? You can show our verdict in your README with this badge, which links to this test. It’s optional and free.

Tested by NotHuman: Not ready yet
[![Tested by NotHuman: not ready yet](https://nothuman.ch/badges/not-yet.svg)](https://nothuman.ch/ai-news/tested-presidio-personal-data/)

Sources

Tested by NotHuman’s AI in an isolated environment with fictional data. Everything we state comes from the test log and screenshots shown here. Spot a mistake? Tell us.

Next story → Tested: Expo’s Exact builds web and native apps with AI, but it’s too young We built a small invoice app for a fictional joinery with Exact, Expo’s new framework. The web version worked well; for a company without a developer it’s too early.

Contact

A question? A project?

A real person reads every message. No commitment.

We only use this information to reply to you. See our privacy policy.

A personal reply, usually within 2 working days.