Zum Inhalt springen

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.

Im Browser konvertieren · Ohne Registrierung

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

Maximal 100.000 UTF-16-Einheiten pro Eingabe und 1.000.000 pro Ergebnis. Formate und Beispiele stehen unten.

Ergebnis

Gib Daten ein oder lade ein Beispiel und starte das Tool. Das Ergebnis erscheint hier.

Anwendung

  1. Paste CPF or CNPJ numbers, one per line, with or without dots, slashes and dashes — or choose a generator.
  2. Run the tool.
  3. Each number is shown formatted with ✓ or ✗; CPFs also show the fiscal region from the 9th digit.

Beispiel

529.982.247-25 → ✓ CPF, region 7 (ES/RJ)
12.ABC.345/01DE-35 → ✓ CNPJ (alphanumeric)

Details und Einschränkungen

CPF and CNPJ end with two check digits calculated with mod 11. From July 2026 new CNPJs can contain letters in the first 12 positions; each character counts as its ASCII code minus 48, so numeric CNPJs keep validating as before (IN RFB 2.229/2024).

Sequences such as 111.111.111-11 pass the arithmetic but are invalid and are rejected.

FAQ

Does a valid CPF mean it belongs to someone?

No. The check digits only catch typing errors. Use the Receita Federal services to check registration status.

What is the alphanumeric CNPJ?

A new CNPJ format with letters and digits in the first 12 positions, issued from July 2026. Existing numeric CNPJs stay valid.

Can I use the generated numbers?

Only as test data in software development. They are random and must not be used to identify people or companies.

Formatreferenzen

Tool-Seite aktualisiert: