Home irányítószám Hungary

Hungary irányítószám validator

How the irányítószám format works

Format
4 digits
Example
1051

Things to watch for

  • Format-only check — does not confirm the irányítószám actually exists
  • Always exactly 4 digits with no separators
  • Every Budapest code starts with 1; the next two digits identify the kerület (district) number
Regex for irányítószám
^[0-9]{4}$

A Hungarian irányítószám is the 4-digit postcode Magyar Posta uses to route mail, written directly before the city name — for example 1051 Budapest. The system dates to 1973, and inside Budapest it’s genuinely hierarchical: every code starts with the digit 1, the next two digits identify one of the capital’s 23 kerület (districts), and the final digit narrows delivery within that district. Anyone validating a Hungarian shipping address, a checkout form, or a spreadsheet of customer records needs the irányítószám in the correct 4-digit shape before it’s trusted.

Because it’s a bare run of digits with no separator, a transposed digit routes to a genuinely different district rather than producing something obviously malformed — the kind of error a shape check catches even before a district lookup would.

How this validator works

This tool checks that the input is exactly 4 digits with no letters, spaces, or hyphens, entirely in your browser, with nothing sent to a server.

What a pass doesn’t tell you

An irányítószám carries no check digit, so matching the 4-digit shape is the most a client-side tool can confirm — not that Magyar Posta has assigned it to a real district. Confirming that requires Magyar Posta’s own postcode lookup.

Scope: this page and tool cover format validation only — not address lookup or confirming an irányítószám is currently in use.

irányítószám FAQ

What does irányítószám mean, and how many digits does it have?

Irányítószám literally means 'directing number' — Hungary's 4-digit postcode, introduced in 1973. It's written directly before the city name, e.g. 1051 Budapest.

What do the digits of a Budapest irányítószám encode?

Every Budapest code begins with 1. The next two digits identify the kerület — one of the city's 23 numbered districts — so 1051 names district V (Belváros-Lipótváros), the historic centre. The final digit narrows things further within that district.

Does a correctly formatted irányítószám mean it actually exists?

No. This tool only confirms the string is 4 digits — it doesn't check it against Magyar Posta's actual assignment list. Confirming an irányítószám is real, and seeing which district it names, requires Magyar Posta's own postcode lookup.

← More irányítószám validators