Portuguese NIF Generator
Generate valid Portuguese NIF (tax identification) numbers for testing purposes.
Generate NIF
Create a valid NIF with optional prefix type
About Portuguese NIF
The NIF (Número de Identificação Fiscal) is a Portuguese tax identification number consisting of 9 digits, where the last digit is a control digit.
NIF Types:
- 1, 2, 3: Individual persons (singular)
- 5: Collective person (company)
- 6: Public collective person
- 8: Individual entrepreneur
- 9: Irregular or temporary collective person
Important: Generated numbers are for testing only; they follow format & validation rules but are not registered.
Use cases:
- Testing e-commerce checkout forms
- Developing tax calculation systems
- Creating demo data for applications
- QA and automated testing