IBAN Toolkit logoIBAN Toolkit

Portugal IBAN Generator

Free test PT IBANs: 25 characters, official registry format, valid check digits.

Portugal IBAN generator

25-character format, official registry structure.

Same country + seed + row order gives the same test values. Leave blank for random samples. Seed algorithm: v1. Do not enter personal data.

Portugal IBAN format

A Portugal IBAN is 25 characters long: the PT country code, 2 check digits, and a 21-character BBAN (4 digits + 4 digits + 11 digits + 2 digits). Here is how a generated test IBAN breaks down:

PartExampleFormat
Country codePT2 letters (ISO 3166)
Check digits082 digits: mod-97 checksum
Bank code22964 digits
Branch code24124 digits
Account number352405364780311 digits + 2 digits

Full test IBAN: PT08 2296 2412 3524 0536 4780 3 (random test value)

About Portugal IBANs

  • Portugal's 25-character IBAN: 4-digit bank + 4-digit branch + 11-digit account + 2 national check digits.
  • The Portuguese national check uses a weighted mod-97 variant over the first 19 digits.
  • The 21-digit BBAN mirrors the legacy Portuguese NIB exactly.

Use test Portugal IBANs for

  • Testing payment forms that accept Portugal bank details.
  • QA fixtures and demo data with the correct 25-character structure.
  • Validating your own mod-97 implementation against known-correct outputs.

Country-specific testing notes

National check digits appear within the BBAN. Generated test fixtures match the character layout, while domestic checksum verification requires a separate implementation.

Test more than the happy path

Generate with seed country-regression-v1, preserve the selected country and quantity, then run again to reproduce the same rows. Include an invalid-checksum input and a shorter input in your form tests. The versioned fixture pack supplies expected results for the implemented format checks.

Interpret the result correctly

Our checks cover the registered length, character pattern and international check digits. They do not certify domestic checksums, reserved-value rules, active bank codes, account existence or recipient ownership. Use bank-issued details for payments and your provider’s documented sandbox values for integration tests.

More countries

Frequently asked questions

25 characters: PT + 2 check digits + 21-character NIB (bank + branch + account + 2 national check digits).
They are synthetic test values with valid structure and check digits. This site does not query live bank directories, so generated values are not guaranteed to be unassigned.
Yes: paste any Portugal IBAN into our IBAN validator to check its length, structure and mod-97 checksum.
Testing and educational use. Generated identifiers are synthetic and are not checked against live bank directories. A randomly generated value can coincidentally resemble or match a real identifier. Never use generated data for real payments, account applications, identity verification, or to represent a real person or institution.