South Africa Postal Code Validator

Validate South African 4-digit postal codes by province range

Ad placeholder (leaderboard)

A South African postal code is a 4-digit number, and the South Africa Post Office (SAPO) assigns numeric ranges to provinces. Because the ranges do not line up neatly with a single leading digit, province lookup compares the whole 4-digit value against range boundaries. This tool validates the format and maps the code to a province in your browser.

How it works

Validation has two parts:

  1. Format: after removing spaces, the value must be exactly 4 digits 09 (leading zeros allowed, e.g. 0001).
  2. Province mapping: the 4-digit value is read as a number and matched against a built-in table of SAPO province ranges. For example 00010299 → Gauteng (Pretoria area), 74008099 → Western Cape.

If the number falls inside a known range, the province is reported; otherwise the format may be valid but the province is reported as out of the mapped ranges.

Example

0001  →  valid, Gauteng (Pretoria)
8001   →  valid, Western Cape (Cape Town)
4001   →  valid, KwaZulu-Natal (Durban)
123     →  invalid (only 3 digits)

Notes

The numeric-range lookup is more accurate than a single-digit prefix because South African ranges cross digit boundaries — but it is still a routing hint, not a guarantee that the exact code is an active SAPO delivery point. Use the province as a checkout sanity check, then confirm serviceability with the carrier. All processing is local.

Ad placeholder (rectangle)