Poland Postal Code Validator

Validate a Polish NN-NNN kod pocztowy and map it to a voivodeship

Ad placeholder (leaderboard)

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

  1. Strip non-digits and reformat what you type into NN-NNN.
  2. Require the final value to match the pattern NN-NNN exactly (two digits, hyphen, three digits).
  3. Read the two-digit prefix and map it to a routing district / voivodeship:
    • 0009 → Mazowieckie (Warsaw),
    • 3034 → Małopolskie (Kraków),
    • 4047 → Śląskie,
    • 8084 → 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.

Ad placeholder (rectangle)