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
ESSpainComunidad de MadridMadridArea MetropolitanaPinto
ESSpainCastilla y LeónÁvilaBurgohondo-El Tiemblo-CebrerosSerranillos
ESSpainAndalucíaGranadaCosta TropicalRubite

Locations File

Download locations sample

Country Code Country Region Region2 Region3 Region4 City Postal Code Latitude Longitude
ESSpainCastilla y LeónBurgosArlanzaPampliegaTorrepadierne0922642.2382685-3.9508648
ESSpainCastilla y LeónPalenciaTierra de CamposVillaumbralesVillaumbrales3419242.088248-4.612600
ESSpainRegión de MurciaMurciaAltiplanoJumillaVilla Amorós3052838.6573385-1.2767036

Streets File

Download streets sample

Country Code Country Region City Postal Code Street Latitude Longitude Elevation (m) Geocoding Level Accuracy Radius (m)
ESSpainCataluñaCastellfollit del Boix08255Camino Esglesia de Sant Pere41.6693721.696751667STREET50
ESSpainComunidad Foral de NavarraPamplona/Iruña31001Txapitela42.818603-1.643561423STREET50
ESSpainPrincipado de AsturiasNaon33429Lugar Viella43.398606-5.788629174STREET50

Addresses File

Download addresses sample

Country CodeCountryRegionCityPostal CodeStreetNumberLatitudeLongitudeElevation (m)
ESSpainComunidad ValencianaOlocau46169Calle Rio Guadalquivir39.649371-0.518273171
ESSpainCastilla-La ManchaPueblo Illan de Vacas45681Calle Cantarranas39.971259-4.556791479
ESSpainCastilla y LeónVitigudino37210Plaza Ind (Sector 4) V Servi41.0086675-6.4353797772

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 25, 2026.

Buy Now