Intl Formatting Playground

Live browser Intl APIs — numbers, dates, relative time, lists, plurals, and locale-aware sorting. Change locale and watch formatting rules update instantly.

LTR

Intl.NumberFormat

Decimal separators, grouping, currency symbol placement, percent, units, and compact notation vary by locale.

Style
Currency
Value
Output
—

    

Intl.DateTimeFormat

Date/time styles, calendar system, and time zone affect how the same instant is displayed.

Date
Time
Time zone
Output (2025-12-27T15:30:00Z)
—

    

Intl.RelativeTimeFormat

Human-readable "2 days ago" / "in 3 hours" strings — grammar differs by locale.

Amount
Unit
Style
Output
—

    

Intl.ListFormat

Conjunction ("A, B, and C") and disjunction ("A, B, or C") with locale-specific separators.

Type
Style
Output
—

    

Intl.PluralRules

Select the correct plural category — English has 2, Polish has 4, Arabic has 6.

Count
Category
—


    

Intl.Collator

Locale-aware sort vs naive .sort() — accents, case, and script order differ.

Sensitivity
Comparison
Naive .sort()
    Intl.Collator