google/libphonenumber - OSS Alternative - Discover Top Open Source Alternatives to Popular Software
International Phone Number Utility Library
18.0k 2026-04-23

google/libphonenumber

A comprehensive library by Google for parsing, formatting, and validating international phone numbers across Java, C++, and JavaScript.

Core Features

Parsing, formatting, and validating international phone numbers for all countries/regions.
Identifying phone number types (e.g., Fixed-line, Mobile, Toll-free, VoIP).
Real-time formatting of phone numbers as users type (AsYouTypeFormatter).
Extracting geographical, carrier, and timezone information related to a phone number.

Detailed Introduction

This library, developed by Google, provides a robust solution for handling the complexities of international phone numbers. It offers comprehensive functionalities for parsing, formatting, and validating numbers from all countries/regions, available in Java, C++, and JavaScript. Beyond basic validation, it can determine number types, provide real-time formatting, and extract rich metadata like geographical location, carrier, and timezone. Optimized for performance, especially in mobile environments like Android, it serves as a critical tool for applications requiring accurate and user-friendly phone number management globally.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.