Skip to content

Presidio

Open-source Python framework to find and anonymize personal data in text, images and structured data.

Stars
11.6k
Forks
1.4k
Licence
MIT
Language
Python
Last update
5 days ago
Type
Library

What it is

Presidio is a Python framework for detecting sensitive personal information (PII) and then redacting, masking, or anonymizing it. According to its description, it works across text, images, and structured data, and combines NLP, pattern matching, and customizable pipelines. People use it to remove personal details from data before storing, sharing, or processing it.

  • Detect names, phone numbers, or other PII in free text before logging it
  • Redact or mask sensitive fields in structured records
  • Build a custom pipeline that combines NLP models with pattern rules

Great for

  • Developers adding PII detection to Python data pipelines
  • Teams that need to de-identify text before sending it to other services
  • Data engineers preparing datasets that must not expose personal details
  • Privacy-focused teams wanting a self-hosted, inspectable tool under the MIT license

Not ideal for

  • People who need a no-code, point-and-click tool, since the project is a Python framework and the README provided here does not describe a graphical app
  • Anyone expecting guaranteed detection; the README excerpt provided does not document accuracy figures, so results should be tested on your own data
Step-by-step guide: how to use PresidioInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    You'll need: Python

    Clone the repository

    git clone https://github.com/data-privacy-stack/presidio
  2. 2

    Run it

    • Clone the repository and read the README for setup instructions
    • Install the Python dependencies as described in the project docs
    • Run a small test on sample text to see what gets detected
    • Adjust the pipeline to fit your data and re-test
  3. 3

    Get the most out of it

    • Test detection on representative samples of your own data before relying on it
    • Customize pipelines to combine NLP and pattern-based recognizers
    • Check the project homepage for documentation: https://presidio.dataprivacystack.org

Downloads

Strengths

  • MIT license permits broad use
  • Covers several kinds of data (text, images, structured) according to its description
  • Customizable pipelines let you adapt detection to your own needs

Trade-offs

  • The README excerpt provided was truncated, so specific features and setup details could not be verified here
  • Detection of sensitive data is never perfect; you must validate results for your use case

How it compares

ProjectStarsTypeLevelUpdatedBest for
presidio (this)11.6kLibraryintermediate5 days agoDevelopers adding PII detection to Python data pipelines
LEANN13.8kLibraryintermediate4 days agoDevelopers building a private RAG prototype on a personal machine
quivr39.6kFrameworkadvanced4 days agoDevelopers building a search or monitoring pipeline over a stream of documents
web-check35.3kAppintermediate4 days agoDevelopers checking how a site is configured
hosts31.4kOtherbeginner4 days agoPeople who want to block ads and known malware domains across a whole device or home network
vit-pytorch25.6kLibraryintermediate5 days agoDevelopers who want to build an image classifier in PyTorch

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.