Spain Address Generator

Pick a province or city from the menu, or draw from any checked area. Every address retains its verified 5-digit postal code.

Personal profile fields are fake by design for safe QA use.

Free to use No signup Real address dataset
Advanced filters

Showing a real Palma test address.

Generated Result

Click any field to copy

Last Name
García
First Name
Alejandro
Gender
Male
Phone
+34 611 234 567
Street
Carrer de Ricard Ankerman 17
Municipality
Palma
Province / City
Palma
Código postal
07006
Full Address
Carrer de Ricard Ankerman 17, 07006 Palma, Spain

Map Preview

Open in Maps ↗

Carrer de Ricard Ankerman 17, 07006 Palma, Spain

Map loads on demand for faster page speed. Click below to preview.

This Spain Address Generator is for testing, QA, demos, and form checks. The street and postcode come from the same public record. Names, gender, and phone numbers are fake and are not the person at that address. Do not use the output for fraud, impersonation, or as proof of delivery.

Address sources: OpenStreetMap address tags © OpenStreetMap contributors, ODbL

Copied

A Spanish address line puts the street type and name before the house number, followed by the 5-digit código postal and the municipality. It does not follow the US state-then-ZIP pattern.

This Spain address generator keeps records only when the street number and postal code were stored together on one public map point. Postcodes from a mismatched province are dropped.

One record from this file

This is not a made-up example. It is one record from the middle of this Spain Address Generator file: Carrer de Ricard Ankerman 17, 07006 Palma, Spain. The street and the postcode were stored on that same public row.

How a Spanish address is formatted

A single-line Spanish address generally begins with the thoroughfare type (Calle, Avenida, Paseo, Plaza), the street name, and the house number. Next comes the 5-digit postal code and the town name.

There is no American-style state abbreviation. Filling the postal field with letters or a foreign state code will break checkout validation on Spanish platforms.

A quiet Spanish residential doorway and balcony with no lettering, shown beside the Spain address format explanation.
Spanish addresses write street name before house number, followed by the 5-digit código postal.

Province code matching rules

The first two digits of a 5-digit Spanish postal code identify the province: Madrid starts with 28, Barcelona with 08, Valencia with 46, Seville with 41, Zaragoza with 50, Málaga with 29, Murcia with 30, Palma with 07, Bilbao (Biscay) with 48, and Alicante with 03.

Our data pipeline discards any row whose postal code prefix fails to fall inside the geographical boundary of that province. This is an open spatial dataset check for QA, not an official Correos delivery guarantee.

A sunny empty Spanish side street with no commercial signs, shown beside the provincial postal code checks.
The first two digits strictly match the province (Madrid 28, Barcelona 08, Valencia 46).

Synthetic QA fields and privacy boundaries

QA engineers use this tool to verify form acceptance of Spanish diacritics (á, é, í, ó, ú, ñ) and exact postal formatting. The name, gender, and phone (+34 6xx) are generated in the browser and do not represent a real resident.

Do not use these addresses for real mail, identification, or financial services. This page does not create DNI, NIE, CIF tax numbers, or credit card records.

Areas actually in this sample

This Spain Address Generator has 4119 addresses. The menu only lists areas that survived the checks: A Coruna, Alicante, Barcelona, Bilbao, Cordoba, Granada, Las Palmas, Madrid, Malaga, Murcia, Palma, Seville, Valencia, Valladolid, Vigo, Zaragoza. A city outside that menu is not generated. Other place names that show up inside those areas include Sevilla, A Coruña, Córdoba, Las Palmas de Gran Canaria, València.

Historic stone building facade on a quiet Spanish street with no signs, shown with a real Spanish sample address line.
Ready to paste into international checkout forms testing Spanish address fields. Carrer de Ricard Ankerman 17, 07006 Palma, Spain

How to use this page

Use this Spain Address Generator by choosing a city, generating a line, and copying the field the form asks for. Random Area switches to another checked city.

  1. Choose a region. Select Madrid, Barcelona, Valencia, Seville, or leave it on any checked province.
  2. Generate. Draws a record whose street name, number, and province postal code are verified together.
  3. Copy fields. Copy the complete address line or individual postal code into your target form.

FAQ

Are Spanish street numbers and postal codes from the same record?

Yes. The building number and 5-digit postal code originate from the same OpenStreetMap object, verified against provincial boundary boxes.

What do the first two digits of the postal code mean?

They represent the province code. For instance, 28xxx belongs to Madrid and 08xxx belongs to Barcelona.

Why is the phone number generated separately?

The phone (+34 6xx) is a synthetic QA test fixture in Spain mobile format. It is not tied to the physical address.

Will the Spanish postal service (Correos) deliver here?

Not guaranteed. The records are public spatial fixtures designed for software validation, not physical parcel delivery.

Other address generators