Ten checksum-valid Portugal test IBANs with their domestic bank code and account number, ready for a payment form, fixture or unit test, plus invalid PT cases that a correct validator must reject.
Synthetic only: the bank code may belong to a real Portugal bank, but each account number is random. Never use these values for payments or to represent a real account.
CAIXA DE CREDITO AGRICOLA MUTUO DA CHAMUSCA, C.R.L, Chamusca
PT50 0033 8769 2134 6993 0152 3
0033
8769
21346993015
BANCO COMERCIAL PORTUGUES, Funchal
PT50 0036 9741 9249 0008 3086 8
0036
9741
92490008308
MONTEPIO GERAL - CAIXA ECONOMICA, Alges
PT50 0173 8510 9865 0349 6621 3
0173
8510
98650349662
BANQUE PRIVEE EDMOND DE ROTHSCHILD EUROPE, SUCURSAL PORTUGUESA, Lisbon
PT50 0193 5400 5657 4800 2210 4
0193
5400
56574800221
BANCO CTT, S.A.
PT50 0151 9544 4087 3319 4878 5
0151
9544
40873319487
CAIXA GERAL DE DEPOSITOS, Funchal
PT50 0061 4916 2664 1770 4499 5
0061
4916
26641770449
BANCO DE INVESTIMENTO GLOBAL S.A.
PT50 0246 6432 9516 7339 0505 5
0246
6432
95167339050
BANCO PRIMUS, S.A., Paco De Arcos
Invalid PT IBANs for negative tests
Each value is derived from the first valid IBAN above and re-checked, so the expected result is exact.
Case
Input
Expected validator result
Wrong check digits
PT51000776584247052901705
Reject: MOD-97 checksum fails
Transposed BBAN digits
PT50007076584247052901705
Reject: MOD-97 checksum fails
One character too short
PT5000077658424705290170
Reject: length does not match the country format
Wrong country prefix
FR50000776584247052901705
Reject: length or checksum fails for the other country
Lowercase with spaces
pt50 0007 7658 4247 0529 0170 5
Accept after normalizing case and whitespace
Portugal IBAN format
PT + 2 check digits + 4 digits + 4 digits + 11 digits + 2 digits = 25 characters. Validate the length and character classes first, then the MOD-97 checksum: move the first four characters to the end, convert letters to numbers (A=10 … Z=35) and the remainder modulo 97 must be 1.
Need rows for the same bank, city or BIC your integration talks to? The generator can target them, keep a stable seed and export 1,000 rows at a time.
No. They are synthetic PT IBANs with a correct national format and MOD-97 checksum. The bank code can match a real institution, but the account number is random and must never be used for payments.
How long is a Portugal IBAN?
A Portugal IBAN has 25 characters: the country code PT, two check digits and a 21-character BBAN (4 digits, 4 digits, 11 digits, 2 digits).
Can I get more Portugal test IBANs for a specific bank or city?
Yes. The Portugal generator creates up to 10 rows free. Paid plans add bank, city and exact BIC targeting, 1,000-row batches, CSV/JSON exports and the same data through the API.