CNPJ Generator

Generate Brazilian CNPJ numbers for testing

XX.XXX.XXX/XXXX-XX

Click 'Generate' to create your first XX.XXX.XXX/XXXX-XX

About CNPJ Generator

CNPJ (Cadastro Nacional da Pessoa Jurídica) generator creates valid formatted Brazilian corporate tax identification numbers for testing and development purposes. Supports both traditional numeric format and the new 2024 alphanumeric format. Generated numbers follow official formatting rules and pass validation algorithms but are not associated with real companies.

Generate properly formatted CNPJ numbers with correct structure and validation digits in both numeric and alphanumeric formats. The tool supports both formatted (XX.XXX.XXX/XXXX-XX) and unformatted output, with bulk generation capabilities for comprehensive testing scenarios in Brazilian business applications. Switch between traditional numeric CNPJs and new alphanumeric CNPJs introduced in 2024.

Essential for testing Brazilian business applications, corporate registration systems, tax compliance testing, and development environments requiring valid CNPJ formats. Perfect for fintech, e-commerce, and business management system development targeting the Brazilian market. Test compatibility with both legacy numeric and modern alphanumeric CNPJ formats.

All generated CNPJ numbers follow official formatting rules and pass standard validation algorithms for both numeric and alphanumeric formats. This ensures your applications handle Brazilian corporate identification data correctly during development phases while maintaining compliance with Brazilian business registration requirements including the new 2024 alphanumeric standard.

Key Features

  • Valid CNPJ format (XX.XXX.XXX/XXXX-XX)
  • Supports numeric and alphanumeric formats
  • New 2024 alphanumeric CNPJ generation
  • Follows official Brazilian formatting rules
  • Formatted and unformatted output
  • Bulk generation support
  • Safe for testing and development
  • No association with real companies

CNPJ Frequently Asked Questions

Are these real CNPJ numbers?

No, these are test CNPJ numbers generated for development and testing only. They follow the correct format and pass validation algorithms but are not assigned to real companies by the Brazilian Revenue Service.

What is the new alphanumeric CNPJ format?

In 2024, the Brazilian government introduced a new alphanumeric CNPJ format to expand the available number space. The new format includes letters (A-Z) and numbers (0-9) while maintaining the same 14-character structure (XX.XXX.XXX/XXXX-XX). This was necessary as Brazil was running out of numeric-only CNPJ combinations.

How do I switch between numeric and alphanumeric formats?

Use the 'Alphanumeric Format' toggle switch below the 'Formatted' option. When enabled, the generator will create CNPJs with letters and numbers. When disabled, it generates traditional numeric-only CNPJs.

Can I use these CNPJs for real business registration?

Absolutely not. Using fake CNPJs for real business registration, tax filings, or official purposes is illegal in Brazil and can result in serious legal consequences including fraud charges.

How does CNPJ validation work for alphanumeric format?

Alphanumeric CNPJ validation uses an adapted modulo 11 algorithm that assigns values to both letters (A=10, B=11, etc.) and numbers (0-9). The system calculates two verification digits based on the first 12 characters using the same mathematical principles as numeric CNPJs.

What CNPJ numbers should I avoid in testing?

Avoid well-known test CNPJs and sequential numbers. Use our generator to create realistic test data that won't conflict with real business identifiers or cause validation issues. Test both numeric and alphanumeric formats to ensure compatibility.

Do these CNPJs work with Brazilian tax software?

For validation testing, yes - they pass format and check digit validation for both numeric and alphanumeric formats. However, they will fail when attempting real tax operations or government system integration since they're not registered with actual businesses. Note that older systems may not yet support alphanumeric CNPJs.

CNPJ Testing Best Practices

  • Never use real CNPJs in test environments
  • Validate CNPJ format and check digits in your applications
  • Test both numeric and alphanumeric CNPJ formats
  • Ensure your system supports the new 2024 alphanumeric format
  • Use these numbers only for development and testing
  • Implement proper CNPJ masking in user interfaces
  • Follow Brazilian data protection guidelines for CNPJ handling

Related Tools

Other tools that might be useful for your workflow