CNPJ Validator & Formatter — Bulk Check (Free) avatar

CNPJ Validator & Formatter — Bulk Check (Free)

Pricing

Pay per usage

Go to Apify Store
CNPJ Validator & Formatter — Bulk Check (Free)

CNPJ Validator & Formatter — Bulk Check (Free)

Validate and format Brazilian CNPJs in bulk, for free: official check-digit verification, 00.000.000/0000-00 formatting, headquarters vs branch detection, duplicate flagging and a per-row reason for every invalid entry. Validar CNPJ em lote, gratis.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Gangary

Gangary

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Paste a list of CNPJs (Brazilian company tax IDs) — get back every one validated with the official check-digit algorithm, formatted, classified as headquarters or branch, with duplicates flagged and a clear reason for every invalid entry. Completely free, no charges, no login, no API key.

Cover

Em português: validar CNPJ em lote, verificar dígito verificador, formatar CNPJ, limpar planilha de CNPJs — grátis.

Perfect for cleaning a spreadsheet before paying for registry lookups: run your list here first, then send only the valid, deduplicated CNPJs to CNPJ Lookup.

Input example

{
"cnpjs": ["00.000.000/0001-91", "11222333000181", "11111111111111", "123"]
}

Formatted or digits-only, both work. Garbage rows (wrong type, empty, too short) never crash the run — they come back classified.

Output example

One row per input item, in the same order (spreadsheet in, spreadsheet out):

{
"input": "00.000.000/0001-91",
"cnpj": "00000000000191",
"cnpj_formatado": "00.000.000/0001-91",
"valid": true,
"reason": "ok",
"matriz": true,
"raiz": "00000000",
"is_duplicate": false
}

Output fields

FieldDescription
validPassed the official check-digit verification (módulo 11).
reasonWhy it failed: not_14_digits, repeated_digits or bad_check_digit — or ok.
cnpj / cnpj_formatadoClean 14 digits and the 00.000.000/0000-00 display form.
matriztrue = headquarters (order 0001), false = branch (filial).
raizFirst 8 digits — shared by all branches of the same company.
is_duplicateAnother row in your list normalized to the same CNPJ (different formatting, same company).

A run summary (total, valid, invalid, duplicates) is saved as the run's OUTPUT.

Use cases

  • Clean a CRM export or purchased list before enrichment — drop typos and duplicates for free
  • Validate user-supplied CNPJs in onboarding/checkout flows via API
  • Split matriz vs filial in a supplier or customer base using matriz and raiz
  • Pre-flight for paid lookups — validate here (free), then fetch full registry data only for the valid ones

Pricing

Free. No pay-per-event charges — you only cover Apify's standard compute usage, which for this Actor is negligible (it's pure computation, no network calls).

Is this compliant?

Yes — the Actor performs a mathematical validation (the public check-digit algorithm defined by Receita Federal). It sends no network requests and collects no data.

Need more than validation?

Full pipeline: validate here (free) → Discovery finds more → Lookup pulls the data → Enricher scores what's worth contacting.