Skip to content

IBAN bank account numbers: anonymize them before ChatGPT or sharing

The IBAN bank account numbers (International) are international bank account numbers, used across Europe and many other countries. They turn up in documents people want to share or give to an AI assistant, and they should never go out as they are.

A country code, 2 check digits and the national account number: ES91 2100 0418 4502 0005 1332. The check digits are computed modulo 97.

The person’s bank and account; with a name, it enables fraud.

Invoices, contracts, payslips, direct debit mandates (SEPA), claims and refunds.

Piixie has a dedicated rule for it, in every model including Lite: it matches the format and checks the control digits, so random numbers of the same length aren’t flagged and real ones aren’t missed. The local LLM also reads the context around it.

With Synthesize, a fake of the same kind; Spanish IBANs get correct check digits, others keep the country and length. With Redact, a black box or [REDACTED]; with Replace, a placeholder such as [IBAN_1].

All of it happens on your computer: the document is never uploaded to find the numbers. See why a local LLM.