1001Ferramentas
💱 Converters

BR ↔ US Number Format Converter

Converts numbers in bulk between Brazilian (1.234,56) and US (1,234.56) formats, auto-detecting the decimal separator line by line.

One number per line, or paste a whole CSV/TSV. Line breaks and columns are kept exactly as they came in.

How the detection works

When a number carries both separators, the last one is the decimal mark: in 1.234,56 the comma comes last, so it is Brazilian; in 1,234.56 the dot comes last, so it is American. That single rule settles most of a spreadsheet column without any guessing.

The hard case is a lone separator followed by exactly three digits: 1,234 can be one thousand two hundred and thirty-four or one point two three four. The tool looks at the rest of the text for an unambiguous number and copies that convention; with no tiebreaker it treats the separator as a thousands mark and lists the line so you can check it.

Comma or dot: which one is decimal

A report exported from a US system arrives full of 1,234.56 and a spreadsheet set to Brazilian Portuguese reads every cell as text, or swallows the comma and shows 123456 instead. This tool rewrites the numbers one by one, line by line: the decimal mark and the thousands mark swap roles while everything around them stays put. Paste the whole column, pick the target format and copy it back.

Detection works per number, not per file. When both separators show up in the same number, the last one is the decimal mark: in 1.234,56 the comma closes it, so the number is Brazilian; in 1,234.56 the dot closes it. The awkward case is a lone separator followed by exactly three digits, since 1,234 can be one thousand two hundred thirty-four or one point two three four. The tool then hunts the rest of the text for an unambiguous number and copies that convention.

The detail that catches people comes from accounting: a value in parentheses is negative, so (1.234,56) comes out as -1234.56 rather than leaving a stray bracket in the column. Table mode touches only fully numeric fields, leaving headers, product names and the delimiter untouched. Forcing two decimal places rounds half up on the digit strings instead of going through floating point, so 9.995 becomes 10.00 and not 9.99.

Frequently asked questions

What happens to a number like 1.234, which could be a thousand or one and a bit?
It is flagged as ambiguous. The tool scans the rest of the text for a number that leaves no doubt, such as 89,90, and applies the same convention to it. With no tiebreaker anywhere in the text, the separator is read as a thousands mark and the line is listed in the panel so you can check it before pasting into the sheet.
Do currency symbols and percent signs glued to the number survive?
Yes, as long as the keep-symbols option stays checked, which is the default. Prefixes and suffixes stuck to the number come out in the same spot: R$1.234,56 becomes R$1,234.56 and 50% stays 50%. Unchecking the option strips the glued symbol and leaves the bare number, which helps when the target is a numeric database column.
Can I convert a whole CSV without wrecking the text columns?
Turn on table mode and set the delimiter, usually a semicolon or a comma. Each line is split into fields and only the fully numeric ones are converted, so descriptions, dates and headers stay exactly as they were. If the delimiter appears in no line at all, a notice tells you the input was treated as a single column.

Related Tools