Mohammed Wilson

Spain · Male, 52 · 1973-08-11

Address

Street address
7270 Gran Vía
City
Málaga
Region
Andalucía (AN)
Postal code
29073
Country
Spain

Profile

Full name
Mohammed Wilson
Phone
+34 61 363 577
Email
mohammed.wilson50@example.org
DNI
55419231H
Occupation
Full Stack Developer
JSON for this record
{
  "countryCode": "ES",
  "country": "Spain",
  "firstName": "Mohammed",
  "lastName": "Wilson",
  "fullName": "Mohammed Wilson",
  "gender": "Male",
  "birthday": "11/08/1973",
  "birthdayISO": "1973-08-11",
  "streetAddress": "7270 Gran Vía",
  "city": "Málaga",
  "state": "Andalucía",
  "stateAbbr": "AN",
  "zip": "29073",
  "phone": "+34 61 363 577",
  "email": "mohammed.wilson50@example.org",
  "job": "Full Stack Developer",
  "company": "Forge Innovations",
  "nationalId": "55419231H",
  "nationalIdLabel": "DNI",
  "ipv4": "203.0.113.93",
  "mac": "D2:BD:E7:0C:AF:27",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
}

Test data only. This record describes no real person. Numbers are drawn from ranges reserved so they can never be assigned, and the address is not deliverable. Using synthetic data to impersonate anyone, open or verify an account, or evade identity checks is prohibited — see the terms.

How Spain addresses are structured

17 autonomous communities plus Ceuta and Melilla, subdivided into 50 provinces. The province is written on its own line when it differs from the city name.

Example layout
Lucía Romero
Calle Mayor 24, 3º B
28013 Madrid
Madrid
Spain
  1. Recipient
  2. Street type, name, number, floor and door
  3. Postal code and city
  4. Province
  5. Country

Código postal format

Local namecódigo postal
Format5 digits
Example28013
  • The first two digits are the province, numbered alphabetically from 01 for Álava to 52 for Melilla.
  • Madrid is 28, Barcelona 08, Valencia 46, Seville 41.
  • Provinces from 01 to 09 carry a meaningful leading zero.
  • The final three digits narrow to a delivery district within the province.

Spain phone number format

Country code+34
Numbering planSpanish Numbering Plan
Example+34 612 34 56 78
  • Nine digits with no trunk prefix — Spain abolished the leading zero, so the national and international forms differ only by +34.
  • Mobiles start with 6 or 7; fixed lines start with 8 or 9.
  • The old provincial area codes are now baked into the nine digits rather than dialled separately.

DNI

IdentifierDNI
Example shape12345678Z
  • Eight digits followed by a check letter.
  • The letter is derived by taking the number modulo 23 and indexing into the string TRWAGMYFPDXBNJZSQVHLCKE.
  • Foreign residents get an NIE instead: X, Y or Z, then seven digits, then the same check letter.

The identity numbers this page generates match the documented digit pattern so that form validation can be tested. They are not issued numbers, they correspond to no person, and they will not resolve against any authority.

Cities and autonomous communities and provinces

The generator draws from these cities. Each is paired with the autonomous communities and province it is actually in, and with the código postal prefix that area really uses — so a generated record is internally consistent rather than three unrelated values stuck together.

CityAutonomouCódigo postal prefix
MadridComunidad de Madrid MD280
BarcelonaCataluña CT080
ValenciaComunidad Valenciana VC460
SevillaAndalucía AN410
MálagaAndalucía AN290
ZaragozaAragón AR500
BilbaoPaís Vasco PV480
MurciaRegión de Murcia MC300
ValladolidCastilla y León CL470

Frequently asked questions

How is the DNI check letter calculated?

Take the eight-digit number modulo 23 and use the remainder as an index into TRWAGMYFPDXBNJZSQVHLCKE. So 12345678 mod 23 gives 14, and the fifteenth character of that string is Z. It is trivial to implement, which means Spanish forms genuinely do validate it — and test data that ignores the rule will be rejected.

What does the floor and door notation mean?

Spanish addresses commonly append a floor and door to the street line, written as 3º B for third floor, door B. Piso, puerta, escalera and planta all appear in real addresses, so an address parser aimed at Spain needs to handle them.

Is the province line required?

It is included when the province differs from the city — Correos uses it for disambiguation. When the city is the provincial capital and shares its name, the line is usually omitted.

Do Spanish phone numbers have area codes?

Not as a separately dialled prefix. Since 1998 the full nine digits are always dialled, with the former provincial code absorbed into the number. A form that asks Spanish users for an area code separately is asking a question that no longer has an answer.

Other country generators

See all country guides →