Home SWIFT/BIC code Hungary

Hungary SWIFT/BIC code validator

How the SWIFT/BIC code format works

Format
8 or 11-character bank identifier code, country code HU in positions 5-6
Example
OTPVHUHB

Things to watch for

  • Structure: 4-letter bank code + HU (country) + 2-character location code, plus an optional 3-character branch code
  • An 8-character code (or one ending XXX) refers to the bank's head office, almost always registered in Budapest
  • No checksum digit — this is a format check only; it confirms positions 5-6 read HU, not that the bank or branch actually exists
Regex for SWIFT/BIC code
^[A-Z]{4}HU[A-Z0-9]{2}([A-Z0-9]{3})?$

A Hungarian SWIFT/BIC code identifies the bank behind an international wire transfer, paired with the 28-character Hungarian IBAN that identifies the account. Every Hungarian BIC has HU fixed at positions 5-6, right after the 4-letter bank code, and Hungary’s largest banks all register their SWIFT head office in Budapest, using the location code HB.

Major Hungarian bank BIC prefixes

Bank BIC Location
OTP Bank OTPVHUHB Budapest
K&H Bank OKHBHUHB Budapest
UniCredit Bank Hungary BACXHUHB Budapest

How this validator works

This tool checks that the code is 8 or 11 characters, the first 4 characters are letters, positions 5-6 read HU, and the location and optional branch segments use only letters and digits — entirely client-side, with nothing sent to a server.

What a pass doesn’t tell you

A pass confirms the code fits the Hungarian BIC pattern, not that OTPV or OKHB still names an operating bank, or that the branch suffix is current. A BIC has no checksum digit, so a fabricated code that matches the shape still passes.

Scope: format validation only. Hungarian transfers also need the 28-character IBAN — one of the longest in the EU — validated separately with its own mod-97 checksum.

SWIFT/BIC code FAQ

What's the SWIFT code format for a Hungarian bank?

A Hungarian BIC is 8 or 11 characters: a 4-letter bank code, HU fixed at positions 5-6, a 2-character location code, and an optional 3-character branch code — for example OTPVHUHB for OTP Bank's Budapest head office.

How do I read a Hungarian BIC?

In OKHBHUHB, OKHB identifies K&H Bank, HU is the country, and HB is the Budapest location code that every major Hungarian bank shares.

Does an 8-character code work for a Hungarian bank?

Yes — the 8-character BIC and its 11-character form ending XXX both identify the same head office and are accepted interchangeably on payment instructions.

← More SWIFT/BIC code validators