Portugal IBAN Generator

Random test IBANs for Portugal that pass validation. Runs in your browser.

Check an IBAN in the IBAN validator →

Output
⚠ For testing only. Generated IBANs have the correct format and check digits, but they are random and not linked to any real account. Never use them to send or request money.

Portugal IBAN format

Country code
PT
IBAN length
25 characters
BBAN structure
21 digit
Bank code
4 characters (Bank)
SEPA
Yes
Example (print)
PT50 7738 6381 8088 2037 5848 2
Example (electronic)
PT50773863818088203758482

A Portugal IBAN starts with PT, then two check digits calculated with ISO 7064 mod-97, then the 21-character BBAN (21 digit). Every IBAN generated here passes the checksum and the national check digits, so it is accepted by form validation and IBAN libraries.

Portugal IBAN position by position

Example: PT50 7738 6381 8088 2037 5848 2

PartCharactersPositions
Country codePT1–2
IBAN check digits (mod-97)503–4
Bank code77385–8
Branch code63819–12
Account number8088203758413–23
National check digits8224–25

The BBAN is the 21-digit NIB: 4-digit bank, 4-digit branch, 11-digit account and 2 national check digits.

Test cases for Portugal IBAN fields

InputExpectedWhy
PT50 7738 6381 8088 2037 5848 2validprint format
PT50773863818088203758482validelectronic format
pt50 7738 6381 8088 2037 5848 2validlower case — normalize first
PT51773863818088203758482invalidwrong check digits
PT5077386381808820375848invalid24 characters, Portugal needs 25
PT507738638180882037584821invalid26 characters

FAQ

How many characters does a Portugal IBAN have?

25 characters, for example PT50773863818088203758482.

Is Portugal in SEPA?

Yes — euro transfers and SEPA direct debits work with this IBAN format.

Are these real Portugal bank accounts?

No. They are random numbers with a valid structure, for testing only. A transfer to them would be rejected.

How do I check an IBAN someone gave me?

Use the IBAN validator: it shows the country, checksum result and where a typo probably is.

More test data for Portugal

Portugal VAT number · Portugal phone numbers · Portugal addresses

Other countries

Austria · Belgium · Bulgaria · Croatia · Cyprus · Czech Republic · Denmark · Estonia · Finland · France · Germany · Greece · Hungary · Iceland · Ireland · Italy · Latvia · Liechtenstein · Lithuania · Luxembourg · Malta · Monaco · Netherlands · Norway · Poland · Romania · Saudi Arabia · Slovakia · Slovenia · Spain · Sweden · Switzerland · Turkey · Ukraine · United Arab Emirates · United Kingdom