NIF, NIE and CIF Validator
Instantly check if a Spanish NIF, NIE, or CIF is valid. 100% in your browser, no data sent anywhere.
How to Validate an NIF, NIE or CIF
Enter the Number
Enter the NIF, NIE or CIF you want to verify, with or without hyphens.
Instant Verification
As soon as you stop typing, we check the format and control digit in your own browser.
Read the result
You'll see if it's valid, what type it is (NIF, NIE or CIF), and the formatted number. No data leaves your browser.
Frequently Asked Questions about the NIF/NIE/CIF Validator
Everything you need to know about how Spanish tax identifier validation works.
What types of identifiers does it validate?
+
It validates Spanish NIF (individuals), NIE (foreign residents), and CIF (businesses).
How does validation work?
+
Applies the official check digit calculation algorithm (or control digit in the case of some CIF), without connecting to any external registry.
Does it verify that the NIF/CIF is actually registered with the Tax Authority?
+
No. It only verifies that the format and check letter are mathematically correct; it does not consult any official registry or confirm that the number is registered.
Is my data sent to any server?
+
No, all calculations are performed in your browser. The number you enter never leaves your device.
Does it work with foreign NIE numbers?
+
Yes, it automatically detects whether the entered number is an NIF, NIE, or CIF, and applies the corresponding algorithm.
What does it mean when the result is "not recognized"?
+
It means the entered text does not match the format of any valid Spanish NIF, NIE, or CIF number.