Start a project

Tool 238 of 425 · JavaScript

Intl Format Playground

Formats a value with JavaScript's Intl APIs in several locales at once and gives you the code that produced it.

Intl Format Playground

Your input

Result

LocaleResult
Code

    01

    What it does

    Formats a value with JavaScript's Intl APIs in several locales at once and gives you the code that produced it.

    • Numbers, currency, percent, units and compact
    • Dates with time zones
    • Relative time, lists and plural rules
    • Compare any set of locales

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Results per locale and a code snippet, with a Copy and a Download button on every result.

    • Intl
    • Localisation
    • JavaScript

    Why it matters

    Hand-rolled number and date formatting breaks the moment a site goes international. The Intl APIs already know every locale's rules.

    This playground shows what each option does in your browser's real ICU data, so you can pick options before writing code.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Format. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Why do results differ between browsers?

    Each engine ships its own copy of the Unicode CLDR data, and versions differ slightly, e.g. spacing in French numbers.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk