Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. The Java version is optimized for running on smartphones, and is used by the Android framework since 4.0 (Ice Cream Sandwich). libphonenumber gets the type of the number based on the number itself; able to distinguish Fixed-line, Mobile, Toll-free, Premium Rate, Shared Cost, VoIP, Personal Numbers, UAN, Pager, and Voicemail (whenever feasible). Provides valid example numbers for all countries/regions, with the option of specifying which type of example phone number is needed. Quickly guesses whether a number is a possible phone number by using only the length information, much faster than a full validation. To include the Java code in your application, either integrate with Maven (see wiki) or download the latest jars from the Maven repository.

Features

  • Parsing, formatting, and validating phone numbers for all countries/regions of the world
  • Provides full validation of a phone number for a region using length and prefix information
  • Formats phone numbers on-the-fly when users enter each digit
  • Finds numbers in text
  • Provides geographical information related to a phone number
  • Provides carrier information related to a phone number

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow libphonenumber

libphonenumber Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libphonenumber!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

C++

Related Categories

C++ Internet Phone Software, C++ Libraries

Registered

2021-05-13