Portuguese NIF validator
Type a 9 digit NIF and check it against the official format and check digit rules, instantly and privately.
Private by design. The check runs in your browser. The number you type is never sent to us, never stored and never logged.
How the check works
Format
A Portuguese NIF has exactly 9 digits and never starts with 0. Spaces are fine, we remove them for you.
Check digit
The 9th digit is a control digit. It is calculated from the first eight digits with a fixed formula used by Finanças.
Result
We run the same calculation and compare. If the digits do not match, the number has a typo or was copied wrong.
What this check cannot tell you
A valid result means the number follows the official rules. It does not prove the number was issued by Finanças, and it cannot say who it belongs to. There is no public register for that. If a bank or employer questions your number, this check is the quick first step, and our guide to checking your NIF details shows the rest.
Frequently asked questions
Ready to get your NIF? Apply in 5 minutes today.
From €99, all fees included, with 6 months of fiscal representation included. Your total is shown before you submit, and if we cannot obtain your NIF, you pay nothing.