FREEDOM251

Freedom251 › AI Guardrail Software

PII Firewall

Free plan LinuxSelf-hosted

Visit PII Firewall Alternatives Pricing

PII Firewall's own site

What PII Firewall is

PII Firewall intercepts personally identifiable information before it reaches an LLM, then restores original values in the response. The self-hosted, open-source project offers profiles for healthcare, finance, legal, generic, and custom domains. Detection options include regex, Presidio, GLiNER, Transformers, OpenAI Privacy Filter, hybrid configurations, and custom backends. It supports six actions for detected information: keep, pseudonymize, redact, generalize, mask, or hash. The product says it handles more than 55 languages through 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 support deleting vault mappings for a thread or case; each call also produces a trace of entity types, confidence scores, and replacements. The project is free under the Apache 2.0 license, and the maker provides a Python package. The base regex-only installation does not need ML dependencies. The maker notes that hash is intended for analytics workflows and is not used in built-in presets.

Who it suits

PII Firewall is aimed at teams handling sensitive information in healthcare, finance, or legal workflows. It may suit developers who want to self-host PII handling in LLM integrations.

What it does well

  • Supports more than 55 languages.
  • Offers six actions for detected information.
  • Includes multiple detection backends and custom options.
  • Regex-only installation needs no ML dependencies.

What to know first

  • Self-hosted deployment is required.
  • Python is the listed SDK language.
  • Hash is not used in built-in presets.

Limits

The free open-source plan is a self-hosted Python package. The HASH action is for analytics workflows and is not used in built-in presets.

Plans

PlanBilled and limitsPrice
Open sourceApache 2.0 · Python package · regex-only install needs no ML dependenciesFree

As pii-firewall.com lists them, read 7 Oct 2026. The maker's own page has the final word.

Getting started

  1. Install the Python package provided by the maker.
  2. Choose the regex-only base install if you want an installation without ML dependencies.
  3. Select a built-in healthcare, finance, legal, or generic profile, or use a custom profile.
  4. Choose a detection backend and an action for detected PII.
  5. Use an integration example for a supported LLM, framework, streaming transport, or HTTP endpoint.

Verdict

PII Firewall provides configurable PII handling before and after LLM processing, with traces and deletion controls. Its self-hosted setup and Python package are important considerations for teams evaluating deployment.

Questions

How much does PII Firewall cost?

The Open source plan is free.

Is PII Firewall open source?

Yes. It is open source under the Apache 2.0 license.

Which languages and SDK does it support?

The product says it supports 55+ languages. Python is the listed SDK language.

Can I use PII Firewall with OpenAI or Anthropic?

Integration examples cover OpenAI and Anthropic, along with LangChain, FastAPI, Ollama, LiteLLM, streaming transport, and arbitrary HTTP LLM endpoints.

Does it have a free trial?

No. The pricing details say there is no free trial; the open-source plan is free.

What does the HASH action do, and where is it available?

HASH is intended for analytics workflows. It is not used in built-in presets.

Facts from PII Firewall's own pages

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

Where PII Firewall stands on Freedom251

Look at these too