Postal Code Lookup
See how postal and ZIP codes are structured in each country, with format examples and validation patterns.
Search runs locally in your browser. No search history is stored.
Look up a postal code
Enter a postal or ZIP code value to see which published country formats match. This index ignores letter case and trims outer whitespace. It applies each country's library separator rules: most remove ASCII spaces and hyphens, Poland and Portugal preserve hyphens, and Ireland preserves internal separators. It checks format structure only, not whether the code exists for a specific address. Individual country pages use the same rules and explain which separators are removed.
Postal code formats by country
Country-level reference data for 145 published countries and territories.
| Country | Postal format | Library test inputs (not assigned-code evidence) |
|---|---|---|
| United States | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| United Kingdom | GB | CW3 9SS, SE5 0EG, SE50EG |
| China | 6-Digits - NNNNNN | 123456, 567856 |
| India | 6-Digits - NNNNNN | 123456, 567856 |
| Germany | 5-Digits - NNNNN | 12345, 56785 |
| Japan | 7-Digits - NNNNNNN | 1234567, 5678567 |
| France | 5-Digits - NNNNN | 12345, 56785 |
| Australia | 4-Digits - NNNN | 1234, 5678 |
| Canada | CA : A0A 0A0 | A4B5X5, A4B5A5 |
| Brazil | 8-Digits - NNNNNNNN | 12345678, 56785678 |
| South Korea | 5-Digits - NNNNN | 12345, 56785 |
| Singapore | 6-Digits - NNNNNN | 123456, 567856 |
| Afghanistan | 4-Digits - NNNN | 1234, 5678 |
| Albania | 4-Digits - NNNN | 1234, 5678 |
| Algeria | 5-Digits - NNNNN | 12345, 56785 |
| American Samoa | 5-Digits - NNNNN | 12345, 56785 |
| Argentina | 4-Digits - NNNN | 1234, 5678 |
| Armenia | 4-Digits - NNNN | 1234, 5678 |
| Austria | 4-Digits - NNNN | 1234, 5678 |
| Azerbaijan | AZ : CCNNNNN | AZ1234, AZ-1234 |
| Bahrain | BH : NNN, NNNN | 123, 1234 |
| Bangladesh | 4-Digits - NNNN | 1234, 5678 |
| Barbados | BB : CCNNNNN | BB12345, 12345 |
| Belarus | 6-Digits - NNNNNN | 123456, 567856 |
| Belgium | 4-Digits - NNNN | 1234, 5678 |
| Bhutan | 5-Digits - NNNNN | 12345, 56785 |
| Bolivia | 4-Digits - NNNN | 1234, 5678 |
| Bosnia and Herzegovina | 5-Digits - NNNNN | 12345, 56785 |
| Brunei | BN : LLNNNN | AB1234, tK0987 |
| Bulgaria | 4-Digits - NNNN | 1234, 5678 |
| Cabo Verde | 4-Digits - NNNN | 1234, 5678 |
| Cambodia | 5-Digits - NNNNN | 12345, 56785 |
| Cayman Islands | KY : CCN-NNNN | KY1-1234, KY12345 |
| Chile | 7-Digits - NNNNNNN | 1234567, 5678567 |
| Colombia | 6-Digits - NNNNNN | 123456, 567856 |
| Costa Rica | 5-Digits - NNNNN | 12345, 56785 |
| Croatia | 5-Digits - NNNNN | 12345, 56785 |
| Cuba | 5-Digits - NNNNN | 12345, 56785 |
| Cyprus | 4-Digits - NNNN | 1234, 5678 |
| Czechia | 5-Digits - NNNNN | 12345, 56785 |
| Denmark | DK | 1124, DK1054, DK-1120 |
| Dominican Republic | 5-Digits - NNNNN | 12345, 56785 |
| Ecuador | 6-Digits - NNNNNN | 123456, 567856 |
| Egypt | 5-Digits - NNNNN | 12345, 56785 |
| El Salvador | 4-Digits - NNNN | 1234, 5678 |
| Estonia | 5-Digits - NNNNN | 12345, 56785 |
| Ethiopia | 4-Digits - NNNN | 1234, 5678 |
| Finland | 5-Digits - NNNNN | 12345, 56785 |
| French Polynesia | PF : 987NN | 98700, 98790 |
| Georgia | 4-Digits - NNNN | 1234, 5678 |
| Greece | 5-Digits - NNNNN | 12345, 56785 |
| Greenland | 4-Digits - NNNN | 1234, 5678 |
| Guam | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Guatemala | 5-Digits - NNNNN | 12345, 56785 |
| Guinea | 3-Digits - NNN | 123, 567 |
| Haiti | 4-Digits - NNNN | 1234, 5678 |
| Honduras | HN : CCNNNNN | HN12345, 12345 |
| Hungary | 4-Digits - NNNN | 1234, 5678 |
| Iceland | 3-Digits - NNN | 123, 567 |
| Indonesia | 5-Digits - NNNNN | 12345, 56785 |
| Iran | 10-Digits - NNNNNNNNNN | 1234567890, 5678567833 |
| Iraq | 5-Digits - NNNNN | 12345, 56785 |
| Ireland | IE | D6W1234, A23 0984, D00-AV92 |
| Israel | 7-Digits - NNNNNNN | 1234567, 5678567 |
| Italy | 5-Digits - NNNNN | 12345, 56785 |
| Jamaica | 2-Digits - NN | 12, 56 |
| Jordan | 5-Digits - NNNNN | 12345, 56785 |
| Kazakhstan | 6-Digits - NNNNNN | 123456, 567856 |
| Kenya | 5-Digits - NNNNN | 12345, 56785 |
| Kuwait | 5-Digits - NNNNN | 12345, 56785 |
| Kyrgyzstan | 6-Digits - NNNNNN | 123456, 567856 |
| Laos | 5-Digits - NNNNN | 12345, 56785 |
| Latvia | LV : NNNNN, CC-NNNNN | 1234, LV-1234, LV1234 |
| Lebanon | LB : NNNNN, NNNN NNNN | 1234, 1234 1234, 12341234 |
| Lesotho | 3-Digits - NNN | 123, 567 |
| Liberia | 4-Digits - NNNN | 1234, 5678 |
| Libya | 5-Digits - NNNNN | 12345, 56785 |
| Lithuania | LT : LT-NNNNN | 12345, LT12345, LT-12345 |
| Luxembourg | LU | 1124, L1054, L-1120 |
| Madagascar | 3-Digits - NNN | 123, 567 |
| Malaysia | 5-Digits - NNNNN | 12345, 56785 |
| Malta | MA : LLL NNNN | abc1234, ABC1234, SHD4783 |
| Marshall Islands | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Mauritius | 5-Digits - NNNNN | 12345, 56785 |
| Mexico | 5-Digits - NNNNN | 12345, 56785 |
| Micronesia | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Moldova | MD : CCNNNN, CC-NNNN | 1234, MD1234, MD-1234 |
| Mongolia | 5-Digits - NNNNN | 12345, 56785 |
| Montenegro | 5-Digits - NNNNN | 12345, 56785 |
| Morocco | 5-Digits - NNNNN | 12345, 56785 |
| Mozambique | 4-Digits - NNNN | 1234, 5678 |
| Myanmar | 5-Digits - NNNNN | 12345, 56785 |
| Namibia | 5-Digits - NNNNN | 12345, 56785 |
| Nepal | 5-Digits - NNNNN | 12345, 56785 |
| Netherlands | NL : NNNN LL | 1235DF, 5983DH, 1000 AP |
| New Caledonia | NC : 988NN | 98800, 98890 |
| New Zealand | 4-Digits - NNNN | 1234, 5678 |
| Nicaragua | 5-Digits - NNNNN | 12345, 56785 |
| Niger | 4-Digits - NNNN | 1234, 5678 |
| Nigeria | 6-Digits - NNNNNN | 123456, 567856 |
| North Macedonia | 4-Digits - NNNN | 1234, 5678 |
| Northern Mariana Islands | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Norway | 4-Digits - NNNN | 1234, 5678 |
| Oman | 3-Digits - NNN | 123, 567 |
| Pakistan | 5-Digits - NNNNN | 12345, 56785 |
| Palau | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Palestine | 3-Digits - NNN | 123, 567 |
| Panama | 4-Digits - NNNN | 1234, 5678 |
| Papua New Guinea | 3-Digits - NNN | 123, 567 |
| Paraguay | 4-Digits - NNNN | 1234, 5678 |
| Peru | 5-Digits - NNNNN | 12345, 56785 |
| Philippines | 4-Digits - NNNN | 1234, 5678 |
| Poland | PL : 99-999 | 44-100 , 44-100 |
| Portugal | PT : NNNN-NNN | 1234-123 |
| Puerto Rico | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Romania | 6-Digits - NNNNNN | 123456, 567856 |
| Russia | RU : NNN[-NNN] | 125, 123456 |
| Saint Lucia | LC : CCNN NNN | LC12 345, LC12345 |
| Saint Vincent and the Grenadines | VC : CCNNNNN | 1234, VC1234, VC-1234 |
| Samoa | WS : CCNNNNN | 1234, WS1234, WS-1234 |
| Saudi Arabia | US : NNNNN[-NNNN] | 12345, 12345-7689 |
| Senegal | 5-Digits - NNNNN | 12345, 56785 |
| Serbia | 5-Digits - NNNNN | 12345, 56785 |
| Slovakia | 5-Digits - NNNNN | 12345, 56785 |
| Slovenia | 4-Digits - NNNN | 1234, 5678 |
| South Africa | 4-Digits - NNNN | 1234, 5678 |
| Spain | 5-Digits - NNNNN | 12345, 56785 |
| Sri Lanka | 5-Digits - NNNNN | 12345, 56785 |
| Sudan | 5-Digits - NNNNN | 12345, 56785 |
| Sweden | 5-Digits - NNNNN | 12345, 56785 |
| Switzerland | 4-Digits - NNNN | 1234, 5678 |
| Taiwan | TW : NNN[-NN] | 123, 123-45, 12345 |
| Tajikistan | 6-Digits - NNNNNN | 123456, 567856 |
| Tanzania | 5-Digits - NNNNN | 12345, 56785 |
| Thailand | 5-Digits - NNNNN | 12345, 56785 |
| Trinidad and Tobago | 6-Digits - NNNNNN | 123456, 567856 |
| Tunisia | 4-Digits - NNNN | 1234, 5678 |
| Türkiye | 5-Digits - NNNNN | 12345, 56785 |
| Turkmenistan | 6-Digits - NNNNNN | 123456, 567856 |
| Ukraine | 5-Digits - NNNNN | 12345, 56785 |
| Uruguay | 5-Digits - NNNNN | 12345, 56785 |
| Uzbekistan | 6-Digits - NNNNNN | 123456, 567856 |
| Venezuela | VE : NNNN, NNNN-A | 1234, 1234-A |
| Vietnam | 6-Digits - NNNNNN | 123456, 567856 |
| Zambia | 5-Digits - NNNNN | 12345, 56785 |
Formats and test inputs come from postal-codes-js 2.5.2. Test inputs are software fixtures, not verified assigned postal codes. Samples use the same country-specific separator handling as the checker. This reference is not a live address directory; current national rules have not all been independently verified.
About postal codes
Use these library patterns to inspect input syntax. A postal code must still be checked against the full destination address before mailing.
Frequently asked questions
Does a matching country prove where an address is located?
No. Several countries can share the same numeric format. A match is only a possible format match, not country identification or address verification.
Are these official, current postal rules?
These patterns are imported from postal-codes-js 2.5.2, a software library. We have not independently verified all current national rules. Confirm mailing details with the destination postal operator or carrier.