Presidio
the six Ws · specification
Maintained by Microsoft.
A data-protection SDK that detects and anonymizes PII and sensitive entities in text and images.
A Python library and optional containerized services, self-hosted.
Reach for it when scrubbing personal data before logging or sending to an LLM.
Customizable, extensible PII detection and de-identification out of the box.
Uses spaCy and transformer NER models; integrates with custom recognizers.
Maintained by Microsoft; open-source (MIT) and fully self-hostable. Runs locally with local models, so sensitive text need not leave your environment.
alternatives