Microsoft Presidio - PII Detection & Anonymization
Microsoft Presidio detects and anonymizes personally identifiable information (PII) in text and images. Supports 100+ entity types and complies with GDPR and CCPA.

Introduction
Microsoft Presidio is an open-source PII (personally identifiable information) protection and de-identification framework maintained by Microsoft. It helps developers and data security teams automatically detect, analyze, and anonymize sensitive information hidden in text, images, and structured data. Whether you need to meet compliance requirements such as GDPR and CCPA or enforce internal data security policies, Presidio delivers an efficient and reliable solution.
Key Features
- Text PII detection: Recognizes 100+ entity types including names, addresses, phone numbers, emails, credit card numbers, and ID numbers.
- Multiple anonymization methods: Choose from replacement, redaction, encryption, pseudonymization, and more.
- Image PII recognition: Extracts text from images using OCR technology and flags sensitive information.
- Structured data protection: Supports batch processing for formats like CSV, Excel, and database tables.
- Extensible analyzers: Supports custom entity recognition rules and integration with third-party NLP models.
Highlights
- Open-source with MIT license and a large GitHub community.
- Built-in support for English, Spanish, French, German, and other major languages.
- Custom recognizers allow extension to additional languages such as Chinese.
- Flexible pipeline architecture that fits into existing data workflows.
Who It's For
Presidio is designed for developers, data engineers, and security teams who need to handle sensitive data responsibly. It is ideal for organizations working on data compliance, preparing data for internal or external sharing, sanitizing logs during collection and analysis, or cleaning training datasets to remove PII and protect user privacy in AI projects.





