Web Tools
Number Formatter
Format numbers as decimal, currency, percentage, scientific notation, compact, unit, or ordinal. Supports 10 locales, 10 currencies, and 10 measurement units via Intl.NumberFormat. Shows all format modes at once for quick comparison. Runs entirely in your browser — your data never leaves your machine.
number format currency percentage scientific locale intl ordinal
Published May 29, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Enter any number and format it in 7 different modes using the browser’s built-in Intl.NumberFormat API. Switch between locales to see how numbers are displayed worldwide. Toggle the “Show All” button to preview every format mode simultaneously.
Features
- 7 format modes: decimal, currency, percentage, scientific, compact, unit, ordinal
- 10 locales: en-US, en-GB, de-DE, fr-FR, ja-JP, zh-CN, ko-KR, pt-BR, es-ES, ar-SA
- 10 currencies: USD, EUR, GBP, JPY, CNY, KRW, BRL, TRY, INR, AUD
- 10 units: kilometer, meter, celsius, fahrenheit, kilogram, gram, liter, milliliter, byte, kilobyte
- Decimal precision: configurable 0-6 decimal places
- Grouping toggle: enable/disable thousands separators
- All-formats preview: see every mode at a glance
- Copy to clipboard: one-click copy of formatted output
- 5 examples: large decimal, currency, percentage, scientific, compact
- Private: runs entirely in the browser — no data transmitted
Use Cases
- Formatting numbers for international audiences
- Converting numbers to currency strings
- Displaying large numbers in compact notation (1.5M, 2.3B)
- Generating ordinal numbers (1st, 2nd, 3rd)
- Comparing number formatting across locales