Phone number

Modified on Fri, 16 Aug at 4:55 PM

Parse a phone number

Checks the phone number validity and converts the entered phone number to normalized formats. Useful when users enter phone numbers in different formats.

The module returns the following information:

  • Country

  • Country Calling Code

  • Number

  • Extension

  • National Format

  • International Format

  • Number in E.164 format

  • Number in RFC 3966 format

  • Validity

  • Type (fixed line or mobile)

Sample output for a US phone number:

61d6abd6e89ad.png

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article