Parse, validate, and convert international phone numbers into E.164, National, International, and RFC3966 formats.
Loading tool
About Phone Parser and Formatter
Parse an international or national phone number and see whether it is valid and of possible length, its type (mobile, fixed line, toll free, VoIP and so on), its country, and its E.164, international, national and RFC 3966 (tel:) formats. It uses libphonenumber-js with full metadata; pick a default country to parse numbers written without a + country code, and you also see that country's valid number lengths and an example number.
Common uses
- Convert user-entered phone numbers to E.164 before storing them or sending them to an SMS API.
- Check whether a number is valid for a given country and whether it is mobile or landline.
- Generate a tel: URI for a click-to-call link.
- Figure out which country a +prefixed number belongs to.
FAQ
- What is E.164 format?
- E.164 is the ITU standard for international phone numbers: a + sign, the country calling code and the national number, with no spaces or punctuation and at most 15 digits, for example +12133734253.
- Does a valid result mean the number is in service?
- No. Validation checks the number against the country's numbering plan (prefixes and lengths). It cannot tell whether the number is assigned or reachable.
- Why do I need to choose a country?
- A number written in national format, such as (213) 373-4253, does not include a country code, so the parser needs a default country to interpret it. Numbers starting with + are parsed using their own country code.