Turkey Postal Code Validator

Validate Turkish 5-digit posta kodu and map them to provinces

Ad placeholder (leaderboard)

A Turkish posta kodu is a 5-digit code where the first two digits are the province (il) plate code, ranging from 01 to 81. That makes province lookup a simple prefix match. This tool validates the format and maps the prefix to a province, all in your browser.

How it works

Validation has two parts:

  1. Format: after removing spaces, the value must be exactly 5 digits 09.
  2. Province mapping: the first two digits are read as a province plate code. Turkey has 81 provinces numbered 0181; the tool looks the prefix up in a built-in table. For example 34 → Istanbul, 06 → Ankara, 35 → Izmir.

A prefix of 00 or anything above 81 is not a province and is reported as invalid even though the 5-digit shape is correct.

Example

34000  →  valid, Istanbul
06000   →  valid, Ankara
35000   →  valid, Izmir
99000   →  invalid province prefix (no province 99)
1234     →  invalid (only 4 digits)

Notes

The two-digit prefix resolves the province reliably because it mirrors the official plate-code numbering, but it does not guarantee the exact 5-digit code is an active PTT delivery zone — the tool does not embed the full zone database. Use the province as a checkout sanity check, then confirm serviceability with the carrier. All processing is local.

Ad placeholder (rectangle)