---
title: "Open Source PII Redaction Software"
description: "Open source PII and PHI redaction you self-host. Apache-2.0 licensed and free to run on your desktop or in your cloud. Helps meet HIPAA and GDPR compliance."
url: "https://philterd.ai/open-source-software/"
---

Open source & self-hosted

# Open Source PII Redaction Software

Open source PII and PHI redaction you self-host. Apache-2.0 licensed and free to run on your desktop or in your cloud. Helps meet HIPAA and GDPR compliance.

## The Open Source PII Toolkit

A complete stack for finding, redacting, monitoring, and auditing sensitive data, from low-level libraries to turnkey services. Each project is released under the permissive, business-friendly Apache License and developed in the open on GitHub.

### Core redaction

The engine and API that find and redact PII in text.

Redaction API Java

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

Turnkey, self-hosted PII redaction with a clean API. Drops into any pipeline that needs sensitive data removed from text, and runs entirely inside your cloud.

[Star: 67](https://github.com/philterd/philter) [Deploy →](https://philterd.ai/philter/deploy/)

[Learn more →](https://philterd.ai/philter/) [GitHub →](https://github.com/philterd/philter) [Docs →](https://philterd.github.io/philter/)

Redaction Library Java

### [Phileas for Java](https://github.com/philterd/phileas)

The core redaction, pseudonymization, masking, and replacement library underneath Philter. The original Java implementation, with checksum-validated identifiers for national and financial IDs.

[Star: 113](https://github.com/philterd/phileas)

[Learn more →](https://philterd.ai/phileas/) [GitHub →](https://github.com/philterd/phileas) [Docs →](https://philterd.github.io/phileas/)

Redaction Library Python

### [Phileas for Python](https://github.com/philterd/phileas-python)

The Python implementation of the Phileas redaction library, for embedding PII detection and redaction directly in Python services and data pipelines.

[Star: 2](https://github.com/philterd/phileas-python)

[Learn more →](https://philterd.ai/phileas/) [GitHub →](https://github.com/philterd/phileas-python) [Docs →](https://philterd.github.io/phileas-python/)

Redaction Library .NET

### [Phileas for .NET](https://github.com/philterd/phileas-dotnet)

The .NET implementation of the Phileas redaction library, for embedding PII detection and redaction in .NET applications.

[Star: 4](https://github.com/philterd/phileas-dotnet)

[Learn more →](https://philterd.ai/phileas/) [GitHub →](https://github.com/philterd/phileas-dotnet) [Docs →](https://philterd.github.io/phileas-dotnet/)

Desktop app .NET

### [Philter Desktop](https://github.com/philterd/PhilterDesktop)

Offline Windows desktop app that redacts PII from PDF, Microsoft Word, Excel, text, and email files entirely on your own machine, using the same Phileas policy format as Philter.

[Star: 6](https://github.com/philterd/PhilterDesktop)

[Learn more →](https://philterd.ai/philter-desktop/) [GitHub →](https://github.com/philterd/PhilterDesktop)

### AI models & LLM guardrails

Trained models and drop-in proxies for AI workloads.

LLM proxy Java

### [Philter AI Proxy](https://github.com/philterd/philter-ai-proxy)

Drop-in proxy that redacts PII and PHI before prompts reach LLM providers like OpenAI, Anthropic Claude, Gemini, and Bedrock.

[Star: 7](https://github.com/philterd/philter-ai-proxy)

[Learn more →](https://philterd.ai/philter-ai-proxy/) [GitHub →](https://github.com/philterd/philter-ai-proxy) [Docs →](https://philterd.github.io/philter-ai-proxy/)

### Discovery & monitoring

Find where PII lives and watch where it flows.

Discovery Java

### [Phinder](https://github.com/philterd/phinder)

Discovery scanner that walks local files and directories to map where PII and PHI live, with a risk score for each file.

[Star: 2](https://github.com/philterd/phinder)

[Learn more →](https://philterd.ai/phinder/) [GitHub →](https://github.com/philterd/phinder) [Docs →](https://philterd.github.io/phinder/)

Monitoring Go

### [Phield](https://github.com/philterd/phield)

PII trend monitoring that tracks PII type counts across the organization and alerts when a count rises well above its baseline.

[Star: 4](https://github.com/philterd/phield)

[Learn more →](https://philterd.ai/phield/) [GitHub →](https://github.com/philterd/phield) [Docs →](https://philterd.github.io/phield/)

### Review, policy & operations

Human review, policy authoring, benchmarking, and privacy analytics.

Benchmarking Go

### [Philter Scope](https://github.com/philterd/philter-scope)

Standalone audit tool that scores redaction policies on precision and recall, so policy changes can be measured rather than guessed at.

[Star: 1](https://github.com/philterd/philter-scope)

[Learn more →](https://philterd.ai/philter-scope/) [GitHub →](https://github.com/philterd/philter-scope) [Docs →](https://philterd.github.io/philter-scope/)

Human review Java

### [Philter Workspace](https://github.com/philterd/philter-workspace)

Human-in-the-loop PII redaction. Search, review, and override automated detection decisions with structured exemption codes. Built for AI training-data prep and regulated everyday workflows.

[Star: 1](https://github.com/philterd/philter-workspace)

[Learn more →](https://philterd.ai/philter-workspace/) [GitHub →](https://github.com/philterd/philter-workspace) [Docs →](https://philterd.github.io/philter-workspace/)

Differential privacy Python

### [Philter Diffuse](https://github.com/philterd/philter-diffuse)

Applies differential privacy to PII counts, with a formal bound on what each release reveals about any one document.

[Star: 1](https://github.com/philterd/philter-diffuse)

[Learn more →](https://philterd.ai/philter-diffuse/) [GitHub →](https://github.com/philterd/philter-diffuse) [Docs →](https://philterd.github.io/philter-diffuse/)

Policy editor Java JavaScript

### [Redaction Policy Editor](https://github.com/philterd/philterd-redaction-policy-editor)

Web console that lets non-technical users build, test, and download redaction policies through a visual, no-code interface.

[Star: 1](https://github.com/philterd/philterd-redaction-policy-editor)

[Learn more →](https://philterd.ai/redaction-policy-editor/) [GitHub →](https://github.com/philterd/philterd-redaction-policy-editor) [Docs →](https://philterd.github.io/philterd-redaction-policy-editor/)

### Components

Building blocks the products above are made from, also usable on their own.

AI Models & Server Python

### [PhEye](https://github.com/philterd/ph-eye)

The trained AI and NLP models that find PII and PHI in text, plus the service that hosts them. Designed to plug directly into Phileas and Philter.

[Star: 2](https://github.com/philterd/ph-eye)

[Learn more →](https://philterd.ai/ph-eye/) [GitHub →](https://github.com/philterd/ph-eye) [Docs →](https://philterd.github.io/ph-eye/)

Query language Java Python .NET

### [PhiSQL](https://github.com/philterd/phisql)

Declarative query language for PII operations. Write readable redaction policies as code that compile to the standard Phileas JSON schema.

[Star: 2](https://github.com/philterd/phisql)

[Learn more →](https://philterd.ai/phisql/) [GitHub →](https://github.com/philterd/phisql) [Docs →](https://philterd.github.io/phisql/)

**Not sure which one to start with?** [Walk through the PII redaction journey →](https://philterd.ai/journey/) · [See how they all connect →](https://philterd.ai/architecture/)

**Looking for something earlier?** Experimental and early-stage projects live in [Philterd Labs →](https://philterd.ai/labs/)

## Which open source Philterd tool do I need?

Every tool in the Philterd toolkit is open source and free to run. Start from what you're trying to do, and each path maps to the tools that solve it.

### I want to redact PII

Pick the surface that matches where the text lives: an API, an embedded library, an LLM gateway, or files at rest.

- [Philter →](https://philterd.ai/philter/) Self-hosted redaction API. Drops into any HTTP-based pipeline.
- [Phileas →](https://philterd.ai/phileas/) The same engine as a library in Java, Python, and .NET. No service hop.
- [Philter AI Proxy →](https://philterd.ai/philter-ai-proxy/) Drop-in proxy for OpenAI, Anthropic, Gemini, Bedrock, and more. One URL change.
- [Philter Router →](https://philterd.ai/philter-router/) Routes files to the right policy and Philter engine. Watches folders or exposes an HTTP API.

### I want to find and watch PII

Map where PII already lives, then watch how it moves through the systems you care about.

- [Phinder →](https://philterd.ai/phinder/) Discovery scanner that walks files and directories to find PII at rest.
- [Phield →](https://philterd.ai/phield/) Trend monitoring that tracks PII type counts and alerts when one rises well above its baseline.

### I want to author, review, and measure policies

Build the policy, override what the system gets wrong, and measure how well it works over time.

- [Redaction Policy Editor →](https://philterd.ai/redaction-policy-editor/) Visual no-code builder for compliance teams.
- [PhiSQL →](https://philterd.ai/phisql/) Declarative DSL. Policy-as-code for engineering teams.
- [Philter Workspace →](https://philterd.ai/philter-workspace/) Human-in-the-loop review with structured exemption codes.
- [Philter Scope →](https://philterd.ai/philter-scope/) Benchmarks precision, recall, and F1 so you can tune with numbers.

## Read it, run it, own it

Philterd builds open source software for finding and redacting PII and PHI in text. Every tool is released under the permissive, business-friendly Apache License, Version 2.0, and developed in the open on GitHub. You can read the source, run it for free, and self-host it inside your own cloud or data center. See [PII redaction](https://philterd.ai/pii-redaction/) for how the tools fit together, and [PHI redaction](https://philterd.ai/phi-redaction/) for the HIPAA-specific workflow.

## Why open source, self-hosted redaction

Redaction decides your compliance boundary, and the boundary is what an auditor examines. If sensitive text has to leave your network to be redacted by a hosted service, the exposure has already happened. The open source, self-hosted approach removes that problem at the root:

- **Your data never leaves your perimeter.** [Philter](https://philterd.ai/philter/) runs inside your VPC or on-premises, so customer names, Social Security numbers, medical record numbers, and account IDs are redacted before anything crosses the wire. This is what keeps HIPAA, GDPR, and PCI scope defensible.
- **No vendor lock-in.** Apache-2.0 means no license keys, no per-seat fees, and no commercial review. Run it on AWS, Google Cloud, Azure, on-premises, or air-gapped.
- **Auditable by design.** The detection logic is purpose-built NLP and pattern matching that you can read, test, and version, not a black box. Policies are versioned artifacts, so “what did we redact, and how, on this date” is answerable with a diff.
- **Free to run.** The full toolkit is free under the open source tier. Commercial paths exist for teams that want one-click marketplace deploys or hands-on engineering, but the code is never gated.

## Apache-2.0 licensed

Every Philterd project is released under the Apache License, Version 2.0. You are free to use, modify, and distribute it under the terms of that license, with no per-seat fees and no usage caps. See the full [Philter license](https://philterd.ai/philter-license-agreement/) for details, and browse all of the source on the [Philterd GitHub organization](https://github.com/philterd).

## Compare and explore

Weighing your options? Start with the overview of the [best PII redaction software](https://philterd.ai/best-pii-redaction-software/).

See how Philter compares to other tools: [Microsoft Presidio](https://philterd.ai/compare/philter-vs-microsoft-presidio/), [AWS Comprehend](https://philterd.ai/compare/philter-vs-aws-comprehend/), [Google Cloud DLP](https://philterd.ai/compare/philter-vs-google-cloud-dlp/), [Private AI](https://philterd.ai/compare/philter-vs-private-ai/), and [Skyflow](https://philterd.ai/compare/philter-vs-skyflow/).

Or see it by industry: [healthcare](https://philterd.ai/use-cases/healthcare/), [finance](https://philterd.ai/use-cases/finance/), [legal](https://philterd.ai/use-cases/legal/), [government](https://philterd.ai/use-cases/government/), and [insurance](https://philterd.ai/use-cases/insurance/).

New to redaction? Start with [what PII is](https://philterd.ai/guides/what-is-pii-a-practical-guide-for-engineers-and-compliance-teams/), [running detection on your own hardware](https://philterd.ai/guides/self-hosted-pii-detection-on-your-own-hardware/), and [writing your first redaction policy](https://philterd.ai/guides/writing-your-first-redaction-policy/).

## Frequently asked questions

If something here isn’t covered, [get in touch](https://philterd.ai/open-source-software/#) and we’ll answer.

Is all of Philterd's software really free and open source?

Yes. The full toolkit is on GitHub under the Apache License, Version 2.0. There are no license keys, no usage caps, and no commercial review. Self-host it on whatever infrastructure you want. Philterd earns revenue from cloud-marketplace deployments and engaged consulting, not from gating the code.

Can I self-host PII redaction in my own cloud?

Yes, and that is the point. Philter and the rest of the toolkit run inside your own VPC, on-premises, or air-gapped environment, so sensitive text is redacted before it ever leaves your network. Nothing is sent to a vendor in order to be redacted.

What license is the software under?

The Apache License, Version 2.0, a permissive and business-friendly open source license.
