Fake Spanish Identity Generator: Name, Address & DNI
What a Spanish identity looks like — names, Spain addresses, phones and national-ID formats — and how to generate a fictional one for testing and privacy.
By FakeName Editorial TeamPublished July 13, 2026Last updated July 13, 20266 min read
Realistic test data has to be *localized*. A form built for Spain expects a Spanish name, a province-level address, a +34 phone number and the right national-ID shape — feed it a generic US-style record and your validation breaks or your demo looks wrong. This guide explains what a believable Spanish identity looks like field by field, and how to generate one that is entirely fictional yet structurally correct. When you just want the result, the fake Spanish identity generator builds a complete localized profile instantly.
Spanish names: the naming convention
Spanish people customarily carry two surnames — the father's first surname followed by the mother's first surname — so a full name looks like María García López. Given names are often compound (José Luis, María del Carmen). A realistic generator therefore draws two family names from Spanish surname pools, not the single-surname Anglo pattern.
A generator has to draw first and last names from Spanish name pools rather than English ones, or the result reads as obviously foreign [c-name]. You can pin the result to a gender when a test needs it — see Spanish male names and Spanish female names.
Spanish addresses
A Spanish address leads with the street type and name (Calle, Avenida, Plaza), then the number, floor and door, followed by the código postal, town and province. The first two digits of the código postal map to a province, so a believable test address keeps that code consistent with the chosen province while randomizing the street.
The código postal matters most for validation: Spain uses 5 digits (NNNNN), where the first two identify the province [c-addr]. A believable test address pairs a real Spain province and city with a código postal that is valid *in format*, while randomizing the street and house number so it resolves to no real residence. That consistency rule — real place, valid-format code, fictional street — is the same one covered in postal code formats worldwide and when to use a fake address online.
The DNI: format vs. reality
The DNI is 8 digits plus a check letter computed from those digits (the letter is the remainder of the number divided by 23, mapped to a fixed alphabet). Foreign residents instead hold an NIE. Because a real DNI identifies a person, the generator emits a masked placeholder of the correct 8-digits-plus-letter shape rather than a valid checksum. [c-id]
A Spanish identity at a glance
| Field | Format for Spain |
|---|---|
| Name | Spanish first + last name |
| Capital / sample city | Madrid |
| Province | Real Spain province |
| Código postal | 5 digits (NNNNN), where the first two identify the province |
| Phone | +34 — 9 digits with no trunk prefix, e.g. +34 NNN NNN NNN |
| National ID | DNI — 8 digits followed by 1 check letter (e.g. 12345678Z) (generated value is masked) |
| Currency | EUR |
Generating a fake Spanish identity
Put the pieces together and you have a record that passes Spain-aware validation without pointing at anyone real. The fake Spanish identity generator does exactly this — localized name, a real province and city with a valid-format código postal, a +34 phone number and a masked DNI — all regenerated on demand. For a specific gender use the male or female variant, and to compare formats across countries start from the country directory or the complete identity generator.
When is this appropriate?
- Software testing & QA — seed a Spain environment with believable but fictional records.
- Demos & screenshots — show a localized Spanish profile without exposing a real customer.
- Form design — verify your código postal, phone and ID validation against the correct Spain formats.
- Privacy — avoid handing your real details to a Spain site that asks for more than it needs, where doing so is permitted.
What it is *not* for: real applications, KYC, banking, government forms, or anything that verifies a legal identity. Whether generating fictional data is legal (it is; misuse is not) is covered in is a fake name generator legal?.
References & sources
- Spanish naming customs — Wikipedia
- Postal codes in Spain — Wikipedia
- Documento Nacional de Identidad (Spain) — Wikipedia
Frequently asked questions
Is this a real Spanish identity?+
No. Every field is randomly generated and combined so the profile describes no real person. The DNI is a masked placeholder, not a valid local-format identifier, and any resemblance to a real Spanish individual is coincidental.
What is the DNI format?+
8 digits followed by 1 check letter (e.g. 12345678Z). A real one identifies a specific person, so the generator only ever emits a masked placeholder of the correct shape — useful for testing a form's validation without being a usable identifier.
Is it legal to use a fake Spanish identity?+
Generating fictional data is legal and widely used for testing, demos and privacy. Using it to commit fraud, impersonate a real person, or deceive for financial gain is not. Keep it to legitimate testing and development.
Can I generate a Spanish identity for a specific gender?+
Yes. Use the male or female variant of the Spanish generator to pin the name and title to a gender while keeping the address, phone and ID formats localized to Spain.