Hungary IBAN format
A Hungary IBAN starts with HU, then two check digits calculated with ISO 7064 mod-97, then the 24-character BBAN (24 digits). Every IBAN generated here passes the checksum, so it is accepted by form validation and IBAN libraries.
Hungary IBAN position by position
Example: HU51 1782 4749 7078 9863 1740 9126
| Part | Characters | Positions |
|---|---|---|
| Country code | HU | 1–2 |
| IBAN check digits (mod-97) | 51 | 3–4 |
| Bank code | 178 | 5–7 |
| Branch code | 2474 | 8–11 |
| Account number | 97078986317409126 | 12–28 |
Test cases for Hungary IBAN fields
| Input | Expected | Why |
|---|---|---|
HU51 1782 4749 7078 9863 1740 9126 | valid | print format |
HU51178247497078986317409126 | valid | electronic format |
hu51 1782 4749 7078 9863 1740 9126 | valid | lower case — normalize first |
HU52178247497078986317409126 | invalid | wrong check digits |
HU5117824749707898631740912 | invalid | 27 characters, Hungary needs 28 |
HU511782474970789863174091261 | invalid | 29 characters |
FAQ
How many characters does a Hungary IBAN have?
28 characters, for example HU51178247497078986317409126.
Is Hungary in SEPA?
Yes — euro transfers and SEPA direct debits work with this IBAN format.
Are these real Hungary 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 Hungary
Other countries
Austria · Belgium · Bulgaria · Croatia · Cyprus · Czech Republic · Denmark · Estonia · Finland · France · Germany · Greece · Iceland · Ireland · Italy · Latvia · Liechtenstein · Lithuania · Luxembourg · Malta · Monaco · Netherlands · Norway · Poland · Portugal · Romania · Saudi Arabia · Slovakia · Slovenia · Spain · Sweden · Switzerland · Turkey · Ukraine · United Arab Emirates · United Kingdom