Random Address in Spain
Get 1 to 15 made-up Spanish addresses with a street line, town, real autonomous community and 5-digit postal code, each with a copy button.Pick a number from 1 to 15 and press Generate Address. You get that many random Spanish addresses, one per card, each with a street line, a town, an autonomous community, a five-digit postal code and the word Spain, plus a copy button. The regions are Spain's real 17 comunidades autónomas and the postal codes have the right five-digit shape; the street and town are generated, so no result points at a real building.
What a generated Spanish address looks like
A typical line from the tool:
9107 Casillas Entrada, East Orange, Andalucía 05744, Spain
Taking it apart:
- Street line – a number followed by a Spanish surname or first name (Casillas, Cabán, Reina, Claudia) and a Spanish property or street word such as Entrada, Terrenos, Edificio, Parcela, Aldea or Apartamento. The number comes first, English-style; real Spanish addresses put it after the street, as explained below.
- Town – either a real Spanish town (Parla, Telde, Baracaldo, Getafe) or a made-up one built from a name and a suffix, like Jacoboport or Velázquezchester. Now and then the generator substitutes an American city name such as Fort Worth. If the town matters, generate a few extra and keep the ones that look right.
- Autonomous community – one of the real 17: Andalucía, Aragón, Asturias, Baleares, Canarias, Cantabria, Castilla-La Mancha, Castilla y León, Cataluña, Comunidad Valenciana, Extremadura, Galicia, La Rioja, Madrid, Murcia, Navarra and País Vasco.
- Postal code – five random digits. The format is correct, but the first two digits are not matched to the community on the same line.
When you'd want one
- Testing Spanish-language forms. Accented characters (País Vasco, Aragón, Cabán) are a quick check that your form, database and email templates handle UTF-8 properly.
- Postal-code validation. Spanish checkouts expect exactly five digits, usually 01000–52999. These pass the format check and fail a real lookup, which is what you want for testing both paths.
- Placeholder profiles and demos. A CRM screenshot with a Galicia address and a 15xxx postal code looks like it was built for the Spanish market.
- Sign-ups that demand an address. A generated one fills the field and gives nothing away.
- Fiction set in Spain. Use the region and postal code as a starting point and rewrite the street line by hand in the proper Spanish order.
Neighboring formats are covered by the Random Address in France and the Random Netherlands Address; for Spanish-language addresses on the other side of the Atlantic there's the Random Mexico Address Generator and the Random Chile Address.
How a real address in Spain is written
Spanish addresses go from the street type to the number, then floor and door, then postal code and town, then the province if it differs from the town:
Calle de Alcalá, 45, 3.º B28014 MadridEspaña
The street type comes first and is usually abbreviated: C/ (Calle), Av. or Avda. (Avenida), Pl. or Pza. (Plaza), P.º (Paseo), Ctra. (Carretera), Cmno. (Camino). The building number follows the street name after a comma, and 3.º B means third floor, door B. Some addresses add s/n (sin número) where a building has no number, or Esc. for the stairwell in large blocks.
Spanish postal codes
Codes have five digits. The first two identify the province, numbered in alphabetical order: 01 Álava, 08 Barcelona, 28 Madrid, 41 Sevilla, 46 Valencia, 48 Vizcaya, through 50 Zaragoza, with 51 for Ceuta and 52 for Melilla. The remaining three digits narrow to a district or town; provincial capitals use 001–080 and larger numbers go to the rest of the province. A random address in Madrid, for example, would have a code from 28001 to 28080 inside the city and 28100 upward outside it. The generator doesn't apply this rule, so if you need codes that match the region, pick the first two digits yourself from the list above.
Sample output
Four addresses as the tool prints them:
- 15759 Claudia Terrenos, Jacoboport, País Vasco 46255, Spain
- 751 Reina Edificio, Parla, Galicia 51154, Spain
- 9107 Casillas Entrada, East Orange, Andalucía 05744, Spain
- 317 Cabán Parcela, Velázquezchester, Aragón 88420, Spain
Browse all address & postal code generators for the other countries we cover, including Sweden and Australia.
Frequently asked questions
- Are these real addresses in Spain?
No. The autonomous community is real and the postal code has the correct five-digit shape, but the street line, the town and the postal code digits are generated at random and do not correspond to a real place.
- Can I generate a random address in Madrid or Barcelona specifically?
No. The only setting is the number of addresses per run (1 to 15); the region is picked at random from all 17 communities. Madrid will come up about one time in seventeen.
- Why is the house number in front of the street name?
The generator uses an English-style order. Real Spanish addresses put the number after the street, as in Calle Mayor, 12. If you need the correct order for a form or a story, swap the parts by hand.
- Will the postal code pass validation on a Spanish website?
It will pass a check for five digits. It may fail if the site verifies that the first two digits match the province, since the tool does not link the postal code to the community it prints.
- Why do some towns look American?
The town generator occasionally falls back to a stock list of English-language city names. Regenerate or replace the town if it needs to look Spanish.



