Every Brazilian company has a CNPJ, and you'll need one on invoices, contracts and supplier onboarding. Check it below, including the new alphanumeric format that Receita Federal started issuing in July 2026. Then see when to use Pix, TED or SWIFT to pay or get paid across the border. The validator runs in your browser, so nothing you type is sent anywhere.
CNPJ validator
Checker loading. If it doesn't appear, use the manual steps below.
How the CNPJ check digits work
- Take the first 12 characters. Each digit counts as its value; each letter counts as its ASCII code minus 48 (A = 17, B = 18 and so on).
- Multiply them by 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2 and add up. Divide by 11: if the remainder is 0 or 1 the first check digit is 0, otherwise it's 11 minus the remainder.
- Repeat with the first 13 characters and the weights 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2 to get the second check digit.
Example: 11.222.333/0001-81 is valid, and so is the Receita Federal's alphanumeric example 12.ABC.345/01DE-35. Branch 0001 is the head office (matriz). To see whether a company is active, use the Receita Federal CNPJ lookup. Background on the new format: CNPJ alfanumérico.
Pix vs TED vs SWIFT
| Pix | TED | SWIFT | |
|---|---|---|---|
| Scope | Domestic, BRL | Domestic, BRL | International, usually USD |
| Speed | Seconds, 24/7 | Same day, business hours | Usually 1 to 5 business days |
| Details | Pix key (CNPJ, email, phone or random key) or account | Bank, branch, account, CNPJ | SWIFT code, account or IBAN-style details, name and address |
| Typical use | Paying suppliers and contractors in Brazil | Larger domestic transfers | Payments from abroad, converted through a foreign exchange contract |
Pix is run by Brazil's central bank (Banco Central do Brasil). More on cross-border payments in the international business payments guide and how to pay international contractors.
Paying and getting paid in BRL with OneSafe
OneSafe is a neobank for companies that operate globally. A OneSafe account lets eligible businesses pay BRL by Pix from a USD balance, receive BRL by Pix (converted to USD), and get USD account details for ACH and wires plus SWIFT across 115+ countries (supported rails). Fees are on the pricing page.
Sign-up is free. Sending money needs a paid plan (plans). To give US clients your payment details, use the wire instructions template.
FAQ
How do I check if a CNPJ is valid?
A CNPJ has 14 characters: 8 for the company root, 4 for the branch and 2 check digits. Each check digit is a mod-11 calculation over the characters before it, using the weights 5 to 2 and 9 to 2 for the first and 6 to 2 and 9 to 2 for the second. If the remainder is 0 or 1 the digit is 0; otherwise it's 11 minus the remainder.
What is the alphanumeric CNPJ?
From July 2026, Brazil's Receita Federal issues new CNPJs whose first 12 characters can include letters as well as digits. The last 2 characters stay numeric check digits. Existing numeric CNPJs stay valid. For the calculation, each character's value is its ASCII code minus 48, so A counts as 17.
Does a valid CNPJ mean the company is active?
No. The check digits only catch typos. To see a company's registration status, use the Receita Federal CNPJ lookup.
What is the difference between Pix, TED and SWIFT?
Pix and TED are domestic transfers in reais inside Brazil. Pix runs 24/7 and settles in seconds; TED runs on business days within set hours. SWIFT is the international wire network for payments from abroad, usually in USD, which a Brazilian bank then converts to reais through a foreign exchange contract.
Can I receive Pix from abroad?
Pix itself is a domestic system. 'Pix internacional' services receive money abroad and then pay it out in reais by Pix in Brazil.
How does a Brazilian company receive payment from a US client?
The client can send an international SWIFT wire to the company's Brazilian account, or pay by ACH or wire to USD account details, from which the company pays out in reais by Pix. Exchange and tax rules apply, so check them with your accountant.
Can a company pay suppliers in Brazil by Pix from a USD balance?
Yes, through financial platforms that offer Pix. OneSafe lets eligible businesses pay BRL by Pix from a USD balance and receive BRL by Pix, which converts to USD.
These tools are for information only. They check formats and check digits, not account ownership. Always confirm payment details with the account holder before you send money. OneSafe is a financial technology company, not a bank. Banking services are provided by licensed partners. OneSafe product details come from faq.onesafe.io as of 5 December 2026.




