Brazil CNPJ Generator
Generate classic numeric & 2026 alphanumeric Brazilian CNPJ numbers — synthetic mock data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Use Bulk for up to 500 records, or press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
About this tool
The Brazil CNPJ Generator creates synthetic Brazil CNPJ (Cadastro Nacional da Pessoa Jurídica) identifiers for software QA, fintech onboarding, e-invoicing, and ERP integration testing. 14 characters (XX.XXX.XXX/XXXX-XX) supporting both classic numeric and the 2026 Receita Federal alphanumeric root with ASCII-48 Mod-11 check digits.
Switch to the Validate tab to check existing identifiers against the published structure and check-digit rules, or use Bulk to generate up to 500 test records and export them as JSON, CSV, SQL, TypeScript, Python, or Go arrays. All generation and validation run locally in your browser.
How to use this tool
Choose format or standard
Select the Brazil format variant if multiple options are available.
Generate or validate
Generate one test value, validate an existing string, or switch to Bulk for 1–500 records.
Export locally
Copy or download JSON, CSV, or SQL test fixtures. Never use synthetic IDs for real filings.
Brazil CNPJ (Cadastro Nacional da Pessoa Jurídica) specification
| Attribute | Rule |
|---|---|
| Country | Brazil |
| Standard | CNPJ (Cadastro Nacional da Pessoa Jurídica) |
| Format & Checksum | 14 characters (XX.XXX.XXX/XXXX-XX) supporting both classic numeric and the 2026 Receita Federal alphanumeric root with ASCII-48 Mod-11 check digits. |
Synthetic test data only; does not query government registries or verify real entities.
Frequently asked questions
Are generated Brazil CNPJ (Cadastro Nacional da Pessoa Jurídica) numbers real?
No. Every generated value is synthetic mock data that satisfies the CNPJ (Cadastro Nacional da Pessoa Jurídica) format and checksum rules for QA and development testing only.
How does Brazil CNPJ Generator validate numbers?
14 characters (XX.XXX.XXX/XXXX-XX) supporting both classic numeric and the 2026 Receita Federal alphanumeric root with ASCII-48 Mod-11 check digits. All checks run 100% client-side in your browser.
Can I export bulk test data?
Yes. Switch to the Bulk tab to generate 1–500 values and export JSON, CSV, SQL INSERT, TypeScript, Python, or Go arrays.
Related tools
Brazil CPF Generator
Generate and validate synthetic 11-digit Brazilian CPF numbers with dual Mod-11 check digits.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.
EIN Generator
Generate US Employer Identification Number test data with IRS campus prefixes and batch export.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.