ZIP Code and Postal Code Formats by Country
Complete reference of ZIP code and postal code formats for every major country. Includes format patterns, examples, and validation tips.
Overview
Every country with a postal system uses some form of postal code to route mail efficiently. These codes vary dramatically in format — from simple 4-digit numbers to complex alphanumeric strings. This guide covers the formats you need to know.
Numeric-Only Formats
4-Digit Codes
5-Digit Codes
6-Digit Codes
Alphanumeric Formats
United Kingdom
Format: **A9 9AA** or **A9A 9AA** or **AA9 9AA** or **AA9A 9AA** or **AA99 9AA**
Examples: SW1A 1AA, EC1A 1BB, W1A 1AB
Canada
Format: **A9A 9A9** (letter-digit-letter space digit-letter-digit)
Examples: M5V 3L9, K1A 0A6, V5K 1A1
Ireland (Eircode)
Format: **A99 A9A9** (routing key + unique identifier)
Examples: D01 A1B2, T12 B3C4
Netherlands
Format: **9999 AA** (4 digits + space + 2 letters)
Examples: 1011 AA, 3011 AA
Codes with Hyphens or Separators
Japan
Format: **999-9999** (3 digits + hyphen + 4 digits)
Examples: 100-0001, 160-0001
Brazil (CEP)
Format: **99999-999** (5 digits + hyphen + 3 digits)
Examples: 01001-000, 20010-000
Portugal
Format: **9999-999** (4 digits + hyphen + 3 digits)
Examples: 1000-001, 4000-001
Poland
Format: **99-999** (2 digits + hyphen + 3 digits)
Examples: 00-001, 30-001