About this Generator

This tool generates valid Portuguese Tax Identification Numbers that comply with official requirements.

The generator creates NIF numbers following the official format based on entity type.

Generated NIF numbers are for testing purposes only. While they follow the correct format and pass validation checks, they are not officially registered numbers.

About Portugal NIF Generator

Generation Features: • Entity type selection • First digit assignment • Sequential numbering • Check digit calculation • Format compliance

Technical Details: • 9-digit format • Type validation • Check digit rules • Pattern verification • Format validation

To verify an existing NIF, you can use our Portugal NIF Verifier