World Postal Code Directory ### Postal codes as a geographic index GeoNames' `allCountries` postal code export is one of the few open, global postal-code lists. This dataset contains **1,835,923 postal-code records in 124 countries**, with **29 parameters** per record and duplicates removed on country + code + place + admin1. - **Address hierarchy** — country, postal code, place name, admin1/admin2/admin3 names and codes, plus an `admin_depth` count. - **Geography** — latitude/longitude, hemisphere, 10-degree latitude band, 15-degree longitude band and a 9-character geohash. - **Code shape** — length, numeric flag, two-character prefix, first character. - **Quality** — GeoNames accuracy code and label, plus admin2/admin3 presence flags. - **Country context** — country name, World Bank region and subregion. **1,128,319 codes are purely numeric**, while the rest use letters or mixed formats. The file supports geocoding, delivery-zone analysis, regional segmentation and postal-format research. 29 columns; 1,835,923 postal records x 29 parameters.