Number Format

Format numbers in multiple locales and styles

Standard

Locale-formatted with thousands separators

1,234,567.89

No Decimals

Integer representation

1,234,568

Scientific

Scientific notation (e.g. 1.23e+6)

1.23e+6

Compact

Compact form (1.2M, 4.5B)

1.23M

Percent

Value × 100 as percentage

123,456,789%

Currency USD

US Dollar

$1,234,567.89

Currency EUR

Euro

€1,234,567.89

Currency INR

Indian Rupee (lakh format)

₹1,234,567.89

Currency JPY

Japanese Yen

¥1,234,568

Binary

Binary (integer part)

0b100101101011010000111

Hex

Hexadecimal (integer part)

0x12D687

Octal

Octal (integer part)

0o4553207

Words

Approximate word form

1.23 million

About the Number Formatter

This number formatter makes long numbers readable in whichever form suits the audience: thousands separators, a fixed number of decimal places, scientific notation for very large or small values, and compact notation such as 1.2M for dashboards.

A number formatter is about making a figure readable at a glance. 1234567 requires counting digits; 1,234,567 does not. Separators are the single biggest improvement you can make to any figure a person has to read.

Notation choice depends on audience. Scientific notation suits very large or very small values where magnitude matters more than digits. Compact notation — 1.2M, 3.4K — belongs in dashboards and summaries where space is short and precision is not the point.

Decimal control matters for consistency. A column where some values show two decimals and others none reads as sloppy, and fixing the decimal count is what makes tables of figures scannable.

How to use the Number Formatter

  1. Enter your number. Type the value to format.
  2. Choose the notation. Pick standard, scientific or compact.
  3. Set the decimal places. Fix the number of decimals for consistency.
  4. Copy the result. Take the formatted number.

Number Formatter features

  • Thousands separators with locale-correct punctuation
  • Fixed decimal places
  • Scientific and compact notation, such as 1.2M
  • Percent and currency formatting in USD, EUR, INR and JPY
  • Binary, hexadecimal and octal output
  • Numbers spelled out in words
  • Locales including en-US, en-IN, de-DE, fr-FR, ja-JP and ar-SA

Frequently asked questions

Which formats are available?

Standard grouping, no decimals, scientific, compact, percent and currency, plus binary, hexadecimal, octal and a spelled-out words form. Decimal places are adjustable across the numeric formats.

When should I use compact notation?

In dashboards and summaries, where 1.2M is instantly readable and 1,200,000 has to be counted. Avoid it anywhere the exact figure matters, such as invoices or reconciliations.

Why does the same number look different by locale?

Because the separators swap and the grouping rules differ. German writes 1.000,00, French uses a space, and Indian locales group in twos after the first three digits. Picking the reader's locale is the whole point.

What is the words format for?

Cheques, contracts and legal documents, where an amount is written out to remove ambiguity — and accessibility contexts where a spelled-out figure reads more naturally aloud.