talira

Presidio

Data protection and de-identification SDK

open sourceMITself-hostablefree

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.

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 APIplan not known
Has official SDKsplan not known