Poland kod pocztowy validator

How the kod pocztowy format works

Format
5 digits, written as 00-000
Example
00001

Things to watch for

  • Format-only check — does not confirm the kod pocztowy actually exists
  • 5 digits total; normally written with a hyphen after the first 2 digits (00-000)
Regex for kod pocztowy
^[0-9]{5}$

A Polish kod pocztowy is the 5-digit postcode Poczta Polska uses to route mail, written as two digits, a hyphen, then three more — for example 00-950 for central Warsaw. The system dates to 1973: the first two digits mark out one of the national sorting and distribution areas, and the remaining three digits narrow that down toward a specific delivery office or a slice of a town. Anyone validating a Polish shipping address, a checkout form, or a spreadsheet of customer records needs the code correctly shaped before it’s trusted.

Because the hyphen falls in a fixed spot — after the second digit — a code that’s missing it, has it in the wrong place, or is a digit short, produces a string that clearly doesn’t match the expected shape, well before anyone checks whether the specific code is actually in use.

How this validator works

This tool checks that the input is exactly 5 digits, accepted with or without the customary hyphen after the second digit, entirely in your browser, with nothing sent to a server.

What a pass doesn’t tell you

A kod pocztowy carries no check digit, so matching the 5-digit shape is the most a client-side tool can confirm — not that Poczta Polska has assigned it to a real office, street, or town. Confirming that requires Poczta Polska’s own postcode lookup.

Scope: this page and tool cover format validation only — not address lookup, distribution-area matching, or confirming a code is currently in use.

kod pocztowy FAQ

What does kod pocztowy mean, and what do the digits stand for?

Kod pocztowy literally means 'postal code'. Poczta Polska introduced the current 5-digit system in 1973: the first two digits identify one of the country's sorting and distribution areas, and the last three narrow that down toward a specific delivery office or slice of a town.

Do I need to type the hyphen?

No — this validator accepts the code with or without the hyphen after the second digit (e.g. '00001' or '00-001'). The hyphen is a writing convention; the underlying code is still 5 digits.

Does a correctly formatted kod pocztowy mean it actually exists?

No. This tool only confirms the string is 5 digits in the right shape — it doesn't check the code against Poczta Polska's actual assignment list. Confirming a code is real, and seeing which office or district it covers, requires Poczta Polska's own postcode lookup.

← More kod pocztowy validators