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
- Choose how many Spanish addresses you need.
- Use One per line for a fixture file, or comma separated for a spreadsheet cell.
- 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.