CodeToolsHub.dev

Alphanumeric CNPJ Generator (2026, valid format, fictional)

Live

Generate fictional CNPJs in Brazil's new 2026 alphanumeric format.

All generated data is fictional and intended for development, testing, QA, prototyping, and automation only. Do not use it for fraud, impersonation, or illegal activity.

Configuration

Output

Configure the options and press Generate to produce output.

About this tool

Starting July 2026, Brazil's Receita Federal issues CNPJs with letters and numbers (Instrução Normativa RFB nº 2.229/2024). The first 12 positions become alphanumeric (8 root + 4 establishment, A–Z and 0–9) while the last 2 stay numeric check digits. The check digit still uses mod-11, now computed over each character's value (ASCII code − 48: '0'–'9' → 0–9, 'A'–'Z' → 17–42). Existing numeric CNPJs remain valid forever — use this tool to test validators, regexes, schemas and database columns against the new format before the cutover.

How it works

  1. Pick how many alphanumeric CNPJs to generate (the format is preset to Alphanumeric).
  2. Press Generate, then Copy, Download JSON or Download CSV.

Example output

[
  "L8.PJL.69Y/OM69-78",
  "38.FX1.6B5/KOOX-99"
]

API endpoint

curl "https://codetoolshub.dev/api/v1/br/cnpj-alfanumerico?count=3"
API

Frequently asked questions

When does the alphanumeric CNPJ take effect?
July 2026, per Instrução Normativa RFB nº 2.229/2024. Only new registrations get the alphanumeric format; existing numeric CNPJs are unchanged.
Are these valid?
They are valid in format — the check digits pass the official mod-11 over ASCII−48 — but fictional and not tied to any real company.
Can it generate branches (filiais)?
Yes — set the Filiais field above 0 and each record becomes a group: a matriz (0001) plus N filiais that share the same root, each with its own establishment code and recomputed check digits.

Related tools