• No favorites

  • Base64 → PDF Converter
  • Base64 → Image Converter
  • JSON Formatter
  • Regex Tester
  • Word Counter / Character Counter
  • Text Case Converter
  • URL Encoder / Decoder
  • CSV → JSON Converter
  • JSON → CSV Converter
  • JWT Decoder

  • Hash Generator
  • Portuguese ID Card Generator
  • Portuguese NIF Generator
  • IBAN Generator
  • Lorem Ipsum Generator
  • Random Password Generator
  • Fake User Data Generator
  • UUID Generator
  1. Home
  2. /
  3. generators
  4. /
  5. nif
© 2025 SmartUtils. All rights reserved.•
AboutContactFAQPrivacy PolicyTerms of Service

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