presidio
An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.
💡 Why It Matters
This project addresses the challenge of detecting and anonymizing personally identifiable information (PII) in text, images, and structured data using a modular, context-aware approach. It combines named entity recognition, pattern matching, custom recognizers, and checksum validation to identify sensitive data types like credit card numbers, social security numbers, and phone numbers. It also supports redaction in images including DICOM medical images, which is uncommon in similar tools. The framework is extensible and can be integrated via Python, PySpark, Docker, or Kubernetes, making it accessible for backend engineers and ML teams focused on data privacy. Despite 11,878 stars and recent commits, its growth is not notably accelerating, suggesting a stable but niche user base. It is not suitable for teams needing guaranteed PII detection coverage or compliance-grade redaction, where commercial tools like Microsoft Presidio Enterprise or Google DLP might be preferable.
🎯 When to Use
Choose this if you require flexible, customizable PII detection and anonymization across multiple data formats including images, especially when open source is preferred. Consider alternatives like Amazon Macie or Google Cloud DLP if you need managed services with compliance guarantees and broader enterprise support.
👥 Team Fit & Use Cases
Commonly deployed in data governance pipelines for anonymizing customer data in text-heavy applications, or in healthcare environments needing redaction of sensitive information from medical images. Also fits teams building privacy-aware data lakes or ETL processes where custom recognizers and multi-language support are required.
🎭 Best For
🏷️ Topics & Ecosystem
📊 Activity
Latest commit: 2026-11-28. Over the past 153 days, this repository gained 2.4k stars (+24.7% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.