# Presidio

> Data protection and de-identification SDK

Source: https://talira.ai/catalog/presidio-1sdj4nrq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, API
- Categories: [security / data loss prevention](https://talira.ai/categories/security/data-loss-prevention)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source under the MIT licence.
- Free tier: yes[^1]
- Self-hostable: yes[^3]
- API: yes[^3]
- Backed by: [Data Privacy Stack](https://talira.ai/orgs/data-privacy-stack.md)

Presidio detects and anonymizes personal data (PII) in text, images and structured data. Its Analyzer finds entities such as credit card numbers, names, locations, social security numbers and phone numbers with NLP models (spaCy, Stanza or Transformers), regular expressions, deny-lists and context, and its Anonymizer redacts, masks, replaces, hashes or encrypts what it finds; separate modules redact images and de-identify semi-structured data. It runs as Python packages or as Docker services with REST APIs, and every recognizer can be customised. Presidio began at Microsoft and is now an independent, community-governed MIT-licensed project under the Data Privacy Stack organization.

## Links

- Website: https://presidio.dataprivacystack.org/
- GitHub: https://github.com/data-privacy-stack/presidio
- Docs: https://presidio.dataprivacystack.org/

## Problems it solves

- strip names, emails and phone numbers out of support tickets before sending them to an LLM
- detect credit card and social security numbers in free text
- anonymize customer data so analysts can work with it safely
- redact personal data from scanned documents and screenshots
- mask PII in log files before they leave production
- build a custom detector for our own ID number format
- replace real names with fake ones in a dataset while keeping it readable
- encrypt sensitive values in text and decrypt them later
- de-identify columns of personal data in CSV or JSON files

## Features

- Analyzer: PII detection with NLP models, regex, deny-lists, checksums and context
- Anonymizer: redact, replace, mask, hash or encrypt detected entities, with decryption
- Image Redactor for PII in images
- Presidio Structured for semi-structured and structured data
- custom, ad-hoc and no-code recognizers and allow-lists
- spaCy, Stanza and Transformers NLP engines; GPU acceleration
- multi-language support and recognizers filtered by country
- Docker images with REST APIs on GitHub Container Registry
- decision-process tracing for why an entity was detected

## Capabilities

- Has an API: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 0.88, adoption 0.82, momentum 0.63, community 0.95, backing 0.30, extensibility 0.20.

- last commit yesterday
- 42 commits in the last 90 days
- latest release 2.2.366 28 days ago
- 12.0k GitHub stars
- 232 contributors
- backed by Data Privacy Stack

## Sources

[^1]: https://github.com/data-privacy-stack/presidio/blob/main/docs/project_transition.md (checked 23 Nov 2026)
[^2]: https://github.com/data-privacy-stack/presidio/blob/main/LICENSE (checked 23 Nov 2026)
[^3]: https://presidio.dataprivacystack.org/installation/ (checked 23 Nov 2026)
