International Telephone Input

A JavaScript plugin for entering and validating international telephone num...

README

intl-tel-input


🗣️ NEWS: we now provide translations in over 30 languages! See them in action.

International Telephone Input is a JavaScript plugin for entering and validating international telephone numbers. It takes a regular input field, adds a searchable country dropdown, auto-detects the user's country, displays a relevant placeholder number, formats the number as you type, and provides comprehensive validation methods.

Screenshot
  
If you find the plugin helpful, please consider supporting the project.

Sponsored by

Twilio
Use Twilio's API to build phone verification, SMS 2FA, appointment reminders, marketing notifications and so much more. We can't wait to see what you build.

JavaScript Plugin vs React Component

We now provide both a JavaScript plugin and a React Component. This readme is for the JavaScript plugin. View the React Component readme.

Demo and Examples

You can view a live demo and see some examples of how to use the various options. Alternatively, try it for yourself by downloading the project and opening demo.html in a browser.

Mobile

By default, on mobile devices we show a fullscreen popup instead of the inline dropdown, to make better use of the limited screen space. This is similar to how a native `