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:
| Part | Example | Format |
|---|---|---|
| Country code | PT | 2 letters (ISO 3166) |
| Check digits | 08 | 2 digits: mod-97 checksum |
| Bank code | 2296 | 4 digits |
| Branch code | 2412 | 4 digits |
| Account number | 3524053647803 | 11 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.