COMPARISON · INTERNATIONALIZATION

@formatjs/intl vs. @lingui/core

Side-by-side comparison · 9 metrics · 13 criteria

@formatjs/intl v6.2.1 · MIT
Weekly Downloads
5.3M
Stars
14.8K
Gzip Size
13.6 kB
License
MIT
Last Updated
9mo ago
Open Issues
7
Forks
1.4K
Unpacked Size
116.2 kB
Dependencies
5
@lingui/core v6.12.0 · MIT
Weekly Downloads
3.0M
Stars
5.9K
Gzip Size
2.4 kB
License
MIT
Last Updated
8mo ago
Open Issues
52
Forks
477
Unpacked Size
43.7 kB
Dependencies
N/A
DOWNLOAD TRENDS

@formatjs/intl vs @lingui/core downloads · last 12 months

Download trends for @formatjs/intl and @lingui/core2 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.04.2M8.4M12.6M16.8MNov 2025FebMayAugOct 2026
@formatjs/intl
@lingui/core
FEATURE COMPARISON

Criteria · @formatjs/intl vs @lingui/core

License
@formatjs/intl
MIT
@lingui/core
MIT
Locale State
@formatjs/intl
Description does not specify active-locale tracking
@lingui/core ✓
Explicitly tracks the active locale
Date Formatting
@formatjs/intl ✓
Date formatting is explicitly included
@lingui/core
Description focuses on message formatting, not date formatting
Adoption Signals
@formatjs/intl ✓
Higher listed downloads, stars, and forks
@lingui/core
Lower listed downloads, stars, and forks
Catalog Workflow
@formatjs/intl
Described as a broad internationalization API, without a compiled-catalog runtime emphasis
@lingui/core ✓
Loads compiled message catalogs as a core runtime responsibility
Formatting Scope
@formatjs/intl ✓
Explicitly covers dates, numbers, strings, and pluralization
@lingui/core
Centers on ICU message formatting and compiled catalogs
Framework Context
@formatjs/intl
React appears among the listed topics
@lingui/core ✓
Topics include React, React Native, SolidJS, and Vue
Number Formatting
@formatjs/intl ✓
Number formatting is explicitly included
@lingui/core
Description focuses on message formatting, not number formatting
Unpacked Footprint
@formatjs/intl
116.2 kB unpacked
@lingui/core ✓
43.7 kB unpacked
Issue Backlog Signal
@formatjs/intl ✓
Fewer listed open issues
@lingui/core
More listed open issues
Runtime Responsibility
@formatjs/intl
Broad API for internationalization operations
@lingui/core
Focused runtime for catalog loading, locale tracking, and message formatting
Message Formatting Model
@formatjs/intl
Provides translation-related string formatting and pluralization
@lingui/core
Formats ICU MessageFormat messages
Reported Bundle Footprint
@formatjs/intl
13.6 kB gzip; larger reported bundle
@lingui/core ✓
2.4 kB gzip; smaller reported bundle
VERDICT

@formatjs/intl is oriented toward applications that need a broad JavaScript internationalization API for formatting dates, numbers, and translated strings, including pluralization. Its focus suits teams that want these internationalization capabilities exposed directly at runtime and value a package associated with a broad localization and UI ecosystem; the supplied metadata also lists React among its topics, without limiting the package to a particular rendering framework.

@lingui/core is specifically the Lingui runtime: it loads compiled message catalogs, tracks the active locale, and formats ICU MessageFormat messages. That focus makes it a natural fit for teams whose translation workflow produces compiled catalogs and whose application needs a runtime for switching locale and rendering those messages, rather than a general-purpose description centered on date and number formatting.

The key architectural distinction is the work each runtime is described as owning. @formatjs/intl presents formatting and translation-related operations as a broad internationalization API, while @lingui/core describes a catalog-driven flow in which compiled messages are loaded, an active locale is tracked, and ICU MessageFormat content is formatted; that difference affects where teams place catalog preparation and locale state in their application design.

Their stated technical scope also differs: @formatjs/intl explicitly covers dates, numbers, strings, and pluralization, whereas @lingui/core emphasizes compiled message catalogs and ICU MessageFormat. Choose @formatjs/intl when direct coverage of those formatting domains is central, and choose @lingui/core when the important runtime responsibilities are loading translated catalogs and formatting their messages; the available descriptions do not establish a specific plugin model or rendering strategy for either package.

The practical learning task follows that distinction. With @formatjs/intl, developers need to understand its formatting and translation API across the stated data types; with @lingui/core, they need to understand how compiled catalogs are supplied and how active-locale state governs message formatting. The supplied information does not specify TypeScript behavior, debugging facilities, or command-line tooling, so those should be checked against the project requirements rather than inferred from package descriptions.

Bundle footprint is a concrete consideration: @lingui/core is listed at 2.4 kB gzip, compared with 13.6 kB for @formatjs/intl, and its unpacked size is 43.7 kB versus 116.2 kB. For a frontend where transfer and install size are important, @lingui/core has the advantage in these reported measurements; that comparison alone does not establish total application cost, since the packages are described as providing different runtime scopes.

For an application that needs a single runtime API explicitly covering date, number, string, and plural formatting, @formatjs/intl is the clearer match. For a translation pipeline already organized around compiled message catalogs and ICU messages, especially when a smaller reported bundle is a priority, @lingui/core is the more directly aligned choice; teams should validate that the described runtime scope covers their additional formatting needs before adopting it.

Migration and maintenance decisions should account for the different message workflows rather than treating the packages as interchangeable runtimes. Moving from @formatjs/intl to @lingui/core may require adapting how messages are prepared and loaded and how active locale is managed, while moving in the other direction calls for mapping catalog-based message handling to the broader formatting API; the supplied data does not document compatibility or a migration utility.

The adoption signals favor @formatjs/intl in downloads, stars, and forks, and its listed open-issue count is lower, while @lingui/core has the smaller reported package footprints. Those figures can inform an evaluation, but they do not resolve feature fit: teams should make the final choice based on whether their application prioritizes direct date-and-number formatting breadth or a compiled-catalog runtime with explicit locale tracking.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

RELATED COMPARISONS 4
@formatjs/intl vs next-intl ★ 19.1K · 15.2M/wk @formatjs/intl vs i18next ★ 23.4K · 42.3M/wk @lingui/core vs i18next ★ 14.6K · 40.0M/wk @lingui/core vs next-intl ★ 10.3K · 12.9M/wk