---
title: "PII Redaction API & SDKs for Developers"
description: "Self-hosted PII and PHI redaction for developers: a REST API, a Java SDK with any language via the OpenAPI spec, Docker images, and marketplace deploys."
url: "https://philterd.ai/developers/"
---

For developers

# Choose the right PII redaction tool for your stack

Every project in the open source toolkit, what each one is for, and where its packages, architecture, and integrations live. When you are ready to write code, the quickstarts and runnable samples are on the developer site.

[Go to the developer site →](https://philterd.ai/dev/)

[Developer site →](https://philterd.ai/dev/) [GitHub org →](https://github.com/philterd) [Packages →](https://philterd.ai/packages/) [Blog →](https://philterd.ai/blog/) [Compare →](https://philterd.ai/compare/) [Community →](https://philterd.ai/community/)

## Embed in your own code

Client libraries that talk to Philter, plus the Phileas redaction library you can embed directly. [See all packages →](https://philterd.ai/packages/)

### Philter SDKs

Talk to a running Philter instance from your application.

- [Java SDK →](https://github.com/philterd/philter-sdk-java)
- [OpenAPI spec (any language) →](https://github.com/philterd/philter/blob/main/docs/docs/api_and_sdks/openapi.json)

### Phileas (embedded library)

The redaction engine itself, embedded directly in your process.

- [Java →](https://github.com/philterd/phileas)
- [Python →](https://github.com/philterd/phileas-python)
- [.NET →](https://github.com/philterd/phileas-dotnet)

## Read the code

All projects available under [github.com/philterd](https://github.com/philterd).

Redaction API Java

### [Philter](https://philterd.ai/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)

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

Redaction Library Java Python .NET

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

The core redaction, pseudonymization, masking, and replacement library underneath Philter. Available in Java, Python, and .NET, with checksum-validated identifiers for national and financial IDs.

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

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

Desktop app .NET

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

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: 2](https://github.com/philterd/PhilterDesktop)

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

Search plugin Experimental Java

### [Search Redact for OpenSearch](https://philterd.ai/search-redact/)

OpenSearch plugin that redacts PII and PHI from search results at query time, built on Phileas. Runs inside your cluster so sensitive fields are redacted before results reach the user.

[Star: 2](https://github.com/philterd/search-redact-opensearch-plugin)

[GitHub →](https://github.com/philterd/search-redact-opensearch-plugin) [Docs →](https://philterd.github.io/search-redact-opensearch-plugin/) [Product page →](https://philterd.ai/search-redact/)

Search plugin Experimental Java

### [Search Redact for Elasticsearch](https://philterd.ai/search-redact/)

Elasticsearch plugin that redacts PII and PHI from search results at query time, built on Phileas. The Elasticsearch build of the same query-time redaction, for clusters running Elasticsearch.

[Star: 1](https://github.com/philterd/search-redact-elasticsearch-plugin)

[GitHub →](https://github.com/philterd/search-redact-elasticsearch-plugin) [Docs →](https://philterd.github.io/search-redact-elasticsearch-plugin/) [Product page →](https://philterd.ai/search-redact/)

AI Models & Server Python

### [PhEye](https://philterd.ai/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)

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

Discovery Java

### [Phinder](https://philterd.ai/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)

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

Monitoring Go

### [Phield](https://philterd.ai/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)

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

LLM proxy Java

### [Philter AI Proxy](https://philterd.ai/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)

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

MCP server Experimental Python

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

MCP server that exposes Philter's PII and PHI redaction as tools for Claude Desktop, Claude Code, Cursor, and other MCP-aware clients. Redact inside the agent's tool loop, with no integration code.

[Star: 2](https://github.com/philterd/philter-mcp)

[GitHub →](https://github.com/philterd/philter-mcp) [Docs →](https://philterd.github.io/philter-mcp/) [Product page →](https://philterd.ai/philter-mcp/)

Benchmarking Go

### [Philter Scope](https://philterd.ai/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)

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

Human review Java

### [Philter Workspace](https://philterd.ai/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)

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

Differential privacy Python

### [Philter Diffuse](https://philterd.ai/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)

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

Policy editor Java JavaScript

### [Redaction Policy Editor](https://philterd.ai/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)

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

Query language Java Python .NET

### [PhiSQL](https://philterd.ai/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)

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

Policy routing Experimental Java

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

The routing front door for Philter. Selects the redaction policy and engine for each file from its content type, filename, directory, and an optional local-LLM classification, with a mandatory default so no file is routed around redaction.

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

[GitHub →](https://github.com/philterd/philter-router) [Docs →](https://philterd.github.io/philter-router/) [Product page →](https://philterd.ai/philter-router/)

## Deploy

From zero to a running redaction service in minutes.

### Philter on a cloud marketplace

One-click into your own VPC. [From $0.49/hour](https://philterd.ai/pricing/) on AWS Marketplace; same shape on GCP and Azure.

- [AWS Marketplace →](https://aws.amazon.com/marketplace/pp/B07YVB8FFT?ref=_ptnr_mf_launch)
- [Google Cloud Marketplace →](https://console.cloud.google.com/marketplace/product/philterd-public/philter)
- [Microsoft Azure Marketplace →](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/philterdllc1687189098111.philter?tab=Overview)

[Full deploy guide →](https://philterd.ai/philter/deploy/)

### Philter Workspace via Docker

Human-in-the-loop review surface. Pulls down and runs locally in seconds.

```
$ docker pull philterd/philter-workspace:latest
$ docker run -p 8080:8080 philterd/philter-workspace:latest
# open http://localhost:8080
```

[Philter Workspace docs →](https://philterd.ai/philter-workspace/)

### From source

All projects are Apache 2.0. Clone, build, run.

```
$ git clone https://github.com/philterd/philter
$ cd philter && ./mvnw spring-boot:run
```

[All philterd repos →](https://github.com/philterd)

## Tools by job

Pick the right project for the problem you're trying to solve.

Redact text in a pipeline

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

Embed redaction in your own code

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

Find PII across files and storage

[Phinder →](https://philterd.ai/phinder/)

Monitor PII flow and get paged on anomalies

[Phield →](https://philterd.ai/phield/)

Redact prompts before they hit OpenAI / Anthropic

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

Redact PII before sending to an LLM (chat, RAG, agents)

[Redact PII in RAG and agent pipelines →](https://philterd.ai/blog/redact-pii-before-sending-to-an-llm/)

Human review of automated detections

[Philter Workspace →](https://philterd.ai/philter-workspace/)

Score a redaction policy on precision and recall

[Philter Scope →](https://philterd.ai/philter-scope/)

Run safe aggregate analytics over PII counts

[Philter Diffuse →](https://philterd.ai/philter-diffuse/)

Get the AI / NLP models that detect entities

[PhEye →](https://philterd.ai/ph-eye/)

Author and edit policies visually

[Redaction Policy Editor →](https://philterd.ai/redaction-policy-editor/)

## Contribute

The roadmap, the issues, the conversations: all in the open.

### Good first issues across philterd

- [Add POST /api/filter round-trip tests for xlsx and pdf](https://github.com/philterd/phileas-dotnet/issues/65) phileas-dotnet #65

[Full community page →](https://philterd.ai/community/)
