← All tools

Intl.NumberFormat Playground: Locale, Currency & Percent

Compare locale, currency and percent formats using exact decimal strings. Inspect invisible separators, native options and copy JavaScript locally.

intl-number-formatLOCAL WORKSPACE

Enabling local controls…

1. Value & display settings

Local only. One ASCII decimal, up to 100 integer + 20 fractional digits. No exponent or grouping separators. Blank is not zero.

Format style
Compare locales (1–4)

Explicit BCP 47 tags, not country guesses. Unsupported requests are not silently replaced.

2. Compare & inspect

Enter a decimal or load a sample. No result is available for blank or invalid input.

Browser-native display, not arithmetic. Fraction limits can round the output; input remains unchanged. Leading/trailing zeros are formatting, not identifier preservation.

If copying is blocked, select the visible text and copy manually. Browser/locale data can change spaces, symbols and wording. No cross-browser string-equality guarantee.

Choose locale tags · Inspect other invisible text

How to use this tool

Enter a decimal or load a sample, compare up to four explicit locales, then inspect parts and copy the result or code. Custom fraction digits control display rounding.

When not to use it

Formatting only: no currency conversion, financial arithmetic, localized-number parsing or recovery of precision already lost upstream. Browser locale data can differ.

Read the guide →