Skip to content

DNI / NIE Letter Calculator — Validate Spanish NIF and NIE

Calculate the control letter of a Spanish DNI or NIE and validate full numbers: 12345678 → 12345678Z, X1234567 → X1234567L. Paste up to 500 numbers, one per line.

Numbers (one per line)

38 chars4 lines

Result

Type or paste on the left — the result updates as you type.

Enter 8 digits to get the letter, or a full DNI/NIE to check it. The check verifies the control letter only, not that the document exists.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: