Number Formatter
Free online number format converter, thousands separator and scientific notation
About Number Formatter
Takes a single numeric input and instantly displays it in seven representations: thousand-separated, scientific notation, USD currency, percentage (n/100), and binary, hexadecimal, and octal bases. Each output has its own copy button.
How to Use
1. Enter a decimal number in the input field. 2. The seven format cards appear automatically below. 3. Invalid input shows a red border with a validation message. 4. Click the Copy button next to any format to copy just that value.
Format Details
Thousand Separated uses toLocaleString('en-US'). Scientific uses toExponential(2) (one digit before, two after the decimal). Currency formats as USD via toLocaleString. Percentage divides by 100 and shows 2-6 fractional digits with a trailing %. Binary is prefixed 0b, hex 0x (uppercase), octal 0o — all computed from the absolute value via Number.MAX_SAFE_INTEGER guard; numbers beyond that show 'Too large' for the base conversions.
▶Why does the percentage value look small?
▶Why do binary, hex, and octal show 'Too large' for huge numbers?
▶Are negative numbers supported?
▶Can I copy all formats at once?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee