Synthetic QA data · PK

Pakistan test IBAN numbers

Ten checksum-valid Pakistan test IBANs with their domestic bank code and account number, ready for a payment form, fixture or unit test, plus invalid PK cases that a correct validator must reject.

Synthetic only: the bank code may belong to a real Pakistan bank, but each account number is random. Never use these values for payments or to represent a real account.

24characters
PKcountry code
20BBAN characters
NoSEPA country

Valid Pakistan test IBANs

IBANBank codeAccount numberBank (public registry)
PK54 DEUT 8687 8925 7112 3956 DEUT 8687892571123956 DEUTSCHE BANK AG, ISLAMABAD BRANCH, Islamabad
PK17 MEZN 3834 9488 8592 0841 MEZN 3834948885920841 MEEZAN BANK LIMITED, Faisalabad
PK38 FAYS 1482 9750 2445 0993 FAYS 1482975024450993 FAYSAL BANK LIMITED, Faisalabad
PK24 MPBL 4027 2236 0303 9388 MPBL 4027223603039388 HABIB METROPOLITAN BANK LIMITED, Faisalabad
PK56 ASCM 5607 4456 0397 2246 ASCM 5607445603972246 ASKARI BANK LIMITED, Rawalpindi
PK85 SONE 7262 8982 2777 2988 SONE 7262898227772988 SONERI BANK LIMITED, Bahawalpur
PK50 MEZN 6896 7622 3576 4443 MEZN 6896762235764443 MEEZAN BANK LIMITED, Faisalabad
PK66 MPBL 9373 7046 3325 5852 MPBL 9373704633255852 HABIB METROPOLITAN BANK LIMITED, Faisalabad
PK90 HABB 3298 8133 7255 9986 HABB 3298813372559986 HABIB BANK LIMITED, Faisalabad
PK45 MEZN 3807 5966 8947 0631 MEZN 3807596689470631 MEEZAN BANK LIMITED, Faisalabad

Invalid PK 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 PK55DEUT8687892571123956 Reject: MOD-97 checksum fails
Transposed BBAN digits PK54EDUT8687892571123956 Reject: MOD-97 checksum fails
One character too short PK54DEUT868789257112395 Reject: length does not match the country format
Wrong country prefix FR54DEUT8687892571123956 Reject: length or checksum fails for the other country
Lowercase with spaces pk54 deut 8687 8925 7112 3956 Accept after normalizing case and whitespace

Pakistan IBAN format

PK + 2 check digits + 4 uppercase letters + 16 letters or digits = 24 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": "Pakistan", "quantity": 100}'

Test against real bank structures, not just checksums

Free: 10 PK 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 Pakistan test IBANs real bank accounts?

No. They are synthetic PK 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 Pakistan IBAN?

A Pakistan IBAN has 24 characters: the country code PK, two check digits and a 20-character BBAN (4 uppercase letters, 16 letters or digits).

Can I get more Pakistan test IBANs for a specific bank or city?

Yes. The Pakistan 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.