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.
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
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.
Address sources: OpenStreetMap address tags © OpenStreetMap contributors, ODbL
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.

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.

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.

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.
- Choose a region. Select Madrid, Barcelona, Valencia, Seville, or leave it on any checked province.
- Generate. Draws a record whose street name, number, and province postal code are verified together.
- 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.