JavaScript Intl Methods

Beginner
5 min read
Updated: Nov 2026
12 method guides
Method index

About This Index

This page is the JavaScript Intl Methods index. The Intl object exposes constructors and static helpers for locale-aware text. Each row below links to a full guide with syntax, examples you can run, and FAQs.

Learn what Intl is on /js/intl. Use this page when you need a specific API such as NumberFormat or DateTimeFormat.

Call APIs on Intl itself.

Write new Intl.NumberFormat("en-US") or Intl.getCanonicalLocales(tags). There is no new Intl(). For newer members, feature-detect with typeof first.

How to Call an Intl Method

Create a formatter with a locale, then format a value:

JavaScript
const d = new Date(Date.UTC(2024, 5, 15, 12, 0, 0));

console.log(new Intl.NumberFormat("en-US").format(1234.5));
console.log(new Intl.DateTimeFormat("en-US", { timeZone: "UTC" }).format(d));
console.log(new Intl.ListFormat("en").format(["A", "B", "C"]));
console.log(Intl.getCanonicalLocales("EN-us").join(", "));

JavaScript Intl Methods Table

All method guides in this JavaScript tutorial series (12 tutorials), grouped by what they do.

Locale helpers

2 methods

Normalize tags and list what the engine supports.

MethodDescriptionTutorial
getCanonicalLocales()Normalize locale tags to canonical BCP 47 form and drop duplicates.Open
supportedValuesOf()List supported calendars, currencies, time zones, units and more.Open

Formatters and collators

9 methods

Turn data into locale text, or compare strings with locale rules.

MethodDescriptionTutorial
CollatorCompare and sort strings with numeric and sensitivity options.Open
DateTimeFormatFormat dates and times for a locale and time zone.Open
DisplayNamesTurn language, region and currency codes into readable names.Open
DurationFormatFormat duration objects such as hours, minutes and seconds.Open
ListFormatJoin arrays into lists with and, or, or unit style.Open
NumberFormatFormat numbers, currencies and percents.Open
PluralRulesSelect plural categories such as one and other.Open
RelativeTimeFormatFormat relative phrases like 3 days ago.Open
SegmenterSplit text into graphemes, words or sentences.Open

Locale object

1 method

Inspect a locale tag as an object.

MethodDescriptionTutorial
LocaleParse language, region and script, and use maximize / minimize.Open

Frequently Asked Questions

Guides for getCanonicalLocales, supportedValuesOf, Collator, DateTimeFormat, DisplayNames, DurationFormat, ListFormat, Locale, NumberFormat, PluralRules, RelativeTimeFormat and Segmenter.
The Intl hub explains the idea and shows a short tour. This index lists every method and constructor guide so you can jump straight to one API.
Collator, DateTimeFormat, DisplayNames, DurationFormat, ListFormat, Locale, NumberFormat, PluralRules, RelativeTimeFormat and Segmenter. The static helpers are getCanonicalLocales and supportedValuesOf.
Guard newer members such as DurationFormat, Segmenter, supportedValuesOf, DisplayNames, ListFormat, RelativeTimeFormat and Locale on older engines.
Start with NumberFormat and DateTimeFormat, then Collator and ListFormat. Read the Intl hub first if you want the big picture.

Start with getCanonicalLocales()

Open the guide for normalizing locale tags: syntax, examples, and FAQs.

getCanonicalLocales() tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

13 people found this page helpful