All formatting runs locally in your browser with the built-in Intl API. Nothing is sent to any server.
English (United States)
en-US · USD · LTR
- Date (full)
- Wednesday, August 19, 2026
- Date (short)
- 8/19/26
- Time
- 7:13:59 AM
- Number
- 1,234,567.89
- Currency
- $1,234.56
- Percent
- 85.45%
- 2 days ago
- 2 days ago
- In 3 weeks
- in 3 weeks
- 1 year ago
- last year
Plural rules
0
other
1
one
2
other
5
other
Why locale-aware formatting matters
- Dates: 03/04/2026 means March 4 in the US and 3 April in the UK — ambiguous dates are a common source of bugs.
- Numbers: 1,234.56 (US) vs 1.234,56 (Germany) vs 1 234,56 (France). Parsing the wrong format silently gives wrong totals.
- Currency: Symbol placement and decimal behaviour vary (JPY has no decimals, EUR differs by region).
- Plurals: Languages like Arabic have 6 plural categories. Always use
Intl.PluralRulesinstead of hardcoded if-else. - Direction: Arabic, Hebrew, and Persian are right-to-left. Set
dir="rtl"at the container level.
Need to translate full documents (PPTX, PDF, DOCX) into any of these locales?
Get started free