Global Postal Code Samples

Collection of postal codes from various countries for validation testing

Key Facts

Category
Validation
Items
1
Format Families
text

Sample Overview

Collection of postal codes from various countries for validation testing This sample set belongs to Validation and can be used to test related workflows inside Elysia Tools.

📝 Postal Codes from Multiple Countries

🟢 simple

A comprehensive collection of mostly valid postal codes from different countries, plus invalid edge cases

# Global Postal Code Samples
# Copy one of these lines to test the Global Postal Code Validator

# --- United States (US) ---
# 5-digit ZIP code
90210
10001
33101

# ZIP+4 format
12345-6789
90210-1234

# --- United Kingdom (UK) ---
# Standard format with space
SW1A 1AA
M1 1AA
B33 8TH

# Without space
SW1A1AA
M11AA

# Special London codes
WC2N 5DU
EC1A 1BB

# --- Canada ---
# With space
K1A 0B1
M5S 1A1
V6B 1H1

# Without space
K1A0B1
M5S1A1

# --- Australia ---
# 4 digits
2000
3000
4000

# --- Germany ---
# 5 digits (PLZ)
10115
80331
60313

# --- France ---
# 5 digits
75001
69001
33000

# --- Japan ---
# With hyphen
100-0001
150-0001

# Without space/separator
1000001
1500001

# --- India ---
# 6 digits (PIN)
110001
400001
560001

# --- Brazil ---
# CEP with hyphen
01310-100
20040-002

# Without hyphen
01310100
20040002

# --- Italy ---
# 5 digits (CAP)
00100
20100
80100

# --- Spain ---
# 5 digits
28001
08001
46000

# --- Netherlands ---
# With space (4 digits + 2 letters)
1012 AB
1234 AB

# Without space
1012AB
1234AB

# --- Sweden ---
# With space (3 digits + 2 digits)
123 45
114 55

# Without space
12345
11455

# --- Switzerland ---
# 4 digits (PLZ)
8001
3003
1000

# --- China ---
# 6 digits
100000
200000
310000

# --- Russia ---
# 6 digits
101000
690000
190000

# --- Mexico ---
# 5 digits
06000
11500
01000

# --- Argentina ---
# Old 4-digit format
1000
2000

# New format
C1001ABA
B1428CZA

# --- Testing Edge Cases ---
# Invalid format examples (should fail validation)
abcde
123
12-345
ABC123
!@#$%