piilite playground

Type or paste text and watch piilite 0.3.0 redact it. Everything runs in this browser tab; nothing is uploaded. Use fake data.

Step 1: what the AI model sees

TypeValueSeverityConfidence

Step 2: restore the model's answer

Write an answer the way a model would, using the placeholders above (try [NAME 1] or a bare NAME_1 too). piilite puts the real values back.

Use the same code in your app

js
import { Piilite } from "piilite";
const { redacted, detections } = new Piilite({ mode: "placeholder" }).detect(text);

Last updated · piilite 0.3.0