A Polish kod pocztowy is the five-digit postal code used to route mail and parcels across Poland, always written in the NN-NNN form with a hyphen after the second digit. The leading two digits identify a postal routing district that broadly corresponds to a voivodeship. This free tool validates the format and maps the prefix to a region in your browser, and it inserts the hyphen for you as you type.
How it works
- Strip non-digits and reformat what you type into
NN-NNN. - Require the final value to match the pattern
NN-NNNexactly (two digits, hyphen, three digits). - Read the two-digit prefix and map it to a routing district / voivodeship:
00–09→ Mazowieckie (Warsaw),30–34→ Małopolskie (Kraków),40–47→ Śląskie,80–84→ Pomorskie (Gdańsk).
Example
Validate 00-001 (central Warsaw): matches NN-NNN, prefix 00 → Mazowieckie. Validate 30-001 (Kraków): prefix 30 → Małopolskie. Validate 80-001 (Gdańsk): prefix 80 → Pomorskie.
Notes
The voivodeship mapping is a heuristic based on the two-digit prefix, so it returns the routing district rather than the exact municipality and is approximate near regional borders. A valid NN-NNN format does not guarantee the specific code is assigned. Confirm against Poczta Polska’s official directory when delivery accuracy matters. Everything runs locally in your browser.