Random postcode and ZIP code generator

Real postal codes picked at random from open postal data, each shown with the locality and region it belongs to. Choose a country, narrow it to a state or province, and copy the list or download it as CSV.

Random postcodes in United States
ZIP codeLocalityRegionCoordinates
71462 NobleLA31.694, -93.717
10026 New YorkNY40.802, -73.953
89134 Las VegasNV36.209, -115.294
51007 BronsonIA42.429, -96.199
20542 WashingtonDC38.941, -77.028
92637 Laguna WoodsCA33.61, -117.725
20319 WashingtonDC38.867, -77.017
20229 WashingtonDC38.893, -77.015
20525 WashingtonDC38.893, -77.015
15737 ElmoraPA40.608, -78.752
AGeoNames postal codesAbout the data

Postcode formats in popular countries

CountryNameExampleRecords in the sourceDetail
United StatesZIP code9501441,490Full codes
United KingdompostcodeEC1Y 8SY1,839,678Full unit postcodes (e.g. SW1A 1AA)
CanadapostcodeH3Z 2Y7900,676Full six-character postal codes
Germanypostcode2613323,300Full codes
Francepostcode3338051,611Full codes
IndiaPIN code110034155,570Six-digit PIN codes by post office
Japanpostal code (郵便番号)154-0023116,071All seven-digit codes, from Japan Post
Australiapostcode206018,521Full codes
BrazilCEP40301-1105,525One main CEP per municipality
Mexicopostcode02860144,655Full codes
Spainpostcode2803937,867Full codes
Netherlandspostcode1234 AB468,809Full codes with letters (1012 AB)

Common questions

Are these real postcodes?
Yes. Codes marked as from the dataset exist in the published postal data, and the locality and region shown are the ones listed for them. Ireland and Malta are the exceptions: there only the first part (the Eircode routing key, or the Maltese locality code) is real, and the chip says so.
Is the place name the official postal town?
It is the locality recorded with the code. In the UK, Royal Mail sometimes uses a different post town for the same code.
Why are some countries missing?
Countries such as Saudi Arabia and Nigeria use postcodes, but no open dataset links the codes to places. Rather than invent codes, this tool only lists countries where the data exists. The address generator can still add clearly labelled placeholders for them.

All 106 countries with postcode data

Åland Islands · Albania · Algeria · American Samoa · Andorra · Anguilla · Argentina · Armenia · Australia · Austria · Azerbaijan · Bangladesh · Belarus · Belgium · Bermuda · Brazil · Bulgaria · Canada · Chile · China · Christmas Island · Cocos (Keeling) Islands · Colombia · Costa Rica · Croatia · Cyprus · Czechia · Denmark · Dominican Republic · Ecuador · Estonia · Falkland Islands · Faroe Islands · Finland · France · French Polynesia · Germany · Gibraltar · Greenland · Guam · Guatemala · Haiti · Honduras · Hungary · Iceland · India · Indonesia · Ireland · Italy · Japan · Kenya · Latvia · Liechtenstein · Lithuania · Luxembourg · Malaysia · Malta · Marshall Islands · Mayotte · Mexico · Micronesia · Moldova · Monaco · Morocco · Netherlands · New Caledonia · New Zealand · Norfolk Island · North Macedonia · Northern Mariana Islands · Norway · Pakistan · Palau · Peru · Philippines · Pitcairn · Poland · Portugal · Puerto Rico · Romania · Russia · Saint Helena, Ascension and Tristan da Cunha · Saint Pierre and Miquelon · San Marino · Serbia · Singapore · Slovakia · Slovenia · South Africa · South Korea · Spain · Sri Lanka · Svalbard and Jan Mayen · Sweden · Switzerland · Taiwan · Thailand · Turkey · Turks and Caicos Islands · U.S. Virgin Islands · Ukraine · United Kingdom · United States · Uruguay · Vatican City · Wallis and Futuna