✏️ Input Text
🔒 Redacted Output
🔐
Redacted text will appear here
PII is replaced with structured tokens like [EMAIL_1], [SSN_1]…Prevent sensitive data from reaching LLMs — without breaking prompts.
Three-layer detection: Regex + Naive Bayes ML + Apache OpenNLP NER — runs fully on your infrastructure, zero cloud calls.
Redacted text will appear here
PII is replaced with structured tokens like [EMAIL_1], [SSN_1]…Each layer catches what the others miss. Matches are de-duplicated and merged into a single ranked result.
Drop SPGAdvisor into any Spring AI ChatClient to automatically
redact PII before every LLM call — three lines of code, zero config required.