International Telephone Input
A JavaScript plugin for entering, formatting and validating international telephone numbers. React, Vue, Angular and Svelte components also included.
Type a number above to see the output here
Get started
Sponsored by
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.
Features
Smart defaults
- Auto-select the user's country via IP lookup
- Auto-generate an example placeholder for the selected country
Fast country picking
- Search by typing a country's name
- Keyboard navigation via up/down keys
- High-resolution flag images
Formatting & output
- Format the number as the user types
- Users type a national number; you can store the standardised international number
Validation built in
- Validate numbers, with specific error types
- Optional strict mode: numeric-only input + max valid length
Global-ready
- Translations in 40+ languages
- RTL layout and alternative numeral set support
Accessible & typed
- Accessibility provided via ARIA tags
- TypeScript type definitions included
Customisable
- Override CSS variables (e.g. for dark mode)
- Lots of initialisation options + instance methods/events
- React, Vue, Angular and Svelte components included
Playground presets
Jump straight into the Playground with some common configurations.