Text
PII Redactor
Detect and redact personally identifiable information from text, transcripts, and OCR output
Note: This playground provides simulated output to showcase functionality. No input data is processed or stored on our servers. Use this demo to explore the feature extractor's capabilities before integrating it into your application.
Input
Enter the text you want to process
Whether to redact PII values or just detect them. Default: true
Types of PII to detect. Default: email,phone,name,ssn,location
How to redact PII values. Default: label
Enable LLM-based fallback detection for ambiguous cases. Default: false
Maintain original string formatting using format-preserving techniques. Default: false
Generate a hashed log of detected PII values for audit purposes. Default: false
Include the unredacted version in the output for internal use. Default: false
Language code of the input (ISO format). Default: en
Output
{"pii": {"detected": [{"type": "email","start": 15,"end": 36,"confidence": 0.98},{"type": "phone","value": "555-123-4567","start": 44,"end": 56,"confidence": 0.95}],"redacted_text": "Please contact [REDACTED:EMAIL] or call [REDACTED:PHONE].","hash_log": {"555-123-4567": "e4d909c290d0fb1ca068ffaddf22cbd0"}},"metadata": {"input_length": 128,"language": "en","timestamp": "2025-05-24T23:45:00Z"}}