🇵🇹 IBAN COUNTRY PROFILE · Portugal

Check an IBAN from Portugal and understand its structure

An IBAN for Portugal always contains 25 characters. After PT and two IBAN check digits, the national BBAN contains 4-character bank identifier, 4-character branch identifier, 11-character account part and 2-character national check digit. IBAN-Test can additionally compare the bank identifier with the available bank directory for Portugal.

25 charactersFixed total length
21 charactersNational BBAN
PTISO country code

Structure of an IBAN from Portugal

The reference example PT50 0002 0123 1234 5678 9015 4 shows the country-specific components. It is provided for explanation only and is not a request to make a payment.

PT 50 0002 0123 12345678901 54
PTCountry code
50IBAN check digits
0002Bank identifier
0123Branch identifier
12345678901Account part
54National check digit
PositionLengthComponentFormat
1–22Country codeLetters: PT
3–42IBAN check digitsDigits
5–84Bank identifierDigits
9–124Branch identifierDigits
13–2311Account partDigits
24–252National check digitDigits

Validate an IBAN for Portugal

This validator accepts only IBANs from the selected country.

What IBAN-Test validates for Portugal

Validation covers normalization, country assignment, the fixed 25-character length, the country-specific segment structure and MOD-97. Account ownership and real-time account existence are not checked.

1. Normalize the input

Spaces are removed and the representation is normalized.

2. Country and structure

PT, the length and the segment sequence are checked.

3. MOD-97

The international checksum catches many typing errors.

4. Available depth

The bank identifier is compared with the available directory.

Validation stepAvailableDetails
Country, length and structureYesPT, 25 characters; 4-character bank identifier, 4-character branch identifier, 11-character account part and 2-character national check digit.
MOD-97 checksumYesMathematical IBAN validation.
Known bank identifierYesCompared with the available bank directory for Portugal.
National account checkNoNo additional national account check method.
Bank details and BICWhen availableReturned from the available bank directory.
IBAN name checkNoNo comparison between an account holder’s name and the IBAN.
Account existenceNoNo request is sent to the account-holding institution.

Validate an IBAN from Portugal via API

The same validation is available through the REST API. The IBAN is sent in the request and is not placed in a public, indexable URL.

curl --get 'https://www.iban-test.eu/api/v2/iban/validate' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --data-urlencode 'iban=PT50 0002 0123 1234 5678 9015 4'

When available, the response can include bank details from the country-specific directory.

Generate an IBAN for Portugal

The generator accepts up to 8 characters for bankcode and 13 characters for accountnumber. It then calculates the IBAN check digits and validates the result.

curl --get 'https://www.iban-test.eu/api/v2/iban/generate' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --data-urlencode 'countrycode=PT' \
  --data-urlencode 'bankcode=00020123' \
  --data-urlencode 'accountnumber=1234567890154'

What a valid IBAN from Portugal does not prove

Formal validity is a strong signal against input errors, but it is not real-time confirmation of an account.

No existence confirmation

The account may be closed or unreachable.

No account-holder match

A person or company name is not compared with the IBAN.

No payment guarantee

A valid IBAN does not guarantee that a payment will be accepted.

Bank data can change

Results depend on the bank directory currently available to IBAN-Test.

Privacy: The input is transmitted only for validation and is not placed in the page URL.

Bank data validation

Validation against bank directories

For these countries, we check IBANs against available bank directories and return bank details such as institution, city and BIC when available.

ATAustria BEBelgium BGBulgaria HRCroatia CYCyprus CZCzech Republic DKDenmark EEEstonia FIFinland FRFrance DEGermany GRGreece HUHungary IEIreland ITItaly LVLatvia LTLithuania LULuxembourg MTMalta NLNetherlands PLPoland PTPortugal RORomania SKSlovakia SISlovenia ESSpain SESweden

IBAN syntax check

Format checks for 115 IBAN formats

Check IBANs for a valid structure, correct length and checksum. This helps you catch typos and transposed digits before a payment fails. Additional bank validation against real bank directories is available for the countries listed above.

MCP Server for AI Agents - Connect AI clients to IBAN validation tools - https://www.iban-test.eu/mcp - MCP Documentation