What you can build with Sanitext
Drop-in PII redaction for logs, LLM prompts, transcripts, tickets and more.
Use case
Remove PII before sending text to an LLM
To remove PII before sending text to an LLM, run the text through a detection API first, mask spans like names, emails, and phone numbers, then send the clean text to ChatGPT, Claude, or Gemini. Sanitext does this in one call and runs its own model, so scrubbing never touches a third-party AI.
Use case
Sanitize prompts before they hit your LLM
LLM prompt sanitization strips PII from user prompts and tool inputs before they reach a model. Sanitext sits in front of your gateway, calls POST /v1/detect or /v1/redact to mask names, emails, phones, and secrets, then optionally restores values after inference. It runs on our own infra with zero per-token AI cost.
Use case
Redact PII from application logs
Sanitext redacts PII from logs by sending each log line to its /v1/redact API, which masks names, emails, phone numbers, addresses, and secrets as [LABEL] tags before the line reaches Datadog, Splunk, or Sentry. Add it as logging middleware to shrink breach blast radius and compliance scope.
Use case
Redact PII From Support Tickets
Sanitext detects and masks customer PII in support tickets with one API call. POST ticket text to /v1/redact and get back clean text with names, emails, phones, and addresses replaced by labels like [EMAIL]. It runs on our own model, so per-ticket cost stays flat and raw text never goes to a third-party LLM.
Use case
Redact PII from call and chat transcripts
Sanitext redacts PII from call and chat transcripts with one API call. Send the raw transcript from Deepgram, AssemblyAI, Whisper or your chat logs to POST /v1/redact. It returns the text with names, phones, emails, addresses and card numbers masked as [LABEL] before you store or QA it.
Use case
PHI de-identification API for HIPAA Safe Harbor
Sanitext is a PHI de-identification API that flags HIPAA Safe Harbor identifiers in free text. POST text to /v1/detect or /v1/redact and it returns spans or masked output for names, dates, phones, emails, URLs, addresses, and account numbers in 30+ languages. It is a redaction aid, not Safe Harbor certification.
Use case
GDPR data redaction and data minimization
Sanitext is an EU-based API that detects and masks personal data in text to support GDPR data minimization. It flags names, emails, phones, addresses, dates, and IDs, then replaces them with labels like [EMAIL]. Data stays in the EU and is not sent to a third-party LLM. It is an aid, not a compliance guarantee.
Use case
PII detection and redaction for chatbots
Sanitext detects and redacts PII in chatbot text before it reaches your model or your logs. Send the user message to POST /v1/redact, get back text with names, emails, phones, addresses, and cards masked as [LABEL], then pass the clean text downstream. It works in 30+ languages on our own infrastructure.
Use case
Redact PII from documents and text files
To redact PII from documents, first extract plain text from the PDF or DOCX, then send that text to Sanitext's POST /v1/redact endpoint. It returns the text with names, emails, phones, addresses, and IDs masked as [LABEL]. Large jobs use the async bulk endpoint on Scale and Enterprise plans.