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.
Result
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?
Do currency symbols and percent signs glued to the number survive?
Can I convert a whole CSV without wrecking the text columns?
Related Tools
CSV to JSON
Convert CSV to JSON. The first row becomes object keys, the rest become array items. Supports separators , ; and \t. Auto-detects numbers and booleans. Everything in your browser.
CSV → JSON Lines
Convert CSV to JSONL (one JSON object per line). Common format in logs, ML pipelines and document databases.
CSV ↔ vCard (.vcf) Batch Converter
Converts a CSV contact list into a multi-contact vCard (.vcf) file and back to CSV, with column mapping and vCard 3.0/4.0 output.