Spanish ID generator and validator (NIF, NIE, CIF)
Generate test NIF, NIE and CIF numbers with a correct check character, validate a pasted document and compute its check character. Everything happens in your browser.
Generate NIF
Generate NIE
Generate CIF
Validate document
NIF/NIE check character
CIF check character
Generated documents are test data: they do not belong to real people or companies, although one may match by chance. The validator checks structure and check character, not that the document exists.
Nothing is stored or sent to any server.