Spain Postal Codes & Zip Codes - Format, List & Examples
Spain Postal Codes - Format, Structure & Examples by Autonomous Community

Access structured postal code data for Spain, including postal codes, cities, streets, and autonomous community information. Designed for business, analytics, logistics, data enrichment, and location-based applications.
View Sample Files | Get Full Dataset
Dataset Overview
PostcodeZip provides a ready-to-use database covering 1,129,331 streets across 105,984 addresses, 44,845 cities and 10,839 postal codes in 19 autonomous communities of Spain.
- 1,129,331 streets
- 105,984 addresses
- 44,845 cities
- 10,839 postal codes
- 19 autonomous communities
What This Data Can Be Used For
- Address validation and cleanup
- Autocomplete for forms and search fields
- Location-based analytics and reporting
- Database enrichment and segmentation
- Logistics, delivery, and route planning
- Geographic applications and mapping tools
Available Files
Depending on your project, you can choose one or more of the following files:
- Regions file - administrative autonomous communities and subdivisions
- Locations file - cities and postal codes
- Streets file - street-level location data
- Addresses file - individual addresses with coordinates
Each file is available as a sample preview before purchase.
Sample Files Preview
Download a sample file or preview a few example rows before purchasing.
Regions File
| Country Code | Country | Region | Region2 | Region3 | Region4 |
|---|---|---|---|---|---|
| ES | Spain | Cataluña | Girona | Alto Ampurdán | Vilanant |
| ES | Spain | Comunidad Valenciana | Valencia | Huerta Norte | Museros |
| ES | Spain | Cataluña | Barcelona | Vallés Occidental | Viladecavalls |
Locations File
| Country Code | Country | Region | Region2 | Region3 | Region4 | City | Postal Code | Latitude | Longitude |
|---|---|---|---|---|---|---|---|---|---|
| ES | Spain | Andalucía | Granada | Vega de Granada | Ogíjares | Armilla | 18100 | 37.1374696 | -3.6208904 |
| ES | Spain | Islas Baleares | Islas Baleares | Comarca de Ciudadela | Ciutadella de Menorca | Cala Morell | 07769 | 40.0531565 | 3.8845432 |
| ES | Spain | Andalucía | Granada | Loja | Loja | El Frontil | 18300 | 37.1775368 | -4.1369160 |
Streets File
| Country Code | Country | Region | City | Postal Code | Street | Latitude | Longitude | Elevation (m) | Geocoding Level | Accuracy Radius (m) |
|---|---|---|---|---|---|---|---|---|---|---|
| ES | Spain | Comunidad Valenciana | Masada del Sordo | 12469 | Partida Venta la Sainera | 39.957676 | -0.635192 | 756 | STREET | 50 |
| ES | Spain | Islas Canarias | Las Majadillas | 35018 | Calle Trino | 28.106948 | -15.461909 | 171 | STREET | 50 |
| ES | Spain | Galicia | A Graña | 15967 | Placita Couso | 42.530184 | -9.032778 | 29 | STREET | 50 |
Addresses File
| Country Code | Country | Region | City | Postal Code | Street | Number | Latitude | Longitude | Elevation (m) |
|---|---|---|---|---|---|---|---|---|---|
| ES | Spain | Andalucía | Fuengirola | 29640 | Calle las Camelias | 36.565829 | -4.604547 | 31 | |
| ES | Spain | Comunidad Valenciana | Urbanización La Tapiada | 03509 | Calle de Uruguai | 38.548911 | -0.188582 | 151 | |
| ES | Spain | Islas Baleares | Felanitx | 07200 | Calle Pare Catanyf | 39.468819 | 3.148117 | 119 |
Sample data for preview purposes only.
Why This Dataset Is Useful
This database makes it easier to work with real postal and geographic data in a structured format. It can help standardize postal code and address inputs, improve form completion, match existing customer records, and support internal analysis by city, postal code, street, or autonomous community.
It is also useful for teams building applications that rely on real postal and location data, including CRMs, business directories, delivery systems, mapping tools, and reporting platforms.
Data Structure
Depending on the selected file, the dataset may include the following fields:
- Country code
- Country name
- Region / autonomous community
- City
- Postal code
- Street
- Latitude
- Longitude
- Elevation
Formats and Delivery
Files are available in CSV, Excel, SQL, and XML format, depending on the selected product.
After purchase, your files are delivered in a downloadable archive and can be used immediately.
Updates and Purchase
This is a one-time purchase. The dataset is maintained regularly. Updated on November 4, 2026.