Format Code Now
/
Random generatorsRandom Spanish Address Generator Next: Random Adjective Generator ›

Random Spanish Address Generator

RG-61

Press Generate for made-up addresses in Spain in the usual order: street type and name, number, then the postal code, city and province in brackets.

Runs in your browser. Nothing is uploaded.

Not used. Press the button to generate.

Addresses

How to use it

  1. Choose a layout: two lines or one line each.
  2. Pick how many addresses you want, from 1 to 100.
  3. Press Generate.
  4. Copy the addresses into your test data or form.
  5. Press Generate again for new ones.

Spanish address format

The street line has a type (Calle, Avenida, Plaza, Paseo, Camino, Travesía, Ronda or Glorieta), a name such as "de la Paz" or "Mayor", and a number from 1 to 150. About half the addresses add a floor and door, such as 3º B. The second line starts with a 5-digit postal code, then the city, then the province in brackets. The first two digits of the code are the province code of the city used, as in Spain's postal system.

What is made up

There are 35 cities and 94 street names. The last three digits of each postal code are random, so the code may not exist for that city, and a street name may not exist in that city either. The addresses are fictional and can match a real address by chance. Use them to test forms that need a Spanish format, not to send mail or register anywhere.

Questions people ask

How do I make a random address in Spain?

Choose a layout and a count, then press Generate. Each address has a street, number, postal code, city and province. Copy the results into test data or a form.

How does a Spanish postal code work?

It has five digits. The first two digits are the code of the province, such as 28 for Madrid or 08 for Barcelona. The page uses the right province code for each city and random digits for the rest.

Are these Spanish addresses real?

No. They are invented, so a street may not exist in the city and the last three digits of the postal code are random. A result can match a real address by chance. Use them only as test data.

What does 3º B mean in an address?

It points to a flat: 3º is the third floor and B is the door or letter on that floor. Spanish addresses often include it for apartment buildings. Some addresses here have it and some do not.

Which cities are included?

There are 35, including Madrid, Barcelona, Sevilla, Valencia, Bilbao, Zaragoza, Málaga and island cities such as Palma and Las Palmas de Gran Canaria. The city is picked at random for each address.

About this tool

Addresses follow the usual Spanish order: street type, street name and number (sometimes a floor and door such as 3º B), then the 5-digit postal code, the city and the province in brackets. The first two digits of the postal code are the province code of the city used; the last three digits are random, so the code may not exist for that city. There are 35 cities and 94 street names. The addresses are made up: real city names are paired with random street numbers and random ZIP numbers, so a result can match a real address by chance. Do not use them as real addresses or to fill in forms you do not own. Everything is picked in your browser with crypto.getRandomValues. Nothing is sent or stored, and each click gives a new set.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.