Trình tạo & Kiểm tra CPF/CNPJ
Tạo và kiểm tra ngay lập tức các số định danh người nộp thuế của Brazil phục vụ quá trình phát triển.
Hỗ trợ đầy đủ tiêu chuẩn CNPJ Chữ và Số mới (2026).
⚠️ [Sử dụng hạn chế] Công cụ này được cung cấp hoàn toàn cho mục đích phát triển và thử nghiệm phần mềm.
Các số được tạo ra là các giá trị ngẫu nhiên thỏa mãn định dạng hợp lệ về mặt toán học. Bất kỳ sự trùng khớp nào với số thật đều là ngẫu nhiên.
Nghiêm cấm sử dụng công cụ này cho mục đích lừa đảo hoặc bất kỳ mục đích bất hợp pháp nào khác.
Bạn cũng có thể thích
Giới thiệu
The "CPF/CNPJ Generator & Validator" is a free browser-based tool designed to generate and validate mathematically correct Brazilian taxpayer numbers (CPF for individuals, CNPJ for corporations) strictly for software testing and development purposes.
With 100% local processing, no inputted or generated data is ever sent to a server. You can also generate up to 1,000 numbers at once in bulk.
Supports the 2026 Alphanumeric CNPJ specs: In addition to the traditional numeric format, it fully supports the generation and validation of the "CNPJ Alfanumérico", the new format featuring alphabetical characters in the first 12 positions, which will be implemented in July 2026.
Cách sử dụng
Select Mode
Choose between the "Generate" or "Validate" tabs. For generation, select either CPF or CNPJ.
Set Options
For CNPJ, choose whether to use the new alphanumeric format, toggle punctuation on or off, and set the generation count.
Execute & Copy
Click the button to run the tool. Generated data can be easily saved to your clipboard using the "Copy" button.
Thuật ngữ
- CPF (Cadastro de Pessoas Físicas)
- The Brazilian individual taxpayer registry number. It consists of 11 digits, typically formatted as "XXX.XXX.XXX-XX". The last 2 digits are the check digits (DV).
- CNPJ (Cadastro Nacional da Pessoa Jurídica)
- The Brazilian corporate taxpayer registry number. It consists of 14 digits, typically formatted as "XX.XXX.XXX/YYYY-ZZ". The YYYY part represents the branch/establishment.
- DV (Dígito Verificador)
- Check digits. Numbers appended to the end to prevent input errors or forgery. Calculated using the standard "Módulo 11" algorithm.
- CNPJ Alfanumérico
- A new alphanumeric CNPJ format effective July 2026 to prevent number depletion. Alphabetical letters can be used in the first 12 positions, requiring ASCII code conversion during DV calculation.
- Módulo 11
- The standard check digit calculation algorithm used in Brazilian public number systems. It assigns specific weights to each digit, sums them up, and determines the DV from the remainder of division by 11.
- Mascara (Punctuation)
- Symbols like dots ".", hyphens "-", and slashes "/" used to improve readability. These are generally stripped when saving to databases.
- Estabelecimento
- The 9th to 12th digits of a CNPJ, representing the branch or establishment number. "0001" has traditionally been used for headquarters.
Câu hỏi thường gặp
- Q.Are the generated numbers real?
- No. The CPF and CNPJ generated by this tool are random values with mathematically correct check digits (DV). Any match with real numbers is purely coincidental.
- Q.Is the generated data saved on a server?
- No. All generation and validation processes are completed within your browser. No data is sent to external servers.
- Q.Does it support the new CNPJ alphanumeric format?
- Yes. It fully supports the new CNPJ alphanumeric format check digit calculation (ASCII code conversion) scheduled for implementation in 2026.
- Q.What is an "Invalid repeated value"?
- Numbers with repeating digits like "111.111.111-11" pass the mathematical check digit calculation, but are considered invalid under official Brazilian rules. This tool correctly applies this rule and invalidates such values.
- Q.How many can I generate at once?
- You can generate up to 1,000 numbers at once in bulk, and easily copy the results to your clipboard.
Trường hợp sử dụng
E-commerce Development
Use as test data to validate registration forms and payment processes on Brazilian market e-commerce platforms.
System Migration Testing
Verify schema changes and validation logic updates required for the upcoming 2026 "CNPJ Alfanumérico" format.
Mock Data Generation
Bulk generate up to 1,000 valid CNPJ/CPF numbers for database pagination and load testing.
Validation Edge Cases
Create test cases to confirm proper error handling for invalid characters, repeated digits, or incorrect lengths.
Gửi phản hồi
Vui lòng cho chúng tôi biết suy nghĩ của bạn để giúp chúng tôi cải thiện công cụ.
Feedback is temporarily suspended
The server is busy or spam protection is active. Please try again later.