Spain Address Format
Spanish addresses go from smallest unit to largest: recipient, street name + number (often with floor/door like 3ºA), then the 5-digit postal code followed by the city on one line. The province is usually omitted since the first two digits of the postal code identify it.
Standard format
Postal code (Código postal) rules
| Field name | Postal code (Código postal) |
|---|---|
| Format | NNNNN (N = digit, A = letter) |
| Example | 28013 |
| Pattern | ^\d{5}$ |
| Rule | 5 digits; the first two digits identify the province (01–52). The code is written before the city name. |
Fields used in Spain
| State / region | Yes — "Province" locally |
|---|---|
| Street address | Yes |
| P.O. Box | Yes — "Apartado de correos" locally |
FAQ
What is the Postal code (Código postal) format in Spain?
The format is NNNNN (N = digit, A = letter), for example 28013. 5 digits; the first two digits identify the province (01–52). The code is written before the city name.
How do you write an address in Spain?
Spain addresses are written from the smallest unit to the largest. Spanish addresses go from smallest unit to largest: recipient, street name + number (often with floor/door like 3ºA), then the 5-digit postal code followed by the city on one line. The province is usually omitted since the first two digits of the postal code identify it.
Does Spain use postal codes?
Yes. Spain uses the Postal code (Código postal) in the format NNNNN (example: 28013). 5 digits; the first two digits identify the province (01–52). The code is written before the city name.
Generate a fake Spain address
Have real Spain addresses to check?
Validate a whole CSV of customer addresses before shipping — format, postal-code/city match, suspicious-entry flags. Pay per batch, no subscription.
Validate a batch →