Skip to content
Researched developer tool comparisonsPrices dated · vendor sources linked · no star ratings
Search

Stage 01 · Write · Researched comparison

Best JavaScript i18n Libraries in 2026

i18next is the first pick for most teams because it works across frameworks and has a large plugin ecosystem. react-i18next suits React apps that want hooks and a mature API. FormatJS (react-intl) is a strong alternative when you need strict ICU MessageFormat support and locale data from the browser. Teams on Next.js should also look at next-intl, which is built around the App Router.

By
Published 27 Nov 2026 · 7 tools compared

We run no ads and no affiliate links at launch. The order of a list follows our published method. See how we score.

Prices are the starting prices vendors list publicly. Plans change, so confirm the current price on the vendor page before you buy.

Key takeaways

  • i18next, FormatJS, LinguiJS, vue-i18n, next-intl and Paraglide JS are all free and open source.
  • i18next works with React, Vue, Angular, Svelte and plain JavaScript through framework bindings.
  • FormatJS follows ICU MessageFormat syntax and relies on the native Intl API for formatting.
  • Libraries handle message lookup and formatting only; translation management is a separate service.

Who each pick is for

  • Cross-framework apps that need one translation layeri18next
  • React apps that want hooks and a mature APIreact-i18next
  • Teams standardized on ICU MessageFormatFormatJS (react-intl)
  • Teams that want extracted messages and compile-time checksLinguiJS
  • Vue 3 apps that want an official-style i18n layervue-i18n
  • Next.js App Router projects with locale routingnext-intl
  • Projects that want compiled, type-safe messagesParaglide JS

Comparison

The 7 tools at a glance
ToolBest forStandout featureListed starting priceFree plan or trial
1i18nextCross-framework apps that need one translation layerWorks with many frameworks through bindingsFree (open source)Free plan
2react-i18nextReact apps that want hooks and a mature APIuseTranslation hook and HOC supportFree (open source)Free plan
3FormatJS (react-intl)Teams standardized on ICU MessageFormatFull ICU MessageFormat supportFree (open source)Free plan
4LinguiJSTeams that want extracted messages and compile-time checksMessage extraction from source codeFree (open source)Free plan
5vue-i18nVue 3 apps that want an official-style i18n layerDeep integration with Vue reactivity and templatesFree (open source)Free plan
6next-intlNext.js App Router projects with locale routingBuilt for the App Router and server componentsFree (open source)Free plan
7Paraglide JSProjects that want compiled, type-safe messagesCompiles messages into tree-shakable functionsFree (open source)Free plan

How we picked

We picked libraries that handle message lookup, plural rules, interpolation and locale formatting for JavaScript apps. Criteria were fit for common frameworks, supported platforms, licence and price, and the main limits such as message syntax and build steps. Sources are vendor documentation, project repositories and public pricing pages. All listed projects are free and open source. Prices and features change, so confirm details on the vendor site.

The tools, one by one

01

i18next

Best for cross-framework apps that need one translation layer

Visit i18next.com
i18next homepage
i18next homepage, captured Nov 2026

What it is and where it fits

i18next is a framework-agnostic internationalization library. It loads translation resources from JSON or other backends, handles interpolation, context, plurals and namespaces, and ships bindings for React, Vue, Angular, Svelte and others. The core package is small, and features like language detection, caching and backend loading are separate plugins.

It runs in browsers, Node.js and React Native. The project is MIT licensed. Plural rules come from its own format rather than ICU MessageFormat, so teams that already use ICU strings need to convert them. The number of configuration options is large, and a new project can spend time choosing plugins and loaders.

Skip i18next if your team has standardized on ICU MessageFormat everywhere, or if you want a single package with no plugin decisions. It fits projects that expect to change frameworks or share translation code across web and mobile.

Standout: Works with many frameworks through bindings

Pricing pointer

Free (open source), as listed by the vendor (i18next website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Works with many frameworks through bindings
  • large plugin and backend ecosystem

Drawbacks

  • Configuration has many options
  • plural handling differs from plain ICU

Skip it if this limit matters to you: configuration has many options.

Verdict. A sensible pick for cross-framework apps that need one translation layer.

Alternatives in this guide: react-i18next, FormatJS (react-intl), LinguiJS

02

react-i18next

Best for react apps that want hooks and a mature API

Visit react.i18next.com
react-i18next homepage
react-i18next homepage, captured Nov 2026

What it is and where it fits

react-i18next is the official React binding for i18next. It provides the useTranslation hook, a Trans component for embedded markup, and higher-order components for class components. It uses the i18next core for loading, plurals and interpolation, so behavior matches other i18next bindings.

It runs wherever React runs, including React Native with additional setup. The package is MIT licensed. Because it sits on top of i18next, you configure both the core and the binding, and Suspense-based loading needs correct fallback handling to avoid flicker.

Choose it when your app is React-only and you want hooks plus the i18next ecosystem. If you prefer ICU MessageFormat syntax, FormatJS is a closer fit. If you use Next.js App Router, check next-intl before adding a client-side loader.

Standout: useTranslation hook and HOC support

Pricing pointer

Free (open source), as listed by the vendor (react-i18next website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • useTranslation hook and HOC support
  • shares resources with the i18next core

Drawbacks

  • Adds a dependency layer over i18next
  • Suspense setup needs care

Skip it if this limit matters to you: adds a dependency layer over i18next.

Verdict. A sensible pick for react apps that want hooks and a mature API.

Alternatives in this guide: i18next, FormatJS (react-intl), LinguiJS

03

FormatJS (react-intl)

Best for teams standardized on ICU MessageFormat

Visit formatjs.github.io
FormatJS (react-intl) homepage
FormatJS (react-intl) homepage, captured Nov 2026

What it is and where it fits

FormatJS is a set of packages for internationalization, with react-intl as the React binding. Messages use ICU MessageFormat syntax, which covers plurals, select, selectordinal and rich text. Number, date and relative time formatting use the browser's native Intl API, so locale data comes from the runtime.

It runs in browsers and Node.js, and the packages are MIT licensed. The ICU syntax is precise but wordy, and translators need tooling that understands it. Non-React bindings exist but get less attention than react-intl, so Vue or Svelte teams may prefer another library.

Pick FormatJS when ICU MessageFormat is a requirement or when you want formatting to follow the platform Intl implementation. Skip it if your translators work in plain key-value JSON and the ICU syntax would slow them down.

Standout: Full ICU MessageFormat support

Pricing pointer

Free (open source), as listed by the vendor (FormatJS (react-intl) website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Full ICU MessageFormat support
  • built on the native Intl API

Drawbacks

  • Message syntax is verbose
  • React binding is the best-supported path

Skip it if this limit matters to you: message syntax is verbose.

Verdict. A sensible pick for teams standardized on ICU MessageFormat.

Alternatives in this guide: i18next, react-i18next, LinguiJS

04

LinguiJS

Best for teams that want extracted messages and compile-time checks

Visit lingui.dev
LinguiJS homepage
LinguiJS homepage, captured Nov 2026

What it is and where it fits

LinguiJS is an internationalization framework with a CLI that extracts messages from source code into catalogs. Messages use ICU MessageFormat syntax, and a compile step validates and compiles catalogs before runtime. It provides bindings for React and support for plain JavaScript.

It runs in browsers and Node.js and is MIT licensed. The extraction and compile steps fit well into CI, catching missing or broken messages before release. The tradeoff is build configuration: you add CLI commands and a compile step, which is more setup than a runtime-only library.

Choose LinguiJS when you want message catalogs generated from code and checked at build time. Skip it for small projects where a runtime loader and hand-edited JSON are enough.

Standout: Message extraction from source code

Pricing pointer

Free (open source), as listed by the vendor (LinguiJS website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Message extraction from source code
  • compile-time validation of messages

Drawbacks

  • Build-step setup adds complexity
  • smaller ecosystem than i18next

Skip it if this limit matters to you: build-step setup adds complexity.

Verdict. A sensible pick for teams that want extracted messages and compile-time checks.

Alternatives in this guide: i18next, react-i18next, FormatJS (react-intl)

05

vue-i18n

Best for vue 3 apps that want an official-style i18n layer

Visit vue-i18n.intlify.dev
vue-i18n homepage
vue-i18n homepage, captured Nov 2026

What it is and where it fits

vue-i18n is the internationalization library maintained for Vue. It provides a $t function in templates, a Composition API useI18n hook, pluralization, interpolation, datetime and number formatting, and lazy loading of locale messages. It tracks the active locale reactively, so components update when the language changes.

It runs in Vue 3 apps in the browser and in server-side rendering setups. The project is MIT licensed. Message syntax is vue-i18n's own linked-message format rather than ICU, so strings are not portable to FormatJS without conversion.

Pick it for Vue projects. If you need the same translation files across a Vue frontend and a React or server codebase, a framework-agnostic library like i18next may be simpler.

Standout: Deep integration with Vue reactivity and templates

Pricing pointer

Free (open source), as listed by the vendor (vue-i18n website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Deep integration with Vue reactivity and templates
  • supports Composition and Options API

Drawbacks

  • Vue-specific, so it does not port to other frameworks
  • message syntax is its own format

Skip it if this limit matters to you: vue-specific, so it does not port to other frameworks.

Verdict. A sensible pick for vue 3 apps that want an official-style i18n layer.

Alternatives in this guide: i18next, react-i18next, FormatJS (react-intl)

06

next-intl

Best for next.js App Router projects with locale routing

Visit next-intl.dev
next-intl homepage
next-intl homepage, captured Nov 2026

What it is and where it fits

next-intl is an internationalization library for Next.js. It supports the App Router, server components and client components, and provides middleware for locale-based routing. Messages use ICU syntax, and the library handles formatting for dates, numbers and relative time.

It runs only in Next.js projects and is MIT licensed. Because it is tied to one framework, it is not a fit for mixed stacks. Setup involves routing configuration and message loading per request, which is more work than a client-only library but fits server rendering.

Choose next-intl when your app is on the Next.js App Router and you want locale routing and server rendering handled together. For Pages Router projects or non-Next stacks, use i18next or FormatJS instead.

Standout: Built for the App Router and server components

Pricing pointer

Free (open source), as listed by the vendor (next-intl website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Built for the App Router and server components
  • handles locale-based routing

Drawbacks

  • Tied to Next.js
  • ICU messages need care with rich text

Skip it if this limit matters to you: tied to Next.js.

Verdict. A sensible pick for next.js App Router projects with locale routing.

Alternatives in this guide: i18next, react-i18next, FormatJS (react-intl)

07

Paraglide JS

Best for projects that want compiled, type-safe messages

Visit inlang.com
Paraglide JS homepage
Paraglide JS homepage, captured Nov 2026

What it is and where it fits

Paraglide JS is an i18n library from the inlang project. It compiles translation files into JavaScript functions at build time, so message keys are type-checked and unused messages are dropped from the bundle. It works with several frameworks, including SvelteKit, Next.js and plain JavaScript.

It runs in browsers and Node.js and is MIT licensed. The compile step means translations are validated during the build rather than at runtime. The tradeoff is dependence on the inlang toolchain and a younger ecosystem than i18next or FormatJS.

Pick Paraglide JS when bundle size and type safety matter and you are willing to add a build step. Skip it if you need a runtime loader that fetches translations after deploy without rebuilding.

Standout: Compiles messages into tree-shakable functions

Pricing pointer

Free (open source), as listed by the vendor (Paraglide JS website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Compiles messages into tree-shakable functions
  • type-safe message keys

Drawbacks

  • Requires a build step and the inlang toolchain
  • newer than established options

Skip it if this limit matters to you: requires a build step and the inlang toolchain.

Verdict. A sensible pick for projects that want compiled, type-safe messages.

Alternatives in this guide: i18next, react-i18next, FormatJS (react-intl)

Who should use what

A React team with a long-lived app and many contributors should start with react-i18next for hooks and the i18next ecosystem. A team that already writes ICU MessageFormat strings, or needs formatting to follow the browser Intl API, should use FormatJS. A Vue 3 project should use vue-i18n for reactive templates and Composition API support. A Next.js App Router project should use next-intl so locale routing and server rendering are handled together. Teams that want compile-time message checks can add LinguiJS or Paraglide JS.

Questions to settle before you buy

What to check before you buy

  • Confirm the library supports your framework version and rendering mode, including server rendering.
  • Check the message syntax: ICU MessageFormat, a custom format, or compiled functions.
  • Verify plural and gender handling for the languages you ship, not just English.
  • Review how translations load: bundled at build time, fetched at runtime, or compiled.
  • Check the licence and whether the project is actively maintained.

FAQ

Are these JavaScript i18n libraries free?

Yes. i18next, react-i18next, FormatJS, LinguiJS, vue-i18n, next-intl and Paraglide JS are all open source under the MIT licence. You pay nothing for the libraries. Costs come from translation services, translators or hosting, which are separate from the library.

Do i18n libraries translate my text for me?

No. These libraries look up messages, apply plural rules and format dates and numbers. You supply the translated strings, either by writing them or by using a translation service. The library decides which string to show for the active locale.

Can I use one library across React and Vue?

i18next is the most practical choice for mixed stacks because it has bindings for several frameworks and shares translation resources. Framework-specific libraries like react-i18next and vue-i18n only work in their own framework. FormatJS has non-React bindings but they get less support.

What is the difference between ICU MessageFormat and i18next plurals?

ICU MessageFormat uses a single string syntax with plural, select and selectordinal blocks. i18next uses its own plural suffixes and context keys in JSON. ICU strings are more portable across tools, while i18next JSON is simpler for translators who work in key-value files.

Do these libraries send my data anywhere?

The libraries run in your app and do not send translation data to a third party by themselves. If you use a runtime backend plugin or a translation management service, data leaves your app according to that service's terms. Check the backend configuration before shipping.

Sources we checked

Method: how we score · editorial policy.

  1. i18next (official site)
  2. react-i18next (official site)
  3. FormatJS (react-intl) (official site)
  4. LinguiJS (official site)
  5. vue-i18n (official site)
  6. next-intl (official site)
  7. Paraglide JS (official site)

Change log. First published 27 Nov 2026.