Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

PII Firewall

pii-firewall.com

  • Free plan
  • Linux
  • Self-hosted
6.7 Club score Visit pii-firewall.com

What PII Firewall is

PII Firewall is a self-hosted tool that intercepts personally identifiable information before it reaches an LLM, then restores original values in the response. It is open source under the Apache 2.0 license and is available as a Python package. Built-in profiles cover healthcare, finance, legal, and general use, with custom profiles also supported. Detection options include regex, Presidio, GLiNER, Transformers, OpenAI Privacy Filter, hybrid configurations, and custom backends. For detected information, users can choose to keep it, pseudonymize it, redact it, generalize it, mask it, or hash it. The product says it supports 55+ languages with automatic language detection and locale-specific patterns. Integration examples include OpenAI, Anthropic, LangChain, FastAPI, streaming transport, Ollama, LiteLLM, and arbitrary HTTP LLM endpoints. Tenant-scoped token mappings and a forget operation can remove vault mappings for a thread or case. Each call generates a trace with entity types, confidence scores, and replacements. The regex-only base installation does not require ML dependencies. The maker says HASH is intended for analytics and is not included in built-in presets.

Who it suits

PII Firewall may suit teams handling sensitive text in healthcare, finance, or legal workflows who need to intercept personal information before LLM processing. It is for users able to deploy and manage a self-hosted Python tool.

Good to know, and what to watch

  • Free and open source under Apache 2.0.
  • Offers six actions for detected information.
  • Supports 55+ languages, according to the maker.
  • Regex-only installation needs no ML dependencies.
  • Call traces include entity types and confidence scores.
  • Self-hosted deployment is required.
  • HASH is not used in built-in presets.

Open source

Free

Open source

The verdict

PII Firewall offers configurable detection and handling before data reaches an LLM, with a self-hosted deployment model. Its regex-only installation avoids ML dependencies, while more advanced use can draw on other listed backends.

What the maker publishes

Audit
Each call produces a trace with detected entity types, confidence scores, and applied replacements. source
Data controls
The maker describes tenant-scoped token mappings and a forget operation that deletes vault mappings for a thread or case. source
Detection
Detection backends include regex, Presidio, GLiNER, Transformers, OpenAI Privacy Filter, hybrid, and custom options. source
Domain profiles
Built-in profiles include healthcare, finance, legal, generic, and custom. source
Install
The maker provides a Python package install; the base regex-only install has no ML dependencies. source
Integrations
Examples cover OpenAI, Anthropic, LangChain, FastAPI, streaming transport, Ollama, LiteLLM, and arbitrary HTTP LLM endpoints. source
Intended users
The maker highlights healthcare, finance, and legal use cases, including clinical NLP, fintech support automation, and legal document review. source
Languages
The product says it supports 55+ languages with automatic language detection and locale-specific patterns. source
License
The project is open source under the Apache 2.0 license. source
Notable limit
The maker says the HASH action is for analytics workflows and is not used in built-in presets. source
PII handling
Six disposition actions are supported: keep, pseudonymize, redact, generalize, mask, and hash. source
Purpose
Intercepts and anonymizes PII before it reaches an LLM, then restores original values in the response. source

Checked against the maker's pages on 7 Oct 2026.