Skip to content

Presidio: Data Protection and Anonymization SDK

Presidio (Origin from Latin praesidium ‘protection, garrison’) helps to ensure sensitive data is properly managed and governed. It provides fast identification and anonymization modules for private entities in text and images such as credit card numbers, names, locations, social security numbers, bitcoin wallets, US phone numbers, financial data and more.

Goals

  • Allow organizations to preserve privacy in a simpler way by democratizing de-identification technologies and introducing transparency in decisions.
  • Embrace extensibility and customizability to a specific business need.
  • Facilitate both fully automated and semi-automated PII de-identification flows on multiple platforms.

How it works

Presidio demo gif

Main features

  1. Predefined or custom PII recognizers leveraging Named Entity Recognition, regular expressions, rule based logic and checksum with relevant context in multiple languages.
  2. Options for connecting to external PII detection models.
  3. Multiple usage options, from Python or PySpark workloads through Docker to Kubernetes.
  4. Customizability in PII identification and anonymization.
  5. Module for redacting PII text in images.

Warning

Presidio can help identify sensitive/PII data in un/structured text. However, because Presidio is using trained ML models, there is no guarantee that Presidio will find all sensitive information. Consequently, additional systems and protections should be employed.

Demo | Frequently Asked Questions

Presidio's modules

  1. Presidio analyzer: PII identification in text
  2. Presidio anonymizer: Anonymize detected PII entities using different operators
  3. Presidio image redactor: Redact PII entities from images using OCR and PII identification

Installing Presidio

  1. Supported Python Versions
  2. Using pip
  3. Using Docker
  4. From source
  5. Migrating from V1 to V2

Running Presidio

  1. Running Presidio via code
  2. Running Presidio as an HTTP service
  3. Setting up a development environment
  4. Perform PII identification using presidio-analyzer
  5. Perform PII anonymization using presidio-anonymizer
  6. Perform PII identification and anonymization in images using presidio-image-redactor
  7. Example deployments

Support