🌐
npm
npmjs.com › package › libphonenumber-js
libphonenumber-js - npm
2 weeks ago - A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript. Latest version: 1.12.41, last published: 5 days ago. Start using libphonenumber-js in your project by running `npm i libphonenumber-js`. There are 3934 ...
      » npm install libphonenumber-js
    
Published   Mar 28, 2026
Version   1.12.41
Author   catamphetamine
🌐
Js
libphonenumbers.js.org › docs › getNumberType
getNumberType | libphonenumbers
const phoneUtil = require('libphonenumbers').PhoneNumberUtil.getInstance(); // Parse number with US country code and keep raw input · const number = phoneUtil.parseAndKeepRawInput('202-456-2121', 'US'); // Get type of phone number · console.log(phoneUtil.getNumberType(number)); // 2 // FIXED_LINE_OR_MOBILE ·
Discussions

Phone number formatting (libphonenumber) for Enhanced conversions GAs
Yes, you can transform it with a custom javascript variable More on reddit.com
🌐 r/PPC
4
0
November 24, 2025
What happened to libphonenumber-js?
The author released an article explaining what happened: https://medium.com/@catamphetamine/how-github-blocked-me-and-all-my-libraries-c32c61f061d3 libphonenumber-js lives on at GitLab: https://gitlab.com/catamphetamine/libphonenumber-js More on reddit.com
🌐 r/reactjs
7
6
March 9, 2020
International Phone Input with React Hook Form
hey bro did you found a solution ? More on reddit.com
🌐 r/reactjs
8
2
December 26, 2023
react-native-intl-phone-field: Simple TextInput that validates international Phone Numbers
Hey! Looks very nice, is there maybe also a dropdown for selecting the country code? Btw, https://www.npmjs.com/package/libphonenumber-js is a much smaller library than the google version. More on reddit.com
🌐 r/reactnative
7
39
March 2, 2022
🌐
Snyk
security.snyk.io › snyk vulnerability database › npm
libphonenumber-js | Snyk
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
🌐
CDNJS
cdnjs.com
cdnjs - The #1 free and open source CDN built to make life easier for developers
Simple. Fast. Reliable. Content delivery at its finest. cdnjs is a free and open-source CDN service trusted by over 12.5% of all websites, serving over 200 billion requests each month, powered by Cloudflare. We make it faster and easier to load library files on your websites.
🌐
GitHub
github.com › telefonicaid › libphonenumber-js › blob › master › README.md
libphonenumber-js/README.md at master · telefonicaid/libphonenumber-js
Builds a compact javascript version of libphonenumber without requiring to use Closure - telefonicaid/libphonenumber-js
Author   telefonicaid
🌐
StackBlitz
stackblitz.com › edit › stackblitz-starters-i4p8r6
libphonenumber-js playground - StackBlitz
Starter project for Node.js, a JavaScript runtime built on Chrome's V8 JavaScript engine
🌐
Catamphetamine
catamphetamine.github.io › libphonenumber-js
libphonenumber-js
A simpler and smaller rewrite of Google Android's libphonenumber library.
🌐
GitHub
github.com › google › libphonenumber › blob › master › FAQ.md
libphonenumber/FAQ.md at master · google/libphonenumber
Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. - google/libphonenumber
Author   google
Find elsewhere
🌐
npm
npmjs.com › package › @telefonica › libphonenumber
@telefonica/libphonenumber - npm
November 12, 2025 - Wrapper around a custom compilation of Google's libphonenumber.
      » npm install @telefonica/libphonenumber
    
Published   Nov 12, 2025
Version   2.9.1
🌐
CodeSandbox
codesandbox.io › s › react-demo-libphonenumber-js-max-j25qj
react-demo-libphonenumber-js-max - CodeSandbox
September 25, 2021 - react-demo-libphonenumber-js-max by famgrs using @material-ui/core, react, react-dom, react-phone-number-input, react-scripts
Published   Sep 25, 2021
Author   famgrs
🌐
cdnjs
cdnjs.com › home › libraries › libphonenumber-js › 1.9.50
libphonenumber-js - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers
libphonenumber-js · 1.9.50 · A simpler (and smaller) rewrite of Google Android's popular libphonenumber library · 3k · GitHub · package · MIT licensed · https://halt-hammerzeit.github.io/libphonenumber-js/ Tags: javascript, telephone, ...
🌐
GitHub
github.com › google › libphonenumber
google/libphonenumber: Google's common Java, C++ and ...
Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. - google/libphonenumber
Starred by 17.9K users
Forked by 2.2K users
Languages   C++ 53.4% | Java 29.9% | JavaScript 15.8% | CMake 0.4% | C 0.2% | Closure Templates 0.1%
🌐
GitHub
github.com › alex1704 › LibphonenumberStandaloneJS
GitHub - alex1704/LibphonenumberStandaloneJS · GitHub
libphonenumber.js encapsulate Google's libphonenumber functionality in standalone javascript file. It exposes several libphonenumber's interfaces on which more functionality can be built up.
Author   alex1704
🌐
GitHub
github.com › iziz › libphonenumber-ios
GitHub - iziz/libPhoneNumber-iOS: iOS port from libphonenumber (Google's phone number handling library) · GitHub
You can check phone number validation using below link. https://rawgit.com/googlei18n/libphonenumber/master/javascript/i18n/phonenumbers/demo-compiled.html
Starred by 2.4K users
Forked by 478 users
Languages   Objective-C 56.3% | Wolfram Language 38.2% | Swift 4.3% | Shell 0.5% | Ruby 0.5% | C 0.2%
🌐
Reddit
reddit.com › r/ppc › phone number formatting (libphonenumber) for enhanced conversions gas
r/PPC on Reddit: Phone number formatting (libphonenumber) for Enhanced conversions GAs
November 24, 2025 -

For google ads lead gen, if users want to submit their phone number through a form, how do you handle the regularization of the formatting of phone numbers? Does libphonenumber need to be integrated within the form itself? Or can it be done via GTM custom html tags?

For Example: Custom html tag collects first party data from form and places it in the local storage, can the same tag do the regularization in the localstorage before pushing the data to the datalayer or is this unwanted?

🌐
GitHub
github.com › grantila › awesome-phonenumber
GitHub - grantila/awesome-phonenumber: Google's libphonenumber pre-compiled with the closure compiler · GitHub
Among all the popular phone number using Google's libphonenumber (or mimicing it), only this one, google-libphonenumber and libphonenumber-js have decent README's with examples.
Starred by 704 users
Forked by 59 users
Languages   JavaScript 92.8% | TypeScript 6.3% | Shell 0.9%
🌐
npm
npmjs.com › package › awesome-phonenumber
awesome-phonenumber - npm
February 18, 2026 - This library is a pre-compiled version of Google's libphonenumber, with a slightly simpler interface.
      » npm install awesome-phonenumber
    
Published   Feb 18, 2026
Version   7.8.0
Author   Gustaf Räntilä
🌐
CodeSandbox
codesandbox.io › s › libphonenumber-js-test-mkvns
libphonenumber-js test - CodeSandbox
January 23, 2020 - libphonenumber-js test by Yask00 using google-libphonenumber, libphonenumber-js
Published   Jan 23, 2020
Author   Yask00
🌐
Js
libphonenumbers.js.org
libphonenumbers: Introduction
If you are not redirected automatically, follow this link
🌐
GitHub
github.com › calcom › cal.com
GitHub - calcom/cal.com: Scheduling infrastructure for absolutely everyone. · GitHub
5 days ago - Scheduling infrastructure for absolutely everyone. - calcom/cal.com
Starred by 41.1K users
Forked by 12.5K users
Languages   TypeScript 97.7% | CSS 1.3% | HTML 0.5% | JavaScript 0.2% | PLpgSQL 0.2% | Mermaid 0.1%