Number Formatter

Brazil (1.234,56)1.234.567,89
US/UK (1,234.56)1,234,567.89
Europe (1 234,56)1 234 567,89

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.

How to use the number formatter

  1. Pick a tab: Format a number, convert a Currency, or apply a document Mask.
  2. Type your value — the result updates instantly in every style.
  3. Copy any result with one click.

Use Cases: Who Needs a Number Formatter?

  • 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.

Why use this tool

  • 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.

Privacy First: Why Use Fastway Tools?

All formatting happens in your browser. Nothing you enter is uploaded, logged or stored on our servers — the processing runs in client-side JavaScript on your own device, so even document numbers you mask stay private. The tool is instant and works offline once the page has loaded.

FAQ

Which number formats are supported?

Brazilian (1.234,56), US/UK (1,234.56) and European (1 234,56) grouping and decimal styles, with an adjustable number of decimals.

Are the currency rates live?

No. The converter uses static reference rates for a quick estimate; for trading or accounting use an official live source.

Is my data sent anywhere?

No. All formatting, conversion and masking run entirely in your browser — nothing is uploaded.

Can it convert between currencies?

Yes. As well as formatting a number as currency with the correct symbol and separators, it can convert an amount from one currency to another using exchange rates, all within your browser.