Fake Address Generator (Spain)

Spanish addresses with province and postal codes

Ad placeholder (leaderboard)

A fake Spanish address generator produces correctly formatted addresses for Spain, following the local convention of vía type and name, número, and optional piso, with a five-digit código postal whose first two digits identify the province. It is meant for developers and testers exercising Spanish-language forms and EU checkout flows.

How it works

The generator keeps the province and localidad consistent:

  1. A localidad is chosen, each carrying its two-digit province code.
  2. A vía type (Calle, Avenida, Plaza, and so on) and name are picked, followed by a número and, most of the time, a piso such as 3º B or 2º Izq..
  3. A código postal is built as five digits: the first two come from the localidad’s province code (28 Madrid, 08 Barcelona, 46 Valencia, 41 Sevilla), and the remaining three are random.
  4. The localidad and province name complete the address block.

Tips and notes

  • The first two CP digits are province-correct, satisfying the most common regional and length checks; the full code is not tied to a specific street.
  • A piso is included on most addresses, mirroring how Spanish residential addresses commonly include floor and door.
  • Generate a batch for seeding databases or import tests; everything runs locally with no network access.
Ad placeholder (rectangle)