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
ESSpainCataluñaGironaAlto AmpurdánVilanant
ESSpainComunidad ValencianaValenciaHuerta NorteMuseros
ESSpainCataluñaBarcelonaVallés OccidentalViladecavalls

Locations File

Download locations sample

Country Code Country Region Region2 Region3 Region4 City Postal Code Latitude Longitude
ESSpainAndalucíaGranadaVega de GranadaOgíjaresArmilla1810037.1374696-3.6208904
ESSpainIslas BalearesIslas BalearesComarca de CiudadelaCiutadella de MenorcaCala Morell0776940.05315653.8845432
ESSpainAndalucíaGranadaLojaLojaEl Frontil1830037.1775368-4.1369160

Streets File

Download streets sample

Country Code Country Region City Postal Code Street Latitude Longitude Elevation (m) Geocoding Level Accuracy Radius (m)
ESSpainComunidad ValencianaMasada del Sordo12469Partida Venta la Sainera39.957676-0.635192756STREET50
ESSpainIslas CanariasLas Majadillas35018Calle Trino28.106948-15.461909171STREET50
ESSpainGaliciaA Graña15967Placita Couso42.530184-9.03277829STREET50

Addresses File

Download addresses sample

Country CodeCountryRegionCityPostal CodeStreetNumberLatitudeLongitudeElevation (m)
ESSpainAndalucíaFuengirola29640Calle las Camelias36.565829-4.60454731
ESSpainComunidad ValencianaUrbanización La Tapiada03509Calle de Uruguai38.548911-0.188582151
ESSpainIslas BalearesFelanitx07200Calle Pare Catanyf39.4688193.148117119

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.

Buy Now