MagicTools

Number Formatter

Format any number as thousands-separated, scientific, currency, percentage, compact, or base conversions.

Decimal
1234567.89
Thousands Separator
1,234,567.89
Scientific Notation
1.23e+6
Currency (USD)
$1,234,567.89
Percentage
1,234,567.89%
Compact
1.23M
Binary
N/A (integers only)
Octal
N/A (integers only)
Hexadecimal
N/A (integers only)

How to use / Why use this tool / FAQ

How to use

Enter any number in the input box. Adjust decimal places and select a currency. All format variants update instantly. Click Copy next to any row to copy that format.

Why use this tool

Save time when you need to present numbers in multiple formats — financial reports, code comments, UI copy, or data export. All processing is local.

FAQ

What is compact notation?
Compact notation shortens large numbers using suffixes like K (thousands), M (millions), and B (billions). For example, 1,200,000 becomes 1.2M.
Why are Binary/Octal/Hex only for integers?
Base conversions require whole numbers. If you enter a decimal like 3.14, these fields show 'N/A (integers only)'.
Which currencies are supported for formatting?
USD, EUR, GBP, JPY, and CNY are supported, each with locale-appropriate formatting.