Generate Free IBAN · CSV
Test IBAN reference list
Use for Copy-paste fixtures for docs and tests
  1. 1Find your country
  2. 2Copy a sample IBAN
  3. 3Download CSV / JSON fixtures
Synthetic QA data · PT

Portugal test IBAN numbers

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.

25characters
PTcountry code
21BBAN characters
YesSEPA country

Valid Portugal test IBANs

IBANBank codeBranch codeAccount numberBank (public registry)
PT50 0007 7658 4247 0529 0170 5 0007 7658 42470529017 NOVO BANCO, SA, Funchal Check
PT50 0043 6809 6786 5031 9813 4 0043 6809 67865031981 DEUTSCHE BANK AG PORTUGAL BRANCH Check
PT50 0097 2540 7378 5763 7847 4 0097 2540 73785763784 CAIXA DE CREDITO AGRICOLA MUTUO DA CHAMUSCA, C.R.L, Chamusca Check
PT50 0033 8769 2134 6993 0152 3 0033 8769 21346993015 BANCO COMERCIAL PORTUGUES, Funchal Check
PT50 0036 9741 9249 0008 3086 8 0036 9741 92490008308 MONTEPIO GERAL - CAIXA ECONOMICA, Alges Check
PT50 0173 8510 9865 0349 6621 3 0173 8510 98650349662 BANQUE PRIVEE EDMOND DE ROTHSCHILD EUROPE, SUCURSAL PORTUGUESA, Lisbon Check
PT50 0193 5400 5657 4800 2210 4 0193 5400 56574800221 BANCO CTT, S.A. Check
PT50 0151 9544 4087 3319 4878 5 0151 9544 40873319487 CAIXA GERAL DE DEPOSITOS, Funchal Check
PT50 0061 4916 2664 1770 4499 5 0061 4916 26641770449 BANCO DE INVESTIMENTO GLOBAL S.A. Check
PT50 0246 6432 9516 7339 0505 5 0246 6432 95167339050 BANCO PRIMUS, S.A., Paco De Arcos Check

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.

CaseInputExpected 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.

curl -X POST https://ibangen.com/api/v1/generate \
  -H "X-API-Key: $IBANGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country": "Portugal", "quantity": 100}'

Test against real bank structures, not just checksums

Free: 10 PT rows at a time. Pro adds bank targeting, 1,000-row batches, CSV/JSON exports and the API; Business adds exact BIC and branch targeting.

Questions

Are these Portugal test IBANs real bank accounts?

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.

Test IBANs for other countries

IBANgen provides synthetic QA data. It does not verify account ownership, balances, reachability or payment execution.

Next in your workflow