Hungarian IBAN generator

IBANs in Hungary have 28 characters and start with HU. The one below is random, follows the national structure and passes the MOD-97 check, so form validation accepts it. No bank issued it.

Format

HU74104000230679432180178330

  1. Country HU
  2. Check digits 74
  3. Bank code 104
  4. Branch code 0002
  5. National check 3
  6. Account number 067943218017833
  7. National check 0
Generate a list Up to 100 IBANs, as CSV, JSON, SQL or plain text

In CSV, JSON and SQL, every IBAN segment (bank, branch, account, check digits) gets its own column.

MOD-97 valid

Realistic mode: real bank code, random account number. No bank issued this IBAN, but it could match a real account by chance. Never use it for payments.

Check an IBAN

Paste an IBAN from any country to check its length, format and check digits.

Without JavaScript, this form opens the full IBAN validator.

Full IBAN validator

Hungarian IBAN format

Length, pattern and the position of each segment in HU IBANs, with a sample IBAN.

IBAN length 28
BBAN length 24
BBAN pattern 24n
Structure HUkk bbb bbbb k ccccccccccccccc k
Example, electronic HU42117730161111101800000000
Example, print HU42 1177 3016 1111 1018 0000 0000
Letters in the BBAN None, digits only
National check digits Positions 12, 28
SEPA Member (EPC list, December 2025)
Source SWIFT IBAN Registry, Release 102 (June 2026)

Position by position

Segment Positions Length Example
Country 1–2 2 HU
Check digits 3–4 2 42
Bank code 5–7 3 117
Branch code 8–11 4 7301
National check 12 1 6
Account number 13–27 15 111110180000000
National check 28 1 0

In the pattern, n stands for a digit, a for an uppercase letter and c for a letter or digit. The number before each letter is how many characters that block has.

National check digits

Besides the two IBAN check digits, HU IBANs carry national check digits inside the BBAN, at positions 12, 28. They come from the domestic account number and follow a national rule.

There are two: the 8th digit of the BBAN checks the bank and branch code, the last one checks the account number. Both use weights 9, 7, 3, 1 repeated, then 10 minus the remainder modulo 10.

This generator calculates them with the official algorithm, in both modes, so validators that check them accept the IBANs on this page.

Source: Magyar Nemzeti Bank, 35/2017. (XII. 14.) MNB rendelet.

How national check digits work

Real bank codes in realistic mode

In realistic mode, the default, the generator takes the bank code from this list and keeps the account number random, so no bank issued these IBANs. With Realistic off, the bank code is random too.

Bank Bank code Branch code
OTP Bank 117 0100
K&H Bank 104 0002
Erste Bank Hungary 116 0000
Raiffeisen Bank 120 0100
UniCredit Bank Hungary 109 0000
MBH Bank 103 0000
CIB Bank 107 0001

What to test with HU IBANs

  • Accept exactly 28 characters for HU, after removing spaces, and reject 27 or 29.
  • Digits only after the check digits: a validator for HU should reject any letter there.
  • For a negative test of the national check, change the character at position 12 and recalculate the IBAN check digits (the validator suggests them). The IBAN then passes MOD-97 but fails the national check.
  • Ready-made invalid values for negative tests: HU42117730161111101800000001 (last character changed, MOD-97 fails) and HU4211773016111110180000000 (one character missing).
  • Bank directory checks: by default the generator uses real bank codes such as 104 (K&H Bank), and random ones with Realistic off, so you can test a known and an unknown bank.

About IBANs in Hungary

Hungarian IBANs have 28 characters and the BBAN includes two national check digits: one after the 3-digit bank code and the 4-digit branch code, and one at the end of the 15-digit account number.

Questions about IBANs in Hungary

How long is an IBAN in Hungary?

28 characters: the country code HU, two check digits and a national part (BBAN) of 24 characters.

What does an IBAN from Hungary look like?

For example HU42 1177 3016 1111 1018 0000 0000. That is the print format, in groups of four. Forms and files usually take it without spaces: HU42117730161111101800000000.

Can Hungarian IBANs contain letters?

No. After the check digits, HU IBANs contain only digits: the BBAN pattern is 24n.

Where is the bank code in Hungarian IBANs?

The bank code, at positions 5–7: 117 in the registry example. The branch code is at positions 8–11 (7301). By default (realistic mode) the generator uses real bank codes, such as 117 for OTP Bank.

Will a test IBAN for Hungary pass validation?

It passes the checks most forms run: country code, length, character format and MOD-97 check digits. The national check digits inside the BBAN are computed with the official algorithm, so a validator that also checks them accepts this IBAN. In realistic mode, the default, the bank code is real too, so a bank directory check accepts it. An account lookup or a payee name check will not confirm it, because the account number is random.

Can I use a generated Hungarian IBAN to sign up for a service or receive money?

No. It is test data that no bank issued to you. Money sent to it is rejected or, if the number happens to belong to someone, reaches a stranger, and using it for a sign-up, a free trial or a direct debit is misuse. Your own IBAN is in your banking app and on your statements.

Other countries

Pick a country to see its IBAN format and get a valid test IBAN. The number next to each code is the IBAN length.