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:
- Format: after removing spaces, the value must be exactly 4 digits
0–9(leading zeros allowed, e.g.0001). - Province mapping: the 4-digit value is read as a number and matched against a built-in table of SAPO province ranges. For example
0001–0299→ Gauteng (Pretoria area),7400–8099→ 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.