Developer Tools / Bulk Formatter

CNPJ/CPF Bulk Formatter

Format or unformat multiple CNPJ and CPF numbers at once. Auto-detects type and validates each entry.

Output format:

Results ( processed)

Valid
Invalid
Total
Original Result Type Valid
Copied!

API Endpoint

POST /api/tools/format/bulk Content-Type: application/json {"values": ["12345678000195", "12345678901"]}

Response includes: original, formatted, unformatted, type, isValid

Bulk CNPJ/CPF Formatting

This tool allows you to format or unformat multiple CNPJ and CPF numbers simultaneously. It automatically detects the type of each number and validates it.

Features

  • Auto-detection: Automatically identifies whether each number is a CNPJ or CPF
  • Validation: Checks if each number is mathematically valid
  • Bulk processing: Process hundreds of numbers at once
  • Export: Download results as CSV for further processing

Format Examples

  • CNPJ formatted: 12.345.678/0001-95
  • CNPJ unformatted: 12345678000195
  • CPF formatted: 123.456.789-09
  • CPF unformatted: 12345678909

Use Cases

  • Preparing data for import into systems with specific format requirements
  • Cleaning up lists of tax IDs from various sources
  • Validating batches of customer or supplier data
  • Converting between formatted and unformatted representations