Sanitext

Portuguese PII Detection and Redaction

Sanitext detects and redacts PII in Portuguese text from Portugal and Brazil, including names, .pt emails, +351 phone numbers, addresses, and dates. It reads Portuguese in context, so it catches entities English-only tools like AWS Comprehend miss. One model covers 30+ languages with no language flag.

Most PII tools are tuned for English. Feed them Portuguese and they drop names, misread date formats, and ignore +351 numbers. Sanitext runs one multilingual model that reads Portuguese the way a Portuguese reader does, so it spots personal data in real Portuguese sentences, not just keyword patterns.

Portuguese PII Sanitext catches in context

LabelPortuguese exampleRedacted as
FIRSTNAMEJoão[FIRSTNAME]
LASTNAMESilva[LASTNAME]
EMAILjoao@exemplo.pt[EMAIL]
PHONE+351 912 345 678[PHONE]
ADDRESSRua do Carmo, 1200-094 Lisboa[ADDRESS]
DATE12 de março de 1990[DATE]
ACCOUNTNIF and CPF numbers[ACCOUNT]

bash

curl https://api.sanitext.app/v1/redact \
  -H "Authorization: Bearer $SANITEXT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "O cliente João Silva (joao@exemplo.pt) ligou do +351 912 345 678 sobre a fatura."
  }'

# Response
# {
#   "text": "O cliente [FIRSTNAME] [LASTNAME] ([EMAIL]) ligou do [PHONE] sobre a fatura."
# }

FAQ

Does Sanitext work with both European and Brazilian Portuguese?+

Yes. The model reads both variants, including +351 (Portugal) and +55 (Brazil) phone formats and date styles like 12 de março de 1990. You do not set a language flag; detection runs the same across all 30+ supported languages.

Can it detect a Portuguese NIF or Brazilian CPF?+

It detects them as numeric identifiers under the ACCOUNT label, not as a dedicated NIF or CPF label. If you need those exact entity names, post-process the spans by matching the recognized number format yourself.

Do I need a separate API call or setting for Portuguese?+

No. Send Portuguese text to the same /v1/detect or /v1/redact endpoint as any other language. One multilingual model handles language detection internally, so there is no per-language config or extra cost.

Does using Sanitext make my Portuguese data GDPR compliant?+

No. Sanitext is a redaction and data-minimization aid that reduces the PII you expose. Compliance also depends on your lawful basis, retention, and full data flow. Enterprise adds EU data residency and a DPA to support your program.

Redact Portuguese PII in 60 seconds

Sign up free, get an API key, and run your first Portuguese curl with no card. Free includes a one-time 300K characters that never resets. See /pricing for plans.

Get your free API key