The Philterd Policy Editor provides a user-friendly web interface for building and managing redaction policies for Philter and Phileas.
Documentation is available at https://philterd.github.io/philterd-redaction-policy-editor/
- Schema-Driven: The entire form is generated from the official Phileas redaction policy JSON Schema. Generated policies are validated against the schema, so they always conform.
- Multiple Schema Versions: Select which policy schema version to author. The editor bundles one
folder per version under
src/main/resources/schemas/<version>/; adding a new version is just a matter of dropping in its schema file — no code changes required. - Dynamic Filter Selection: Choose from over 30 PII/PHI filter types.
- Multiple Strategies: Configure multiple redaction strategies per filter with optional conditions.
- Advanced Configuration: Fine-tune PDF redaction settings, document splitting, and post-filtering.
- Policy Management: Load presets for common use cases (Legal, Financial, Healthcare), upload existing JSON policies to edit, and download or copy generated policies.
- Policy Testing: Test your policies against sample text directly in the browser and view detailed
redaction explanations. Testing runs the bundled Phileas engine, so it is available for the schema
version that engine supports (see
phileas.supported-schema-version). - Docker Support: Easy deployment using Docker and Docker Compose.
The Philterd Policy Editor can be configured using environment variables:
| Environment Variable | Description | Default |
|---|---|---|
HIDE_PII_WARNING |
Set to 1 to hide the PII warning banner. |
0 |
CUSTOM_HEADER_FILE |
Path to a file containing custom HTML to be inserted into the <head> of the page. |
(empty) |
CUSTOM_FOOTER_FILE |
Path to a file containing custom HTML to be inserted into the footer of the page. | (empty) |
The schema version that the Test Policy feature can run is controlled by the
phileas.supported-schema-version application property (overridable with the
PHILEAS_SUPPORTEDSCHEMAVERSION environment variable). It must match the schema version supported by
the bundled Phileas runtime. Authoring and downloading policies works for every bundled schema
version regardless of this setting.
You can pull the Docker image directly from DockerHub:
docker run -p 8080:8080 philterd/philterd-redaction-policy-editor:latestAlternatively, you can use docker-compose:
docker-compose build
docker-compose upEither way, you can now access the editor at http://localhost:8080.
Distributed under the Apache License 2.0.
Copyright 2026 Philterd, LLC
