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.
Enabling local controls…
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.
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 →