🇪🇸

Spain DNI Generator

Spanish national ID — 8 digits + check letter (mod 23).

Click Generate
Bulk:
⚠️ For development & testing only. Generated numbers pass format/checksum validation but are NOT registered with any government authority. Using a number to impersonate a real person or commit fraud is illegal.

About DNI

DNI (Documento Nacional de Identidad) — Spanish national ID — 8 digits + check letter (mod 23).

Example: 12345678Z

FAQ

What is DNI?
Spanish citizens' ID — used everywhere from banks to airports.
Format?
8 digits + 1 letter computed as digits mod 23 → letter.
Foreigners?
NIE for non-citizens with similar format.
BINtools API

Build it into your app

BIN lookup, card & data validation, fraud signals — one clean REST API. 500 requests/day free, no credit card required.

Get your free API key → See plans