38 countries · structure only · no lookup call

Postal Code Format Checker

Paste a postal code and pick the country. The checker normalizes spacing and case, tests the value against that country's published structure, and shows the canonical example so you can see where a character is missing.

  • Free
  • No signup
  • Runs locally

Checks structure only. It does not confirm the code exists.

Result

Valid format
ZIP code
90210
Country
United States
Expected format
90210 or 90210-1234
Required
Yes

Five digits, optionally followed by a hyphen and four more (ZIP+4).

Format by country (38)
CountryISOExample
United StatesUS90210 or 90210-1234
CanadaCAM5V 2T6
United KingdomGBSW1A 1AA
AustraliaAU2000
GermanyDE10115
FranceFR75001
JapanJP150-0002
ChinaCN100020
Hong KongHKNot used
TaiwanTW110 or 11072
SingaporeSG018956
South KoreaKR06236
IndiaIN400053
BrazilBR01000-000
MexicoMX06000
ItalyIT00100
SpainES28001
NetherlandsNL1011 AB
SwedenSE111 22
NorwayNO0150
DenmarkDK1050
FinlandFI00100
SwitzerlandCH8001
AustriaAT1010
BelgiumBE1000
IrelandIED02 X285
New ZealandNZ1010
United Arab EmiratesAENot used
Saudi ArabiaSA11564 or 11564-1234
IsraelIL6100001
RussiaRU101000
MalaysiaMY50450
ThailandTH10110
PhilippinesPH1200
ArgentinaARC1043ABC
TurkeyTR34000
VietnamVN700000
NigeriaNG100001

Normalizes before judging

Case and spacing are normalized the way each country writes them, so "m5v2t6" and "M5V 2T6" are checked as the same Canadian code.

Says when there is no code

Hong Kong and the UAE have no postal codes. The checker says so and never reports a blank required field as a user error.

One table for every format

The full country table shows each expected pattern and a real example, which is faster than opening 38 separate pages.

Postal Code Format Checker questions

Does a valid format mean the code exists?+
No. Format checking only proves the string has the right shape for that country. Confirming that a code maps to a real delivery area needs a postal authority dataset, which this page does not call.
Why does Hong Kong show no postal code?+
Hong Kong does not use postal codes. The checker reports that explicitly instead of marking an empty field as invalid, because many checkout forms wrongly require one.
Why are leading zeros treated as significant?+
In Italy, France, Finland, and several other countries the leading zeros are part of the code. If your spreadsheet stores the value as a number, 00100 becomes 100 and fails validation. Store postal codes as text.
How is the UK postcode checked?+
The pattern covers the outward code (area letters and digits) and the inward code (digit plus two letters). The letters C, I, K, M, O and V are never used in the area part.
Which countries are supported?+
All 38 countries with an address generator on this site, plus the two that have no postal codes. The table at the bottom lists every supported format and example.