jackocnr/intl-tel-input

For entering, formatting, and validating international telephone numbers. Available in vanilla JavaScript, or as React, Vue, Angular, and Svelte components.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 8th, 2026
Created on May 31st, 2013
Open Issues & Pull Requests: 10 (+0)
GitHub issues: Enabled
Number of forks: 1,992
Total Stargazers: 8,251 (+0)
Total Subscribers: 128 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

intl-tel-input is a JavaScript library and framework component for entering, formatting, and validating international telephone numbers.

The library solves the problem of handling phone number input across different countries with varying formats and validation rules. It uses libphonenumber under the hood for formatting and validation logic, automatically detecting the user's country and providing country-specific example placeholders. The input enforces valid digit entry and maximum length constraints while formatting numbers as the user types, with the ability to extract standardized E.164 format numbers for storage.

Developers should choose this tool if they need robust international phone number handling without building validation logic from scratch. It suits projects ranging from simple contact forms to complex telecommunications applications. The library is available in multiple forms: vanilla JavaScript for any project, or as ready-made components for React, Vue, Angular, and Svelte, making it adaptable to different tech stacks. The tool includes fast country picking with search by name or dial code, keyboard navigation, translations into fifty-plus languages, RTL support, and theming via CSS variables or utility classes like Tailwind. TypeScript definitions are included for type-safe development.

The project maintains active continuous integration with automated testing. Contributions are documented with a dedicated guide covering project setup, flag image updates, and translation additions. The codebase includes comprehensive documentation with a live playground and examples for different integration scenarios.