Portugal IBAN and NIB Validator

Paste Portuguese IBANs or NIBs to verify both the IBAN and the NIB check digits and see the bank code and bank name, one or many lines at once.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Paste IBANs or NIBs

    One per line.

  2. 2
    Check

    IBAN and NIB digits.

  3. 3
    See the bank

    Code and name.

  4. 4
    Copy the IBAN

    Grouped in fours.

  5. 5
    Fix errors

    Compare with the source.

About this tool

Portuguese bank accounts are identified by the NIB (Número de Identificação Bancária), 21 digits made of a four-digit bank code, a four-digit branch code, an eleven-digit account number and two check digits. The NIB check digits are calculated with ISO 7064 mod 97-10, the same method used for IBAN check digits, which is why every Portuguese IBAN starts with PT50. The IBAN has 25 characters: PT50 followed by the NIB. Since SEPA, the IBAN is used for all transfers, but the NIB still appears in older documents and some forms. This validator checks both the IBAN and the NIB check digits and shows the bank code and, for the main banks, the bank name.

Who this is for

People paying rent, utilities or invoices in Portugal, employers entering salary accounts, accountants and anyone setting up a Portuguese direct debit.

Structure

- **Bank code:** 4 digits, for example 0035 for Caixa Geral de Depósitos or 0033 for Millennium bcp. - **Branch code:** 4 digits. - **Account:** 11 digits. - **NIB check digits:** 2 digits. The IBAN adds PT and the IBAN check digits, which are always 50 for a valid NIB.

Why every IBAN starts with PT50

Because the NIB check digits already make the whole number satisfy mod 97, the IBAN check digits computed over the NIB and PT00 always come out as 50. A Portuguese IBAN starting with PT and anything else is wrong.

Two levels of protection

The IBAN check catches errors in the whole IBAN. The NIB check confirms that the bank, branch and account part is internally consistent. This tool checks both.

Paying in Portugal

- **Transfers:** SEPA transfers use the IBAN. Instant transfers are common. - **Multibanco references:** many bills can be paid at ATMs or online with an entity and reference number instead of the IBAN. - **MB WAY:** mobile payments use phone numbers linked to accounts. - **Direct debits:** SEPA direct debits require the debtor's IBAN on the mandate.

Bank names

The tool shows the name for the largest banks: Caixa Geral de Depósitos (0035), Novo Banco (0007), Millennium bcp (0033), Banco BPI (0010) and Banco Santander Totta (0018). For other codes, check the Banco de Portugal list of institutions.

Common mistakes

- Typing the NIB without the two final check digits. - Copying the IBAN with a letter O instead of zero. - Using an old account after a bank merger.

Batch use

Paste many lines to check a list from your accounting system.

Worked example

PT50 0002 0123 1234 5678 9015 4 is a valid example IBAN: the NIB 0002 0123 12345678901 54 passes its check. Changing the last digit breaks both checks.

Background

Portugal used the NIB for decades before SEPA, and many people still know their account by it. The NIB was designed with strong check digits, which is why the IBAN simply puts PT50 in front.

Limits

A valid IBAN does not confirm the account holder. Confirm details for large payments. This is a format check, not banking advice.

Worked example

PT50 0002 0123 1234 5678 9015 4 is valid; every valid Portuguese IBAN starts with PT50.

Quick facts

Frequently asked questions

How long is a Portuguese IBAN?

25 characters: PT50 and the 21-digit NIB.

What is a NIB?

The 21-digit Portuguese bank account number with its own check digits.

Why does every Portuguese IBAN start with PT50?

The NIB check digits make the IBAN check digits always 50.

Can I pay bills without an IBAN?

Often yes, with Multibanco entity and reference numbers.

Can I check many accounts?

Yes, one per line.

Is my data stored?

Only in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages