Random Spain Address Generator

Generate addresses in the Spanish format, street then number then floor, followed by the five digit postal code.

Addresses5 generated
  1. Calle Betis 161, 3 A, 44001 Teruel
  2. Calle Alfonso I 174, Bajo A, 08201 Sabadell
  3. Calle San Vicente 23, 4 B, 20003 Donostia-San Sebastian
  4. Calle Colon 142, 2 dcha, 22001 Huesca
  5. Calle Portales 34, 3 A, 35002 Las Palmas de Gran Canaria
Runs locally in your browser

About the Random Spain Address Generator

Spanish addresses put the street type first and the number after the street name, then the floor and door, then the postal code before the town. This generator follows that order exactly: Calle de Alcala 45, 3 A, 28014 Madrid. The floor part uses the real abbreviations, izq for izquierda and dcha for derecha, which is the detail most generators skip.

Streets come from a list of 62 genuine Spanish thoroughfares including Catalan names such as Carrer de Muntaner and Galician names such as Rua do Franco, so the output does not read as though every address in Spain is in Madrid. The 64 postal entries cover all the provincial capitals plus larger towns, and each five digit code begins with the correct two digit province prefix, 08 for Barcelona, 41 for Sevilla, 46 for Valencia.

Since street and postal code are drawn separately, an address can put a Bilbao street inside a Cadiz postcode. That keeps the data safely fictional while still passing the format checks a validator runs. For other regions the Random NZ Address Generator and Random Street Address Generator follow the same approach, and the Random JSON Generator builds whole records around them.

How to use

  1. Choose how many Spanish addresses you need.
  2. Use One per line for a fixture file, or comma separated for a spreadsheet cell.
  3. Press Generate, then copy or download the batch.

Common questions

Do the postal codes match the cities?
Each code is paired with its correct town in the list, and the two digit province prefix is accurate. The street is drawn separately, so the complete address is fictional.
What do izq and dcha mean?
They are the standard Spanish abbreviations for left and right, used to identify which flat on a floor an address refers to.
Are accents included?
Accents are omitted so the data stays safe in systems with strict character handling. Add them back in your editor if your test needs them.
Can I post something to these addresses?
No. The parts are shuffled, so the combinations do not exist as deliverable addresses.