Home postal code Bosnia and Herzegovina

Bosnia and Herzegovina Postal Code validator

How the postal code format works

Format
5 digits
Example
71000

Things to watch for

  • Format-only check — does not confirm the postal code actually exists
  • Always exactly 5 digits with no separators
  • Kept the Yugoslav-era 5-digit numbering after independence — Sarajevo was already 71000 before the 1992 breakup
Regex for postal code
^[0-9]{5}$

A Bosnian and Herzegovinian postal code is the 5-digit code used to route mail across the country — for example 71000 for Sarajevo. Like Serbia, Bosnia and Herzegovina kept the original 5-digit numbering that Yugoslavia introduced in 1971 essentially unchanged through independence, so a code assigned decades ago under a different state still routes mail correctly today. Anyone validating a shipping address, a checkout form, or a spreadsheet of customer records for Bosnia and Herzegovina needs the code in the correct 5-digit shape before it’s trusted.

Because it’s a bare run of digits with no separator, a transposed digit produces a code that still looks entirely plausible, with nothing about its shape flagging the mistake.

How this validator works

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

What a pass doesn’t tell you

A postal code here carries no check digit, so matching the 5-digit shape is the most a client-side tool can confirm — not that it’s been assigned to a real town. Confirming that requires the national postal operator’s own postcode lookup.

Scope: this page and tool cover format validation only — not address lookup or confirming a postal code is currently in use.

postal code FAQ

Did Bosnia and Herzegovina renumber its postal codes after independence?

No — unlike Croatia and Slovenia, which each renumbered after leaving Yugoslavia, Bosnia and Herzegovina kept the original 5-digit codes assigned across the federation in 1971. Sarajevo's code was 71000 before the 1992 breakup and is still 71000 today.

What is Sarajevo's postal code?

71000, for the city center — the same code it's carried since the Yugoslav-era numbering was introduced.

Does a correctly formatted postal code mean it actually exists?

No. This tool only confirms the string is 5 digits — it doesn't check it against BH Pošta's actual assignment list. Confirming a code is real, and seeing which town it names, requires the relevant national postal operator's own postcode lookup.

← More Postal Code validators