Portugal IBAN Validator

Validate a Portuguese IBAN (PT50 + 21 chars) with MOD-97

Ad placeholder (leaderboard)

A Portuguese IBAN is the standardised account number used for SEPA payments, payroll, and direct debits in Portugal. Before sending money or saving a supplier’s bank details, you can confirm the IBAN is free of typos using the ISO 13616 MOD-97 check. This validator runs that check entirely in your browser.

How it works

A PT IBAN is 25 characters: PT + 2 check digits + a 21-digit BBAN. Validation follows the international MOD-97 rule:

  1. Remove spaces and uppercase the input.
  2. Confirm it starts with PT and is exactly 25 characters.
  3. Move the first four characters (the PT and the two check digits) to the end.
  4. Replace each letter with two digits: A = 10, B = 11, … Z = 35.
  5. Interpret the whole string as one large integer and take it modulo 97.
  6. The IBAN is valid only if the remainder is exactly 1.

Because the integer is huge, the tool computes the remainder digit-by-digit so it never overflows.

Example

For PT50 0002 0123 1234 5678 9015 4, the tool strips spaces to a 25-character string, rotates PT50 to the end, maps P = 25 and T = 29, and reduces the result modulo 97. A remainder of 1 means the IBAN passes; anything else means a digit is wrong.

Notes

A passing MOD-97 check confirms structure only — it does not confirm the account is open or owned by anyone in particular. Everything runs locally, so the IBAN never leaves your device.

Ad placeholder (rectangle)