sanitize_text
Remove PII, secrets, and credentials from text. Replace them with safe placeholders to protect data before sending to an LLM.
Instructions
Locally scrubs PII, secrets, and credentials (like API keys, passwords, emails, phones, names) from code, logs, or text. Replaces them with safe placeholders (e.g., [EMAIL_1], [API_KEY_1]). Keep your data secure before passing it to any LLM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The raw text, code, or logs to sanitize. | |
| profile | No | The detection profile to use. Available: 'General' (Free), or PRO profiles: 'Dev' (Engineering/Code), 'Medical', 'Pharma', 'Legal', 'Compliance', 'CCPA', 'Finance', 'Bizops', 'Sales', 'WealthMgmt', 'Insurance', 'Accounting', 'HR', 'Security', 'Marketing', 'Support', 'RealEstate', 'Agents', 'Academic', 'Creative', 'Tech', 'Personal'. Defaults to 'General'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The sanitized text output. |