Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Philter SDK for Java

The Philter SDK for Java enables Java developers to easily work with Philter. Philter identifies and manipulates sensitive information like Protected Health Information (PHI) and personally identifiable information (PII) from natural language text.

Refer to Philter API documentation for details on the methods available.

Build Status Maven Central javadoc

Example Usage

With an available running instance of Philter, to filter text:

PhilterClient client = new PhilterClient.PhilterClientBuilder().withEndpoint("").build();
FilterResponse filterResponse = client.filter(text);

To filter text with explanation:

PhilterClient client = new PhilterClient.PhilterClientBuilder().withEndpoint("").build();
ExplainResponse explainResponse = client.explain(text);


Release dependencies are available in Maven Central.


Snapshot dependencies are available in the Maven Central Snapshot Repository by adding the repository to your pom.xml:


Release History

  • 1.3.0:
    • Added support for SSL authentication.
    • Added support for filtering PDF documents.
    • Removed token-based API authentication.
    • Removed models client.
  • 1.2.0:
    • Added option for API authentication support.
    • Added salt to Span for when the HASH_SHA256_REPLACE filter strategy is applied by Philter.
    • Changed artifact name to philter-sdk-java
    • Added alerts retrieval/deletion to client.
    • Added models client.
  • 1.1.0:
    • Various changes/fixes.
    • Split SDKs into separate projects.
  • 1.0.0:
    • Initial release.


This project is licensed under the Apache License, version 2.0.

Copyright 2020 Mountain Fog, Inc. Philter is a registered trademark of Mountain Fog, Inc.