digtools
🇧🇷
cpf/cnpj generator,

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).

🔒
100% Cục bộ
Không gửi dữ liệu
Hàng loạt
Lên đến 1.000 số
🔠
Chữ & Số
Hỗ trợ 2026
(Max 1,000)

⚠️ [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.

about,

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.

how to,

Cách sử dụng

STEP 1

Select Mode

Choose between the "Generate" or "Validate" tabs. For generation, select either CPF or CNPJ.

STEP 2

Set Options

For CNPJ, choose whether to use the new alphanumeric format, toggle punctuation on or off, and set the generation count.

STEP 3

Execute & Copy

Click the button to run the tool. Generated data can be easily saved to your clipboard using the "Copy" button.

glossary,

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.
faq,

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.
use cases,

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ụ.

Tuyên bố miễn trách nhiệm

Các công cụ được cung cấp trên trang web này hoàn toàn miễn phí, nhưng vui lòng sử dụng theo rủi ro của riêng bạn. Chúng tôi không đảm bảo về độ chính xác, đầy đủ hoặc an toàn của bất kỳ kết quả tính toán, kết quả chuyển đổi hoặc dữ liệu được tạo ra nào. Xin lưu ý rằng người vận hành không chịu trách nhiệm về bất kỳ thiệt hại hoặc sự cố nào gây ra bởi việc sử dụng các công cụ này. Hầu hết các công cụ xử lý tệp và tính toán ngay trong trình duyệt của bạn, nghĩa là dữ liệu bạn nhập không được gửi hoặc lưu trữ trên máy chủ của chúng tôi.