Spain Postal Codes & Zip Codes - Format, List & Examples

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

Spain flag

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

Download regions sample

Country Code Country Region Region2 Region3 Region4
ESSpainAragónZaragozaRibera Baja del EbroEscatrón
ESSpainIslas CanariasLas PalmasGran CanariaSan Bartolomé de Tirajana
ESSpainAndalucíaAlmeríaPoniente AlmerienseRoquetas de Mar

Locations File

Download locations sample

Country Code Country Region Region2 Region3 Region4 City Postal Code Latitude Longitude
ESSpainGaliciaA CoruñaLa BarcalaNegreiraBroño1583842.931740-8.792742
ESSpainAndalucíaHuelvaCosta Occidental de HuelvaCartayaEl Portil2145937.216197-7.070284
ESSpainGaliciaOurenseCarballinoBoborásBoborás3251442.410082-8.178746

Streets File

Download streets sample

Country Code Country Region City Postal Code Street Latitude Longitude Elevation (m) Geocoding Level Accuracy Radius (m)
ESSpainCastilla y LeónVillarrín de Campos49137Diseminado Diseminados41.793202-5.640643679STREET50
ESSpainCastilla y LeónVillamoratiel de las Matas24339Calle Majada42.397489-5.298504845STREET50
ESSpainIslas BalearesCala San Esteban07720Camí de sa Guatlera39.8556244.29397939STREET50

Addresses File

Download addresses sample

Country CodeCountryRegionCityPostal CodeStreetNumberLatitudeLongitudeElevation (m)
ESSpainCastilla y LeónNavas de Oro40470Travessera Tercera Abrojal41.1959790-4.4386447808
ESSpainCastilla y LeónCalvarrasa de Arriba37191Calle Servidumbre40.906762-5.595089851
ESSpainCataluñaLa Llagosta08120Calle Progres41.5117902.19485755

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 September 22, 2026.

Buy Now