Source: https://paraglidejs.com/comparison

# Compare Paraglide JS, i18next, and React Intl

Paraglide compiles source translations into typed JavaScript functions. i18next and React Intl resolve messages through runtime APIs, with catalog delivery configured by your app. Choose based on your translation workflow, loading strategy, and framework integration.

For a new React app, start with [choosing a React + Vite i18n library](https://paraglidejs.com/react-i18next-alternatives). For a focused migration comparison, read [Paraglide vs react-i18next](https://paraglidejs.com/paraglide-vs-react-i18next). The [benchmark](https://paraglidejs.com/benchmark) measures configured applications, including both bundled and HTTP-loaded i18next.

## Messages, types, and production loading

| Capability | Paraglide JS | i18next | React Intl / FormatJS |
| --- | --- | --- | --- |
| Message access | Generated function calls | Runtime dictionary lookup | Runtime formatting APIs and React components |
| Unused-message removal | Static references let the bundler remove unused message functions | Catalog size depends on resource and namespace loading | Catalog size depends on supplied messages and application splitting |
| Default locale delivery | Retained messages include configured locales | [Bundle or load languages/namespaces](https://www.i18next.com/how-to/add-or-load-translations) | Application supplies messages for the active locale |
| Typed message IDs | Generated from source messages | [Typed resources and selector API](https://www.i18next.com/overview/typescript) | [Configurable typed IDs](https://formatjs.github.io/docs/react-intl/#typing-message-ids-and-locale) |
| Typed interpolation parameters | Generated message signatures | Inference depends on resource declarations and configuration | Check the [typed-message APIs](https://formatjs.github.io/docs/react-intl/) for your version and resource setup |
| Plurals and selection | [Variants](https://paraglidejs.com/variants), including plural categories | [Plurals](https://www.i18next.com/translation-function/plurals) and context | [ICU MessageFormat](https://formatjs.github.io/docs/core-concepts/icu-syntax) |
| Rich text in React | [Typed markup adapter](https://paraglidejs.com/markup) | [Trans component](https://react.i18next.com/latest/trans-component) | [Rich-text formatting](https://formatjs.github.io/docs/react-intl/components/#rich-text-formatting) |
| Translation changes after deployment | Compiled message changes require build/deployment | Runtime resources can be updated independently | App can supply updated messages at runtime |
| Translation workflow | [General Translation](https://paraglidejs.com/translating-messages) through the inlang CLI (recommended), or the Fink editor, translate the message files | JSON resources can be translated in any tool that reads them; [Locize](https://www.locize.com/) is i18next's commercial translation-management partner | The [FormatJS CLI](https://formatjs.github.io/docs/tooling/cli) extracts messages for a translation management system and compiles the translated files |

Typed IDs, generated parameter contracts, and runtime validation are different guarantees. All depend on your application's checking and delivery setup. Runtime lookup does not require bundling all languages or every catalog entry.

## Why fewer bytes can still render later

A catalog discovered only after app startup adds a serial dependency:

```text
Download app JavaScript → execute/initialize app → discover catalog URL → fetch catalog → render translated UI
```

Paraglide's statically imported message functions let bundlers discover translations at build time and bundle or preload them with app code. Fetches can overlap instead of waiting for runtime catalog discovery. A smaller, later-starting catalog can therefore delay translated UI more than a larger, earlier-starting bundle. See [Don't Lazy-Load Translations](https://paraglidejs.com/blog/dont-lazy-load) for the loading-waterfall rationale.

Other libraries can also bundle or preload catalogs. This advantage depends on delivery configuration; it does not prove every runtime library is slower. It is separate from unused-message tree-shaking and active-locale loading, and the [benchmark](https://paraglidejs.com/benchmark) does not isolate each mechanism's contribution.

## Routing and framework integration

Paraglide provides [locale detection strategies](https://paraglidejs.com/strategy), [localized URL helpers](https://paraglidejs.com/i18n-routing), and [middleware](https://paraglidejs.com/middleware) for request-scoped SSR. Follow the maintained [TanStack Start](https://paraglidejs.com/tanstack-start), [SvelteKit](https://paraglidejs.com/sveltekit), or [React Router](https://paraglidejs.com/react-router) integration for your framework. Plain message functions also work outside React.

i18next has framework bindings and [server middleware](https://github.com/i18next/i18next-http-middleware); React Intl supplies React formatting APIs. Compose locale routing and request isolation with your framework rather than sharing mutable locale state across concurrent SSR requests. See each integration's SSR instructions.

Paraglide's standard locale switch performs document navigation. react-i18next can update a running React tree through `changeLanguage()`, while React Intl receives locale and messages through its provider. If preserving in-memory UI state across language changes is essential, include that requirement in your evaluation.

## Tree-shaking and active-locale loading

Unused-message tree-shaking removes message functions your application does not reference. Active-locale loading avoids delivering translations for other languages. One does not prove the other.

Default Paraglide output includes configured locales for each retained message. [Per-locale builds](https://paraglidejs.com/compiling-messages#experimental-per-locale-builds) are the recommended approach for shipping only the active locale, with additional deployment and framework constraints. There is no universal threshold such as “20 locales” at which a loading strategy becomes better: message usage, compression, caching, and route splitting all matter.

The [benchmark](https://paraglidejs.com/benchmark) shows cases where HTTP i18next transfers fewer bytes while Paraglide reaches translated DOM readiness sooner. Read the conditions and measured losses as well as the wins. These client-rendered Vite measurements do not establish SSR, React rendering, or cross-device performance.

To verify unused-message removal yourself, run the [tree-shaking probe](https://paraglidejs.com/build-workflow#does-tree-shaking-remove-unused-messages). Generated files are [Git-ignored by default](https://paraglidejs.com/build-workflow#should-i-commit-generated-files); compilation is part of dev/build rather than a required generated-file commit before each push.

## Further Reading

- [Why I Replaced i18next with Paraglide JS](https://dropanote.de/en/blog/20250726-why-i-replaced-i18next-with-paraglide-js/) — A developer's experience reducing bundle size from 40KB to 2KB
- [react-i18next Was Fine. Then I Found Paraglide.](https://brodin.dev/blog/paraglide-vs-react-i18n) — A developer's experience moving from react-i18next to Paraglide
- [Inlang / ParaglideJS blew my mind](https://dev.to/robertosnap/inlang-paraglidejs-blew-my-mind-3984) — A developer's first impressions using Paraglide JS with Remix

## Try a representative production build

Use your actual catalogs, routes, locale count, rich text, and deployment target. Check translated content, language switching, generated types, initial transfer, and subsequent navigation before selecting a library.

[React + Vite guide](https://paraglidejs.com/react) · [Build workflow and CI](https://paraglidejs.com/build-workflow) · [Benchmark and reproduction](https://paraglidejs.com/benchmark)
