What Is a Number Formatter?
Numbers are written differently around the world: Brazil uses a dot for thousands and a comma for decimals, the US does the opposite, and much of Europe uses a space. Documents like CPF, CNPJ, CEP, phone numbers and credit cards each have their own mask. Getting these right by hand is fiddly and error-prone. This free Number Formatter formats numbers in Brazilian, US and European styles, converts between common currencies, and masks Brazilian documents — all instantly in your browser.
Numbers are written differently around the world: some countries group thousands with a dot and use a comma for decimals, others do the reverse, and many use a space. A number formatter takes a raw number and presents it in the convention you choose — with correct thousands separators and decimal places — and can also format it as currency or apply a document mask such as a CPF, CNPJ, phone or postal code.
Formatting Numbers
- Pick a tab: Format a number, convert a Currency, or apply a document Mask.
- Type your value — the result updates instantly in every style.
- Copy any result with one click.
When to Format
- Developers formatting numeric output for a report, invoice or interface in the right locale.
- Finance and accounting staff presenting figures with consistent separators and currency symbols.
- Anyone localising content for another country that writes numbers a different way.
- People applying masks to identifiers — turning raw digits into a formatted CPF, CNPJ, CEP or phone number.
How Formatting Works
For plain numbers the tool groups digits into thousands and places the decimal separator according to the selected locale — so 1234567.89 becomes 1,234,567.89, 1.234.567,89 or 1 234 567,89 depending on the convention. Currency formatting adds the symbol and the right number of decimal places, and can convert between currencies using exchange rates. A mask overlays a fixed pattern on a string of digits.
The locale matters because the same number can be ambiguous: "1.500" means one thousand five hundred in one country and one-point-five in another. Choosing the convention explicitly removes that ambiguity, which is essential when sharing figures across borders.
Benefits
- Brazilian, US and European number styles side by side.
- Quick currency estimates and CPF/CNPJ/CEP/phone/card masks in one place.
- Fully client-side: fast, private and free.
Formatting on Your Device
Numbers are formatted using JavaScript logic that runs in your browser. The numbers you input and the formatted results are processed entirely locally on your machine — nothing is sent to any server.