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:
- A localidad is chosen, each carrying its two-digit province code.
- 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º Bor2º Izq.. - A código postal is built as five digits: the first two come from the localidad’s province code (
28Madrid,08Barcelona,46Valencia,41Sevilla), and the remaining three are random. - 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.