Online Playground
Browse tools

JavaScript library · npm

libphonenumber-js

Parse, format and validate phone numbers in JavaScript. A smaller rewrite of Google's libphonenumber for browsers and Node.js.

  • MIT license
  • 39.7M downloads a week
  • 461 versions
  • on npm since 2016
Releases in the last 18 months 1.13.15 · 8 Oct 20261.13.14 · 24 Sep 20261.13.13 · 10 Sep 20261.13.12 · 27 Aug 20261.13.11 · 14 Aug 20261.13.10 · 30 Jul 20261.13.9 · 17 Jul 20261.13.8 · 3 Jul 20261.13.7 · 18 Jun 20261.13.6 · 6 Jun 20261.13.5 · 3 Jun 20261.13.4 · 29 May 20261.13.3 · 22 May 20261.13.2 · 15 May 20261.13.1 · 11 May 20261.13.0 · 8 May 20261.12.43 · 7 May 20261.12.42 · 23 Apr 20261.12.41 · 28 Mar 20261.12.40 · 13 Mar 20261.12.39 · 9 Mar 20261.12.38 · 26 Feb 20261.12.37 · 17 Feb 20261.12.36 · 30 Jan 20261.12.35 · 22 Jan 20261.12.34 · 11 Jan 20261.12.33 · 19 Dec 20251.12.32 · 5 Dec 20251.12.31 · 2 Dec 20251.12.30 · 30 Nov 20251.12.29 · 21 Nov 20251.12.28 · 20 Nov 20251.12.27 · 18 Nov 20251.12.26 · 7 Nov 20251.12.25 · 24 Oct 20251.12.24 · 10 Oct 20251.12.23 · 26 Sep 20251.12.22 · 24 Sep 20251.12.21 · 23 Sep 20251.12.20 · 23 Sep 20251.12.19 · 23 Sep 20251.12.18 · 21 Sep 20251.12.17 · 12 Sep 20251.12.16 · 12 Sep 20251.12.15 · 28 Aug 20251.12.14 · 26 Aug 20251.12.13 · 20 Aug 20251.12.12 · 14 Aug 20251.12.11 · 13 Aug 20251.12.10 · 13 Jul 20251.12.9 · 5 Jun 20251.12.8 · 7 May 2025 1.13.15 May 2025Nov 2025May 2026Nov 2026
Releases in the last 6 months 1.13.15 · 8 Oct 20261.13.14 · 24 Sep 20261.13.13 · 10 Sep 20261.13.12 · 27 Aug 20261.13.11 · 14 Aug 20261.13.10 · 30 Jul 20261.13.9 · 17 Jul 20261.13.8 · 3 Jul 20261.13.7 · 18 Jun 20261.13.6 · 6 Jun 20261.13.5 · 3 Jun 20261.13.4 · 29 May 20261.13.3 · 22 May 20261.13.2 · 15 May 20261.13.1 · 11 May 20261.13.0 · 8 May 20261.12.43 · 7 May 2026 1.13.15 May 2026Jul 2026Sep 2026Nov 2026
Each bar is a release. 33 stable releases in the last year, typically about 14 days apart.Each bar is a release. 17 in the last 6 months, about every 14 days.
Latest stable v1.13.15 Released 8 Oct 2026 · 26 days ago
npm install libphonenumber-js@1.13.15
Download

All download options

Install libphonenumber-js 1.13.15

sh
npm install libphonenumber-js

Download

  • libphonenumber-js-1.13.15.tgznpm package · 952 files · 9.7 MB unpackedDownload
  • Checksumssha512-AHdhEQeDFEJ4GKDAQ9Awx…
  • libphonenumber-min.jsBrowser bundle, min data (smallest) · jsDelivr CDNOpen
  • libphonenumber-max.jsBrowser bundle, max data (all number types) · jsDelivr CDNOpen
  • libphonenumber-mobile.jsBrowser bundle, mobile numbers only · jsDelivr CDNOpen
  • Browse every filejsDelivr file browser for 1.13.15Browse
  • v1.13.15 on GitLabReleaseViewSource .zip

We do not host these files. The links go to the official npm registry and public CDNs.

What changed in 1.13.15

This release updates the phone number metadata to version 9.0.41.

CNIRNGUS
  • Updated metadata to version 9.0.41:
    • Updated phone metadata for region code(s): CN, IR, NG, US
    • Updated short number metadata for region code(s): CN
    • Updated carrier data for country calling code(s): 27 (en), 30 (en), 60 (en), 98 (en, fa), 234 (en), 852 (en, zh, zh_Hant)
    • Updated / refreshed time zone meta data.

Recent versions

VersionReleasedGapSize
1.13.158 Oct 202614 days9.7 MB
1.13.1424 Sep 202614 days9.7 MB
1.13.1310 Sep 202614 days9.7 MB
1.13.1227 Aug 202613 days9.7 MB
1.13.1114 Aug 202615 days9.7 MB
1.13.1030 Jul 202613 days9.7 MB
1.13.917 Jul 202614 days9.7 MB
1.13.83 Jul 202614 days9.7 MB
1.13.718 Jun 202613 days9.8 MB

See the full release history

Questions about libphonenumber-js versions

What is the latest version of libphonenumber-js?

The latest stable version of libphonenumber-js is 1.13.15, released on 8 Oct 2026. There have been 461 stable releases in total.

How do I install a specific version of libphonenumber-js?

Add the version after the package name: npm install libphonenumber-js@1.13.15. Yarn and pnpm use the same @version syntax. Every older version has its own page in this directory.

Is there a pre-release or upcoming version of libphonenumber-js?

Yes. Work is under way for the next version. The release radar page lists the evidence and where we found it.

How often is libphonenumber-js released?

Over the last 12 releases the typical gap was 14 days, and there were 33 stable releases in the last year.

Use it in your browser

14 tools built on libphonenumber-js

Each one runs this library in your browser. Nothing you type is uploaded.

All tools

Guides