Skip to main content
NIF Validator

NIF/CIF/NIE Validator

Instantly validate Spanish tax identification numbers · NIF, CIF, and NIE · with our free online checker.

e.g. 12345678Z, B12345678, X1234567L

Enter a NIF, CIF, or NIE to validate

Disclaimer: This calculator is provided for informational purposes only. Holded is not responsible for any inaccuracies, errors, or outdated data in the calculations. Results should not be considered financial or tax advice. Always consult a qualified professional for decisions based on these calculations.

Frequently asked questions

NIF (Número de Identificación Fiscal) is the tax ID for Spanish citizens, it matches the DNI number plus a check letter. CIF (Código de Identificación Fiscal) is for companies and legal entities. NIE (Número de Identidad de Extranjero) is for foreign residents in Spain.

The NIF letter is determined by dividing the 8-digit number by 23 and mapping the remainder to the sequence TRWAGMYFPDXBNJZSQVHLCKE. For example, remainder 0 = T, remainder 1 = R, etc.

This validator checks the mathematical correctness of the ID format and control character. It confirms whether the number follows the official algorithm, but it does not verify whether the ID has actually been issued by the authorities.

Automate these calculations with Holded

Start free trial