---
title: "Philter and Phileas vs Microsoft Presidio"
description: "Philter and Phileas vs Microsoft Presidio: open source PII redaction as a library or a self-hosted service, compared on runtimes, policies, and support."
url: "https://philterd.ai/compare/philter-vs-microsoft-presidio/"
---

[← All comparisons](https://philterd.ai/compare/)

Comparison

# Philter and Phileas vs Microsoft Presidio

Presidio is a Python toolkit you assemble and run yourself. Philterd’s open source engine comes two ways. [Phileas](https://philterd.ai/phileas/) is a library for Java, Python, and .NET, and [Philter](https://philterd.ai/philter/) is a redaction service you deploy in your own cloud. This page compares both with Presidio, from the team that builds them.

[Explore Phileas](https://philterd.ai/phileas/) [Deploy Philter](https://philterd.ai/philter/deploy/)

## Philter, Phileas, or Presidio?

Two of these are Philterd and one is the alternative. They are not really rivals so much as three different shapes. The quick way to choose:

### [Philter](https://philterd.ai/philter/)

A turnkey, self-hosted redaction API other systems call over HTTP, shipping with NLP models, cloud-marketplace deploys, and a commercial-support path.

**Choose when:** you want a running service to point pipelines at, not a library to build into one.

### [Phileas](https://philterd.ai/phileas/)

The open source library underneath Philter. Embed it in a Java, Python, or .NET application and redact in-process, governed by a versioned policy and [PhiSQL](https://philterd.ai/phisql/).

**Choose when:** you want redaction inside your own process with no extra service to run. This is the closest like-for-like with Presidio.

### Microsoft Presidio

Microsoft's open source, Python-first PII toolkit. You assemble the analyzer and anonymizer yourself, with spaCy or transformer recognizers.

**Choose when:** your stack is Python-only and you are happy to operate it yourself, or you need its image, DICOM, or structured-data coverage.

## Side by side

|  | Phileas | Philter | Microsoft Presidio |
| --- | --- | --- | --- |
| What it is | A library you embed in your application | A self-hosted redaction API, built on Phileas | A Python library, with Docker images for a REST service you run yourself |
| License | Apache 2.0 | Apache 2.0 | MIT |
| Languages | Native Java, Python, and .NET on one policy schema | Any language, over HTTP | Python, or any language through its REST service |
| Policy model | [PhiSQL](https://philterd.ai/phisql/), a declarative language that compiles to a versioned JSON policy you can review | The same policies, managed through Philter’s API | Recognizers and operators configured in code or YAML, with no compiled policy artifact |
| Detection | Patterns, dictionaries, and [PhEye](https://philterd.ai/ph-eye/) models trained to find names | The same, with a name model loaded by default | Patterns plus general-purpose spaCy, Stanza, or transformer NER |
| Conditional redaction | Built in. Redact based on zip code population, age thresholds, confidence, or patterns | Same as Phileas | Left to your own code |
| Redaction strategies | Mask, redact, hash, AES-GCM encryption, FF3 format-preserving encryption, date shift, consistent pseudonymization, synthetic replacement | Same as Phileas, plus audited re-identification of encrypted values | Replace, redact, mask, hash, AES encryption, and custom operators. No format-preserving encryption or date shift |
| PDF | Built in, rasterized so no text is recoverable under a redaction | Same as Phileas | Through the image redactor |
| Image, OCR, DICOM | Not a focus | Not a focus | Yes, `presidio-image-redactor` |
| Structured data | Free text focus | Free text focus | Yes, `presidio-structured` |
| Deployment | Inside your own process | AWS, Azure, and Google Cloud marketplaces, a container, on premises, or air-gapped | You build and operate the service |
| Cost | Free | Free to self-host, or from $0.49 an hour on a cloud marketplace | Free |
| Support | Community, with commercial support from Philterd | Community, with commercial support and consulting from Philterd | Community only |
| Surrounding toolkit | [Philter Scope](https://philterd.ai/philter-scope/) (precision and recall), [Philter Workspace](https://philterd.ai/philter-workspace/) (review), [Phinder](https://philterd.ai/phinder/) (discovery), [Phield](https://philterd.ai/phield/) (monitoring), [Philter AI Proxy](https://philterd.ai/philter-ai-proxy/) and [Philter MCP](https://philterd.ai/philter-mcp/) (LLM traffic) | Standalone |

## Service vs library

 ![Two diagrams. On the left, a web app, a data pipeline, and a batch job call Philter over HTTPS inside your cloud or data center, and Philter runs the Phileas engine with its policies, API keys, and audit log. On the right, your Java, Python, or .NET code calls the Phileas library directly inside one application process, with no network hop.](https://philterd.ai/images/compare/philter-service-phileas-library.svg)

Philter is a service that other systems call over HTTPS. Phileas is the same engine as a library, running inside your own application.

## Where Phileas and Philter differ from Presidio

Presidio and Phileas are both good detectors, and Presidio is ahead on images and structured data. The difference shows up in the policy model and in what happens to a value once it is found. That is where teams moving a Presidio prototype into a governed production pipeline tend to hit walls.

### A policy you can review

Policies are versioned JSON, written directly or in [PhiSQL](https://philterd.ai/phisql/), and kept in version control. Presidio is configured in code or YAML.

### Conditional redaction

Redact only zip codes below a population threshold, or only ages over a cutoff. In Presidio, that logic is yours to write.

### Consistent and reversible replacement

The same person gets the same stand-in throughout a document. Values can be encrypted, including format-preserving, or date-shifted.

### Java, Python, and .NET

Phileas runs natively on all three with one policy schema. Presidio is Python, or a service you call.

### Models trained for PII

Name detection runs on [PhEye](https://philterd.ai/ph-eye/) models trained for PII. Presidio uses general-purpose NER models.

### A toolkit around it

[Philter Scope](https://philterd.ai/philter-scope/) scores a policy’s precision and recall, and [Philter Workspace](https://philterd.ai/philter-workspace/) adds human review. Presidio stands alone.

## When you want a service instead of a library

Many teams start with Presidio in a notebook, then wrap it in their own API so other systems can call it. At that point they are building and running a redaction service, with its scaling, monitoring, and upgrades.

Philter is that service, already built. It is Phileas behind a REST API with API keys, audit logging, and policy management. You can launch it from the AWS, Azure, or Google Cloud marketplace and pay for it on your cloud bill, which is often faster than a new vendor contract. It also runs as a container on premises or air-gapped. The code stays Apache 2.0, and commercial support and consulting are available from the people who wrote it.

## Moving from Presidio

The [migrate from Presidio guide](https://philterd.ai/migrate/from-presidio/) maps Presidio recognizers to Phileas filters and anonymizer operators to Phileas strategies and PhiSQL, with Presidio code next to its Phileas equivalent.

## Where Presidio is strong

Presidio’s strengths are real, and in a few areas it is ahead of Phileas and Philter today.

- **A large community and a familiar name.** It is Microsoft-backed and MIT-licensed. You run `pip install presidio-analyzer` and have a wide set of recognizers out of the box.
- **Image, OCR, and DICOM de-identification.** The `presidio-image-redactor` package redacts PII burned into images and supports DICOM medical imaging. Phileas and Philter work on text and PDF.
- **Structured and semi-structured data.** `presidio-structured` targets tabular and JSON data. Phileas and Philter are built around free text.
- **Easy Python extensibility.** A custom recognizer is a small Python class, and there is a clear path to plug in transformer or LLM recognizers alongside spaCy or Stanza.

If your problem is image or DICOM de-identification, tabular data, or a Python prototype you want running this afternoon, Presidio is a good choice. All three tools share the property that matters most. They are [open source](https://philterd.ai/open-source-software/), you can read the code that touches your data, and none of them sends that data to a vendor.

We want this comparison to be accurate and fair. Open source projects move fast, so this reflects publicly documented behavior at the time of writing and may have changed since. Check the current [Presidio documentation](https://microsoft.github.io/presidio/) before deciding, and if you spot anything inaccurate, please [let us know](https://philterd.ai/compare/philter-vs-microsoft-presidio/#) and we will correct it.

## Further reading

- [Migrate from Microsoft Presidio](https://philterd.ai/migrate/from-presidio/): Concept mapping, recognizer translation, and Presidio code next to its Phileas equivalent.
- [PhiSQL](https://philterd.ai/phisql/): The declarative policy language that replaces hand-wiring recognizers and operators.
- [From Phileas to Philter: the evolution of our open source engine](https://philterd.ai/blog/from-phileas-to-philter-the-evolution-of-our-open-source-engine/): Where the engine came from, and what Philter adds on top of the library.
- [Open source vs. black box: trust me, privacy](https://philterd.ai/blog/open-source-vs-black-box-trust-me-privacy/): The case for auditable redaction code. It applies to Presidio as much as to Philterd’s tools.

## Try it on the text you test Presidio with

Add Phileas to your Java, Python, or .NET code, or deploy Philter from your cloud marketplace when you want a service instead of a library.

[Explore Phileas](https://philterd.ai/phileas/) [Deploy Philter](https://philterd.ai/philter/deploy/)
