NIF Validator

Validate Portuguese Tax Identification Numbers (NIF) with real-time verification and entity type detection

Enter NIF Number

About Portuguese NIF

The NIF (Número de Identificação Fiscal) is a Portuguese tax identification number used for all tax-related activities in Portugal.

Format:

  • • 9 digits total
  • • First digit(s) indicate entity type
  • • Last digit is a check digit
  • • Usually formatted as XXX XXX XXX

Entity Types:

  • • 1, 2, 3: Portuguese individuals
  • • 5, 9: Companies/Legal entities
  • • 6: Public administration
  • • 8: Individual entrepreneurs

Note: This validator checks the mathematical correctness of the NIF using the official Portuguese algorithm. It does not verify if the NIF is actually registered with the tax authorities.