Open beta: the free plan is fully available, payments run in test mode (no real charge)
Skip to content

Mask personal data before it leaves

Support tickets, transcripts, exports: remove what identifies a person before handing the text to a language model or a vendor. The text is never stored on our side.

  • AI-assisted customer support
  • nFADP and GDPR compliance
  • Archiving
  • Test datasets

Get a free key

POST

/v1/pii/redact

1 credit(s) per call

Detects and masks emails, phone numbers, IBANs, cards, AHV numbers, IP addresses and URLs. The text is never stored.

Try it online

Text to process (200,000 characters at most).

placeholder (default: [EMAIL_1]), mask (characters replaced) or remove.

mask mode: number of characters kept at the end of the value, 0 to 4.

Free tool limited to 20 tries per day. With a key, your quota applies.

Result

—

Example request

curl -X POST https://supercalcula.ch/api/v1/pii/redact \
  -H "Authorization: Bearer sk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Contact : jean@exemple.ch, +41 79 123 45 67, IBAN CH93 0076 2011 6238 5295 7","mode":"placeholder"}'

Response

{
    "ok": true,
    "data": {
        "text": "Contact : [EMAIL_1], [PHONE_1], IBAN [IBAN_1]",
        "entities": [
            {
                "type": "email",
                "placeholder": "EMAIL_1",
                "start": 10,
                "end": 25
            },
            {
                "type": "phone",
                "placeholder": "PHONE_1",
                "start": 27,
                "end": 43
            },
            {
                "type": "iban",
                "placeholder": "IBAN_1",
                "start": 50,
                "end": 76
            }
        ],
        "count": 3
    }
}

Limits and cost

  • Cost : 1 credit(s) per call
  • Text: 200,000 characters at most
  • IBANs checked (modulo 97), cards (Luhn) and AHV numbers (check digit): few false positives
  • Swiss, French, German, Austrian, Belgian and international phone numbers

Full reference in the documentation →