DevTools Logo
All countries

Brazil CPF & CNPJ Test Data Generators

Generate synthetic Brazilian CPF and CNPJ test data directly in your browser for form and onboarding testing. The CPF generator produces 11-digit numbers with dual Mod-11 check digits, while the CNPJ tool handles numeric and 2026 alphanumeric formats with Mod-11 checks. Use both to exercise validation, formatting, and rejection paths in Brazilian payment and tax flows.

Tax & identity numbers

QA testing tips

  • Test CPF and CNPJ input with and without separators to confirm your normalization and masking logic.
  • Change one check digit in a generated value to confirm invalid CPF and CNPJ numbers are rejected.
  • Add a 2026 alphanumeric CNPJ sample to fixtures so newer format handling is covered.

All values are synthetic test data generated in your browser. They are not real, issued identifiers.