Skip to content

CPF / CNPJ Validator and Generator — Including Alphanumeric CNPJ

Validate Brazilian CPF and CNPJ numbers, including the new alphanumeric CNPJ from July 2026, and generate valid test numbers for software testing. Batch, formatted output, runs in your browser.

Mode

Numbers (one per line)

67 chars4 lines

Result

Type or paste on the left — the result updates as you type.

Validates the check digits only; it does not query the Receita Federal. Generated numbers are random test data.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: