Test IBAN for Hungary: valid HU IBANs for development and QA

CountryHungary (HU)
IBAN length28 characters
BBAN structure^[0-9]{24}$
Example IBANHU42 1177 3016 1111 1018 0000 0000
Bank codedocumented test or example code
SEPA memberyes
National check digits validatedyes
Sourceibantools 4.5.4 for the format specification and national check-digit coverage (IBAN format defined by ISO 13616); examples and test bank codes maintained by IBANGuardian
Page generated2026-09-21

Hungarian bank account handling is a two-format world, and good test data has to respect that. Domestically, accounts are identified by the pénzforgalmi jelzőszám, a 16- or 24-digit GIRO number; internationally, the same account appears as a 28-character HU IBAN. A correct test IBAN for Hungary is HU, two mod-97 check digits, then a 24-digit BBAN: 3-digit bank code, 4-digit branch code, a national check digit, a 15-digit account number, and a second national check digit at the end.

Two national check digits, one weighted algorithm

Both internal check digits are computed with Hungary’s 9-7-3-1 weighting scheme: the first protects the 7-digit bank-and-branch prefix, the second protects the account body. A validator built for the Hungarian market checks these in addition to the outer mod-97 digits, so random-digits-plus-fixed-checksum fixtures fail exactly where it matters. The generator here computes all three checks consistently. For a stable, well-known reference value, the published registry example is HU42 1177 3016 1111 1018 0000 0000.

Where Hungarian test IBANs earn their keep

If you integrate with Hungarian payroll, utility e-billing, or the instant payment system’s ecosystem, your test suite will include forms where users paste either a GIRO number or an IBAN. Table-driven unit tests should cover: valid 28-char IBAN, valid 16-digit domestic number, the same account in both notations, and near-misses with a single wrong check digit. Seeding a staging environment with distinct, structurally valid HU IBANs also keeps SEPA export jobs and reconciliation scripts honest.

Generation happens entirely in your browser. No IBAN leaves your machine, and each one is stamped with a TEST label so synthetic values stay recognisable in tickets and screenshots.

Responsible use

These IBANs are format-valid strings, nothing more. No account exists behind them, and using them outside testing, on an invoice, in a payment request, or to mislead anyone, is misuse. EU Verification of Payee rules mean banks now compare recipient names against IBANs before executing transfers, which is one more reason test data must stay in test systems.

Frequently asked questions

How is a Hungarian IBAN built?

28 characters, all numeric after HU: two check digits, a 3-digit bank code, a 4-digit branch code, one national check digit, a 15-digit account number and a final national check digit. The registry example is HU42 1177 3016 1111 1018 0000 0000.

What are the two extra check digits in Hungarian IBANs?

Hungary's domestic account format (the pénzforgalmi jelzőszám) includes two check digits computed with a 9-7-3-1 weighted algorithm: one after the bank and branch codes, one at the very end. They are validated separately from the IBAN's mod-97 check.

Can I use a generated HU test IBAN for a real forint transfer?

No. It matches no existing account, is marked TEST, and is intended solely for software testing, sandboxes and fixtures. Hungarian domestic transfers use the 16- or 24-digit GIRO number, and banks verify recipients.

Related: Hungary IBAN format ·how mod-97 check digits work ·all test IBAN countries

Also from ZENOM

Would your buyer find all the answers about your business?

See what ZENOM is doing about it.

About ZENOM

Or bring a specific problem of your own.

Contact ZENOM