CNPJ Validator & Formatter — Bulk Check (Free)
Pricing
Pay per usage
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
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.

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
| Field | Description |
|---|---|
valid | Passed the official check-digit verification (módulo 11). |
reason | Why it failed: not_14_digits, repeated_digits or bad_check_digit — or ok. |
cnpj / cnpj_formatado | Clean 14 digits and the 00.000.000/0000-00 display form. |
matriz | true = headquarters (order 0001), false = branch (filial). |
raiz | First 8 digits — shared by all branches of the same company. |
is_duplicate | Another 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
matrizandraiz - 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?
- Brazilian Companies Finder (CNPJ Discovery) — don't have a list yet? Search 27.8M active Brazilian companies by CNAE activity + state, straight from the official registry index.
- CNPJ Lookup — Brazilian Company Registry Data — full official record per CNPJ: legal name, status, address, partners, capital, phone and email when on file.
- Lead Enricher & ICP Scorer — verify, dedupe and score any lead list 0–100 against your ideal customer profile.
Full pipeline: validate here (free) → Discovery finds more → Lookup pulls the data → Enricher scores what's worth contacting.