i18next
A strong pick. 1st of 9 translation libraries.
i18next is a mature translation library that works with any framework. It has the largest plugin ecosystem in its category and is kept up to date by maintainers funded through Locize. It is a strong, safe pick for most JavaScript and TypeScript apps, but its own message format and frequent major releases are real costs, and next-intl or Lingui can fit better in some setups.
Best for: Teams that want one well-supported translation stack across React, Vue, Node, React Native or plain JS, with plugins for language detection, loading and caching.
Scores
Overall8.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.5 to 8.5
i18next is the broadest and best-supported translation library for any JS stack, it is very well maintained, and it has a clean security record. It falls short of a 9 because of its own message format, frequent major releases, TypeScript slowdowns on large key sets and larger runtime bundles. next-intl for Next.js App Router, or Lingui and Paraglide for compile-time setups, can serve some teams better.
- npm downloadsLast4Weeks: The category leader by a wide margin
- github releasesLastYear: 94 releases, very active
- blog.codercops.com/blog/react-app-i18n-2026: Points to alternatives for specific setups such as Next.js
- tolgee.io/blog/react-i18n-libraries-comparison: Ecosystem strength against format limits
GPT-6.2 Sol: 8.5, likely 7.4 to 9.4
i18next is a strong first choice for new projects that need flexible catalog loading or shared translations across runtimes. For a Next.js App Router app built around ICU messages, next-intl is a simpler fit. The recent major upgrade, slower relative growth, and uneven repository safeguards keep the recommendation below a universal default.
- github.com/i18next/i18next/releases/tag/v27.2.2: Current stable release fixes real runtime and TypeScript edge cases.
- i18next.com/misc/migration-guide: Version 27 changes defaults and raises the Node.js minimum.
- reddit.com/r/nextjs/comments/1x1h8ji/what_i_learned_choosing_between_nextintl_and: Firsthand comparison favors next-intl for App Router and i18next across runtimes.
- medianDownloadsRatio, npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, scorecard: Install growth trails the catalog median and repository safeguards are uneven.
Needed by many6.7
How many developers need a tool for this job?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Most web and mobile apps with users in more than one country need translation, and i18next is not tied to any framework or runtime. That makes it wider than framework-bound peers like next-intl or Vue I18n. Many apps still ship in one language only, which keeps this below 8.
- i18next ecosystem: Official bindings for React, Vue, Angular, Svelte, Node and React Native
- phrase.com/blog/posts/the-best-javascript-i18n-libraries: Described as a complete i18n solution for any JS environment
GPT-6.2 Sol: 6.4, likely 5.2 to 7.4
Multilingual interfaces are a common need for public-facing products, and i18next covers browser, server, and mobile apps. Single-language projects have less use for a translation library. Web measurements show meaningful demand, though they only approximate how many JavaScript and TypeScript teams need one.
- almanac.httparchive.org/en/2025/seo#internationalization: About one in five measured pages used hreflang.
- i18next.com: Supports multiple runtimes and frontend frameworks.
Helps a lot8.4
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It covers plurals, context, nesting, interpolation, Intl-based formatting, namespaces, lazy loading and language detection, and it has typed keys. Its limits: the default format is not ICU, ICU support is all-or-nothing, a production setup means wiring several packages together, and typed keys can make TypeScript slow on large key sets. AI agents write correct code for it easily because so many examples exist.
- tolgee.io/blog/react-i18n-libraries-comparison: Says its plugin ecosystem is unmatched; criticizes the non-ICU format and multi-package setup
- i18next.com/overview/typescript: TypeScript support improved in v25.4 with enableSelector; docs have a slow-compile troubleshooting section
- github.com/gmaxlev/i18next-types-gen: Third-party workaround for type inference failing on many keys
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.8, likely 7.6 to 9.6
Version 27.2.2 covers locale-aware formatting, plurals, and fallbacks, and fixes several translation-key typing edge cases. Examples, CLI tooling, and interpolation checks give coding agents ways to catch mistakes. ICU requires a plugin, and Dify's measurements show that selectors can speed up type checking on large catalogs while taking real work to adopt. Runtime performance depends on how the app loads its catalogs.
- i18next.com/translation-function/formatting: Built-in Intl formatting and custom formatters.
- i18next.com/translation-function/plurals: Supports cardinal and ordinal plural forms.
- github.com/i18next/i18next/releases/tag/v27.2.2: Fixes typed keys, namespace handling, and locale matching.
- github.com/i18next/i18next-cli: First-party extraction, type generation, and catalog checks.
- github.com/langgenius/dify/issues/38648: Measures faster selector type checks and documents migration friction.
- github.com/i18next/i18next-icu: ICU MessageFormat is provided by a separate plugin.
- github.com/intlayer-org/benchmark-i18n/blob/main/report/README.md: Competitor-run benchmark tests payloads across several catalog loading strategies.
Holds up over time8.3
Will it still be a good choice in two years?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
The project is 14 years old and still very active: 377 commits and 94 releases in the last year, 1 open issue and 0 open pull requests. Its core maintainers are funded through Locize. Major versions come often, though v26.7 added debug warnings ahead of v27 to ease the move. Compile-time tools are gaining attention, but nothing suggests people are leaving i18next.
- github commitsLastYear / releasesLastYear: 377 commits and 94 releases in the last year
- github openIssues / openPullRequests: 1 open issue and 0 open pull requests
- newreleases.io/project/npm/i18next/release/26.7.0: Debug warnings added ahead of the v27 breaking changes
- i18next.com/misc/migration-guide: A long run of major-version migrations
GPT-6.2 Sol: 8.1, likely 6.9 to 9.0
The project shipped 94 releases in the past year, and Locize funds its development. Recent fixes and migration warnings show active maintenance, but version 27 still changes defaults that existing apps may rely on. The same maintainer handles the recent GitHub releases, so the small issue queue gives limited confidence about how easily someone else could take over.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 377 commits, 94 releases, one open issue, and no open pull requests.
- github.com/i18next/i18next-gitbook/blob/master/how-to/faq.md: Locize funds development of the open-source ecosystem.
- github.com/i18next/i18next/releases?after=v27.2.2: Recent GitHub releases are concentrated under one maintainer.
- i18next.com/misc/migration-guide: Documents major-version changes and advance warnings for most runtime changes.
Used widely8.1
How many use it, and is that growing?
Claude Opus 5.5: 9.0, likely 8.5 to 9.5
It has about 140M downloads every 4 weeks, far more than any peer, and around 50k dependent repos plus 5k dependent packages. A large share of those downloads come indirectly, through other tools that install it. Downloads grew 3.5x in a year, below the 4.1 median, so its share is slipping a little while next-intl and Paraglide grow faster.
- npm downloadsLast4Weeks: 139.7M, against 40.1M a year ago (3.5x, below the 4.1 median)
- dependents: 49,895 repos and 5,066 packages, close to FormatJS's 57,947 repos
- peers downloadsLast4Weeks: next-intl grew about 9x and Paraglide about 17x, from smaller bases
GPT-6.2 Sol: 7.2, likely 6.0 to 8.2
The collector found 49,895 dependent repositories, fewer than FormatJS's React package and more than Vue I18n or next-intl. Four-week npm downloads grew 3.49× year over year, below the 4.1× catalog median and well behind next-intl's 8.96×, so i18next lost relative ground. Repeat installs and framework integrations inflate download totals, while incomplete repository coverage and CDN use leave the number of direct choices uncertain.
- dependents repos, packages: 49,895 repositories and 5,066 npm packages depend on i18next.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 139.7 million installs versus 40.1 million, or 3.49× against 4.1×.
- peers dependentRepos, downloadsLast4Weeks, downloadsSame4WeeksYearAgo: FormatJS leads in indexed repositories and next-intl is growing faster.
- github.com/i18next/next-i18next: A Next.js integration brings i18next into the dependency graph.
- jsdelivr.com/package/npm/i18next: CDN distribution provides an alternative to npm installs.
Vouched for7.8
Who stands behind it being good?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Independent 2026 comparisons agree it is the familiar default with the widest ecosystem. Many large apps and open-source projects run it in production. Most published comparisons come from vendors of rival tools, and I found no current survey numbers, which keeps the range wide.
- tolgee.io/blog/react-i18n-libraries-comparison: Calls it the most popular option and a safe default
- dev.to/erayg/best-i18n-libraries-for-nextjs-react-react-native-in-2026-honest-comparison-3m8f: A 2026 comparison recommends it for its ecosystem
- intlayer.org/blog/is-i18next-outdated: A competitor's critique of its runtime plugin model
- dependents packages: 5,066 npm packages build on it
GPT-6.2 Sol: 8.0, likely 6.8 to 9.0
Grafana uses i18next in its frontend and provides it as the runtime for translated plugins. Dify and LobeHub also depend on it, and Dify published measurements from testing its TypeScript API at scale. That production evidence supports the library family, while broad satisfaction data and independent measurements of version 27.2.2 are limited.
- github.com/grafana/grafana/blob/main/contribute/internationalization.md: Grafana documents i18next as its frontend translation engine.
- community.grafana.com/t/marking-i18next-as-an-external-package/156938: Grafana supplies i18next to its plugin ecosystem.
- github.com/langgenius/dify/blob/main/web/package.json: Dify includes i18next and react-i18next in its web app.
- github.com/langgenius/dify/issues/38648: Dify publishes type-check timings and migration findings.
- raw.githubusercontent.com/lobehub/lobe-chat/main/package.json: LobeHub lists i18next as an app dependency.
Safe7.4
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
The package has zero dependencies and an MIT licence. Its only advisories are two moderate XSS issues from 2018, both fixed, and v27 now refuses language codes that look like markup or paths. The OpenSSF Scorecard is weak at 4.5, with 0 on code review, branch protection, pinned dependencies and token permissions, and a small group publishes the releases.
- npm dependencies: 0 runtime dependencies
- advisories: 2 moderate XSS advisories, both from 2018, none in the last 24 months
- scorecard: 4.5 overall; Code-Review, Branch-Protection and Pinned-Dependencies at 0
- newreleases.io/project/npm/i18next/release/26.7.0: v27 hardening: stricter interpolation checks and language-code validation
GPT-6.2 Sol: 7.2, likely 5.9 to 8.3
The MIT-licensed core has no runtime dependencies. The maintainer disclosed three 2026 advisories missing from the bundle, including two high-severity denial-of-service issues, and shipped fixes on the disclosure dates. Version 27.2.2 includes all three fixes. Scorecard flagged weak review, branch protection, workflow permissions, and dependency pinning, and npm publishing controls could not be verified.
- npm license, dependencies: MIT license and zero core runtime dependencies.
- scorecard score, checks: 4.5 overall, with zeros for review, branch protection, token permissions, and pinning.
- github.com/i18next/i18next/security/advisories: Lists three 2026 core advisories absent from the bundle.
- github.com/i18next/i18next/releases/tag/v26.3.4: Ships the June security fix on the disclosure date.
- github.com/i18next/i18next/releases/tag/v26.4.4: Ships the October denial-of-service fix on the disclosure date.
- github.com/i18next/i18next/releases/tag/v27.1.3: Ships the November denial-of-service fix on the disclosure date.
Good
- It works with any framework and runtime, with official bindings for React, Vue, Angular, Svelte and more.
- Its plugin ecosystem is the largest in the category, with backends, language detectors, caching and ICU support.
- The core package has zero dependencies, an MIT licence and no advisories since 2018.
- It is very actively maintained, with 94 releases in the last year and almost no open issues or pull requests.
Bad
- Its default message format is its own, not ICU, so some translation platforms handle it less well.
- Major versions arrive often (v24 to v27 in about two years), and each one forces some migration work.
- Type-safe keys can slow the TypeScript compiler a lot when there are many keys.
- It loads everything at runtime, so bundles are bigger than with compile-time tools like Paraglide or Lingui.
The numbers
- npm downloads, 4 weeks
- 140M ×3.5 in a year
- GitHub stars
- 8.7k
- Commits, 12 months
- 377
- npm version
- 27.2.2 Nov 2026
- Versions, 12 months
- 94
- Advisories, 24 months
- 0 of 2 ever
- OpenSSF Scorecard
- 4.5 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (i18next/i18next), npm (i18next), OSV and the OpenSSF Scorecard.
Translation libraries
- 8.3i18next
- 8.2next-intl
- 7.8Vue I18n
- 7.5Lingui
- 7.5Paraglide JS
- 7.3FormatJS
- 5.8Intlayer
- 4.3typesafe-i18n
- 4.0Polyglot.js