Personal data anonymization

AnonimiNER

Specialized AI model for automatic identification and anonymization of personal data in any Polish-language texts. Understands context, distinguishes personal data from medical terms, and operates 100% on-premise.

97.46% Detection Rate100% On-PremiseGDPR2x Better Than Presidio
Test on your data
AnonimiNER preview

Model Description

AnonimiNER is a specialized AI model based on NER (Named Entity Recognition) technology, designed for automatic identification and anonymization of personal data in any Polish-language texts. The model detects names, surnames, PESEL numbers, addresses, phone numbers, and other sensitive data — regardless of whether you are processing medical documentation, court records, HR files, or customer conversation transcripts.

Unlike traditional tools based on rigid rules and regular expressions, AnonimiNER understands sentence context and decides whether a given word is personal data. The model knows that "patient Kowalski" is data to anonymize, but "Parkinson's disease" or "Asperger's syndrome" are medical terms that should remain intact. It can also distinguish a PESEL number from an invoice number or payment reference, even though all are digit strings — because it analyzes meaning, not just patterns.

AnonimiNER is a Small Language Model — intelligent enough to understand language nuances, yet lightweight enough to run fast on standard server hardware without costly GPU infrastructure. Document processing takes milliseconds, enabling batch anonymization of thousands of files.

With on-premise deployment, data never leaves your infrastructure, ensuring full GDPR compliance and eliminating the risk of information leaks.

94.92% Recall — nearly every piece of personal data detected

In the strict recall benchmark, AnonimiNER scored 94.92% (vs 49.44% for Presidio). This means the model misses only ~5% of personal data, while Presidio loses more than half. For PESEL and phone numbers, recall is 100%.

Recognized Personal Data

Names and surnames
95.34% recall — recognizes Polish names, surnames and their inflections
PESEL numbers
100% recall — every PESEL detected (Presidio misses 3 out of 4)
Phone numbers
100% recall — Polish landline and mobile formats (Presidio misses 4 out of 5)
Home addresses
87.70% recall — full addresses with street, number and city
Email addresses
97.96% recall — comparable effectiveness to Presidio
Medical units
Hospital names, departments and clinics — data enabling identification

Anonymization Methods

Masking
Replacing data with special characters (***)
Pseudonymization
Replacing real data with pseudonyms
Deletion
Complete removal of sensitive information
Generalization
Replacing details with general categories

AnonimiNER vs Presidio

Independent benchmark on 200 clinical cases · February 2026

Over 2x better accuracy

Recall - how much personal data was detected

Each undetected element is a potential PII leak

Strict
AnonimiNER
94.92%
Presidio
49.44%
Partial
AnonimiNER
96.19%
Presidio
60.17%
EntType
AnonimiNER
97.18%
Presidio
69.49%

Accuracy for individual data types

Data typeAnonimiNER
RecallF1
Names and surnames95.34%83.96%
PESEL numbers100.00%100.00%
Phone numbers100.00%99.22%
Home addresses *87.70%84.25%
Email addresses97.96%98.97%

* Presidio detects address fragments (high recall), but does not match full spans (low F1).

Overall Strict F1: 90.20% vs 43.75%

Why this matters

  • Strict Recall 94.92% — AnonimiNER misses only ~5% of personal data. Presidio loses more than half (recall 49.44%).
  • PESEL: 100% recall vs 25.81% for Presidio. Phone numbers: 100% vs 20.31%. Presidio misses 3 out of 4 PESEL numbers and 4 out of 5 phone numbers.
  • High recall with high F1 (90.20%) means the model not only finds data but also precisely matches its boundaries.

Applications in DLP (Data Loss Prevention) Systems

AnonimiNER is a key component of Data Loss Prevention (DLP) strategy in organizations processing personal data. Unlike traditional DLP systems that only block the transmission of sensitive information, AnonimiNER enables safe data use through automatic anonymization.

How AnonimiNER supports your DLP strategy:

Real-time sensitive data identification
The model automatically detects and classifies personal data in text documents: names, surnames, PESEL numbers, NIP, addresses, phone numbers, email addresses, and other identifiers.
Secure document sharing
Thanks to anonymization, documents can be safely shared with external parties, sent to cloud systems, or used in analyses — without violating the privacy of the individuals they concern.
Prevention instead of blocking
Traditional DLP systems often block information flow entirely, hindering work. AnonimiNER allows business processes to continue while maintaining the highest data protection standards.
AI protection layer
More and more companies use external AI models (ChatGPT, Claude, Copilot). AnonimiNER acts as a "security gateway" — anonymizing data before it reaches an external API.

AI Protection Layer

AnonimiNER acts as a protection layer between your data and external AI systems:

Your data
contains PII
AnonimiNER
PII anonymization
ChatGPT
Claude
Copilot
Gemini
Before anonymization

Pacjent Jan Kowalski, PESEL 80010112345, zamieszkały ul. Zielona 12, Warszawa, tel. 123-456-789 zgłosił się na wizytę kontrolną z powodu nadciśnienia tętniczego.

Do not send to external AI
After anonymization

Pacjent [OSOBA], PESEL [PESEL], zamieszkały [ADRES], tel. [TELEFON] zgłosił się na wizytę kontrolną z powodu nadciśnienia tętniczego.

Safe to send to ChatGPT, Claude, Copilot

Typical use cases:

  • Summarizing documents via LLM without revealing personal data
  • Translating documents containing sensitive data
  • Generating reports based on anonymized sources
  • Sentiment analysis of customer/employee feedback
  • Extracting information from documents (without retaining PII in external systems)

Business Benefits

Financial risk reduction
GDPR violations can result in fines up to 20 million euros or 4% of annual turnover. AnonimiNER minimizes this risk.
Increased productivity
Manual document anonymization takes minutes to hours. AnonimiNER processes text in milliseconds.
Unlocking data potential
Anonymized data can be safely used in analyses, research, and AI projects — without legal barriers.
Safe AI usage
You can use ChatGPT, Claude, or other AI tools to analyze company documents — without the risk of data leaking to external servers.
Regulatory compliance
The model supports compliance with: GDPR, NIS2, data protection legislation, ISO 27001, PCI DSS, HIPAA (for the medical sector).

FAQ – Frequently Asked Questions

API Integration

Models are available as a REST API service or for local deployment within hospital infrastructure. We provide documentation and integration support.

anoniminer_example.sh
bash
curl -X POST https://api.medalion.tech/v1/anonymize \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Patient Jan Kowalski, PESEL: 80010112345, tel: 123-456-789",
    "method": "mask",
    "entities": ["PERSON", "PESEL", "PHONE"]
  }'
Get started today

Anonymization, DLP, compliance audit — one tool

AnonimiNER works for medical documentation anonymization, data leak prevention (DLP), GDPR audits, and safe dataset sharing for analytics and AI training. On-premise deployment or API.