Mobile Phone Number Validator
Check whether text is a valid mobile phone number as you type it, right in your browser, without sending it anywhere.
Input
Output
No value
Guide
What is a mobile phone number?
A mobile phone number reaches a cell phone. Each country's numbering plan sets how long its numbers are and which prefixes belong to mobile phones: 07 in the United Kingdom, 06 or 07 in France, 015, 016 or 017 in Germany. In international form, a number starts with a plus and the country calling code, such as +44 for the United Kingdom, and drops the leading 0.
You check one in a sign-up form or before sending text messages such as booking reminders, so that a missing digit or a landline number shows up early.
Tool description
Type or paste a number into the Mobile phone number field, and the result shows as you type: "Mobile phone number is valid" or "Mobile phone number is not valid". Spaces and line breaks around the number are ignored, but spaces inside it count.
The Country menu picks whose rules apply and starts on Any country, where a number passes when it fits at least one country's rule. Require the country code (+) starts off. Turn it on to accept only the international form, with a plus and the calling code: numbers with a leading 0, or with 00 in place of the plus, then fail.
Why pick a country
Some country rules are wide: Mexico's takes any ten or eleven digits. So with Any country, every run of six to eleven digits passes, typos included, unless Require the country code (+) is on. A country gives a real answer:
- Landlines fail where the rule tells them apart: for the United Kingdom, numbers starting with
07pass, and those starting with01or02fail. - In the United States and Canada, mobile numbers look like landlines, so both pass. The rules for Austria, Switzerland and Czechia let landlines through too.
Spaces, hyphens and brackets
- For the United States and Canada,
(XXX) XXX-XXXX,XXX-XXX-XXXXandXXX XXX XXXXall pass, with or without+1in front, but dots fail. - The rules for Brazil, Japan, Sweden and Czechia accept the spaces, hyphens or brackets people write there.
- Most other rules, such as those for the United Kingdom, France, Germany and India, want the digits together:
+447XXXXXXXXXpasses,+44 7XXX XXXXXXfails. - Poland's rule takes spaces only in the grouping
XX XXX XX XX, so the commonXXX XXX XXXfails.
Good to know
- The check looks at the form only: it can't tell whether a number is connected. Use it on your own contact lists and test data.
- For test numbers, try the Random Phone Number Generator. To rewrite a number in international or national format, use the Phone number parser.
Features
- Mobile number rules for countries from Afghanistan to Zimbabwe
- Tells mobile numbers from landlines for many countries
- A setting that accepts only the international form with +
- Results as you type, with no button to press
- Runs in your browser, so nothing you type is sent anywhere