esc
16 free tools

Brazil tools
CPF and CNPJ

Generate mathematically valid CPF and CNPJ numbers for testing software, and check whether a CPF or CNPJ has the right check digits, including the alphanumeric CNPJ introduced in July 2026. Everything runs in your browser.

File character carrying papers
CPF generatorGenerate valid CPF numbers to test forms and systems. CPF validatorType a CPF to check its two check digits. CNPJ generatorGenerate valid CNPJ numbers, numeric or alphanumeric, to test systems. CNPJ validatorType a CNPJ to check its two check digits. Brazil 3 × 4 photoA “foto 3x4” is 3 cm wide and 4 cm tall, the small photo that Brazilian schools, courses and many registrations ask for. Crop yours and print a sheet. Calcular dias úteisCalcular dias úteis: count the working days between two dates, or find the date that is N dias úteis after another, skipping weekends and Brazil’s national holidays. Valor por extensoType an amount and get it written out in Portuguese, ready for a cheque, a recibo, a nota promissória or a contract. Validar CNSType a 15-digit cartão SUS number to check it with the same rule e-SUS and the ANS use. Converter placa MercosulType an old grey plate to see its Mercosul version, or a Mercosul plate to see the old plate it came from. Chave de acesso NF-ePaste the 44-digit chave de acesso from a DANFE to see who issued the invoice, when and from which state, and to check its digit. Alqueire em hectareQuantos hectares tem um alqueire? Depende: 2.42 ha o paulista, 4.84 ha o mineiro, 2.72 ha o do Norte, 9.68 ha o baiano. Type alqueires of any kind, hectares or m² and see them all. Calcular INSS 2026Desconto INSS salário: type your gross monthly salary and see the INSS contribution with the 2026 progressive table, the amount of each band and the effective rate. Calcular IRRF 2026 e salário líquidoQuanto vou pagar de imposto de renda em 2026: type your gross salary and dependants to get the IRRF withheld, the Lei 15.270/2025 reduction and your salário líquido. Calcular 13º salárioDécimo terceiro proporcional: type your salary and the months worked this year to get the gross 13º salário, the first instalment and what is left for December. Calcular férias com 1/3Calculadora de férias CLT: type your salary and absences to get the days of férias, the férias pay with one third more, and the abono if you sell 10 days. Gerar QR Code PixType your chave Pix, name and city to get a QR code and the Pix copia e cola text for it, with a set valor if you like. Or paste a copia e cola code to see what it really contains before you pay.

Every person in Brazil has a CPF and every company a CNPJ, and both end in two check digits worked out with module 11. Developers need valid-looking numbers to test forms, and everyone else sometimes needs to check that a number was typed correctly. These tools do both, in your browser.

What the tools do

  • Gerador de CPF: random CPF numbers with valid check digits, optionally for a chosen fiscal region.
  • Validar CPF: checks the two check digits of a CPF.
  • Gerador de CNPJ: random CNPJ numbers, numeric or in the new alphanumeric format.
  • Validar CNPJ: checks the check digits of a numeric or alphanumeric CNPJ.

What check digits can’t tell you

A number with the right check digits isn’t necessarily registered, active or yours. To see a CPF’s status or a company’s registration, use the Receita Federal’s official services.

Questions

Do these tools look up names or companies?

No. They only work with the check digits. Nothing is looked up at the Receita Federal or sent anywhere.

Can I use a generated CPF as a real one?

No. Generated numbers are random and only meant for testing systems. Using someone else’s CPF, or a made-up one, as your own is not allowed.

What is the alphanumeric CNPJ?

From July 2026, new CNPJs can have letters as well as digits in the first 12 characters. The last two characters are still digits, worked out with the same module 11 rule, counting each character as its ASCII code minus 48.