TapCub is live — analytics, insights and live chat, free on one platform

Free tool Phone number validator and E.164 formatter

Type a number with or without the country code. The validator checks it against that country’s numbering plan, tells you whether it is a mobile, landline, toll-free or other number, and gives you the E.164 form to store in a CRM or send to an SMS API. Paste a list to check hundreds at once.

  • Google libphonenumber rules
  • Single or batch
  • Runs in your browser

Check and format a phone number

The default country is used for numbers written without a + and country code. Numbers starting with + ignore it.

Validator

For numbers in national format, such as (415) 555-0132 or 020 7946 0958.

Spaces, dots, dashes and brackets are fine. Extensions like “ext. 12” are kept separately.

Result

  • ValidValid number for United States (US).

Formats and details

FieldValue
E.164+14155550132
International+1 415 555 0132
National(415) 555-0132
tel: link (RFC 3966)tel:+14155550132
Country / regionUnited States (US)
Calling code+1
TypeLandline or mobile
WhatsApp linkhttps://wa.me/14155550132
Runs entirely in your browser. Nothing you type here is uploaded or stored by TapCub.

Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.

Problem or suggestion?Send feedbackChat with support

Version v1.0Updated Update history

Use it via API:validate/phone

Read the result

Valid, unassigned or not a number

The check uses each country’s numbering plan as published in Google’s libphonenumber, the same rules Android and many sign-up forms use.

  • 245 countries and regions
  • E.164, international and national formats
  • Batch check with CSV export
Phone number validator illustration: Check whether a phone number is valid for its country, see its type and format it as E.164, international or national. Batch mode for lists
Phone number validator, illustrated

Valid

The number has the right length and falls in a range that the country has assigned to mobiles, landlines, toll-free or other services. It does not prove the line is connected or belongs to the person who typed it.

Unassigned range

The length is right but the range is not in use, or is reserved for fiction and testing, such as UK 07700 900xxx. Common with typos and made-up numbers in forms.

Not valid

Too short, too long, an unknown country code or not a number at all. In national format the default country decides which rules apply, so check that first.

Type

Mobile, landline, toll-free, premium rate, VoIP and so on. In the US and Canada mobiles and landlines share the same ranges, so many numbers show as “landline or mobile”.

To know whether a number is actually in service, you need a carrier lookup (HLR) or a verification code sent to it. Format validation is the cheap first filter before either.

How to use it

Three common jobs

Most people need one of these.

  1. 1

    Check a number before you call or text

    Type it as written, set the default country if it has no +, and read the verdict and type.

  2. 2

    Convert to E.164 for a CRM or SMS API

    Copy the E.164 value (+14155550132): no spaces, a leading + and the country code. Twilio, WhatsApp Business and most SMS gateways expect this.

  3. 3

    Clean a list

    Switch to “A list of numbers”, paste a column from a spreadsheet, and download the CSV with status, E.164 and type for each line.

Formats

E.164, international and national formats

E.164 is the ITU standard for international numbers: a +, the country calling code, then the national number, at most 15 digits in total and no spaces. It is the format to store; the other two are for display.

  • E.164: +14155550132, the canonical form for databases and APIs
  • International: +1 415 555 0132, readable and still dialable from anywhere
  • National: (415) 555-0132, how people in that country write it, with the trunk prefix (0 in the UK, China and most of Europe) where one is used
  • tel: link: tel:+14155550132, for click-to-call links in HTML and emails
  • Extensions are kept separately; E.164 has no field for them
One number in each format
CountryE.164InternationalNational
United States+14155550132+1 415 555 0132(415) 555-0132
United Kingdom+442079460958+44 20 7946 0958020 7946 0958
Germany+4930901820+49 30 901820030 901820
China+8613800138000+86 138 0013 8000138 0013 8000
Japan+81312345678+81 3-1234-567803-1234-5678
Worked example

Checking a list from a sign-up form

The sample list mixes formats and countries, with the default country set to the United States. Here is what happens to each line.

Results for the sample list
InputResultE.164Why
(800) 275-2273Valid, toll-free+18002752273National format, read with the default country (US)
+44 20 7946 0958Valid, landline+442079460958The + overrides the default country
+44 7700 900123Unassigned range+447700900123UK range reserved for TV and film
+86 138 0013 8000Valid, mobile+8613800138000Chinese mobile, 11 digits starting with 1
555-0132Not valid—Seven digits: a US number needs the area code
+1 999 555 0100Unassigned range+19995550100Area code 999 is not assigned

Of the 9 sample lines, 6 are valid. Example numbers use reserved or well-known test ranges; replace them with your own list.

Common mistakes

Why phone numbers break in databases

Most phone data problems come from storing what people typed instead of a normalised form.

Spreadsheets eating the +

Excel turns +441234567890 into a formula or a number in scientific notation and drops leading zeros. Format the column as text first; the CSV here protects E.164 values with an apostrophe.

Guessing the country

020 7946 0958 is London only if you know it is a UK number. Store E.164, or store the country next to the national number.

One regex for the world

Lengths run from 4 to 15 digits and ranges change every year. A hand-written regex will reject valid foreign numbers.

Treating valid as reachable

A valid format can still be disconnected or belong to someone else. Confirm with a one-time code before relying on it.

FAQ

Phone number validator questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do I check if a phone number is valid?

Type the number, with the + and country code if you have them. Otherwise pick the default country first. The validator checks the length and number range against that country’s numbering plan and shows the result, the number type and its standard formats.

What is E.164 format?

The international standard (ITU-T E.164) for writing phone numbers: a plus sign, the country calling code and the national number, with no spaces or punctuation and at most 15 digits, for example +14155550132. Store numbers this way and format them for display only.

Does “valid” mean the number is in use?

No. It means the number has a correct length and belongs to an assigned range. Whether a line is active, and who owns it, can only be checked by a carrier lookup or by sending a verification code.

Why does a US number show “landline or mobile”?

In the North American Numbering Plan, mobile and landline numbers share the same area codes and ranges, so the number alone cannot tell them apart. Most other countries use separate mobile ranges.

Which data does the validator use?

libphonenumber-js 1.13.16, a JavaScript port of Google’s libphonenumber with its full metadata for 245 countries and regions. Google updates the ranges several times a year; we update the library with the site.

Can I validate many numbers at once?

Yes. Choose “A list of numbers”, paste up to 500 lines and download the CSV. Each line can be in a different format and country; lines without a + use the default country.

Are the numbers sent anywhere?

No. The rules are downloaded once to your browser when you first use the tool, and every check runs locally. Phone numbers are personal data, so there is no share link either.

Feedback

Is this tool working for you?

Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.

Rate this tool

Please don’t include passwords or other sensitive information.

Only used to reply to this feedback.

Type, details and email are required.

We only use this to handle your feedback. See the privacy policy.

Feedback received

Thank you! We will read it and reply from hello@tapcub.com if needed.

Need help right now?

Chat with our support team, best for urgent problems; you can leave a message when we are offline.

Chat with support
Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Cite this tool

Recommend this tool in an article or on your site

This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.

URL
https://tapcub.com/tools/phone-number-validator
HTML link
<a href="https://tapcub.com/tools/phone-number-validator">Phone number validator - TapCub</a>
Next step

Meet visitors in chat before they pick up the phone

TapCub live chat shows each visitor’s page and source, and AI can answer common questions from your knowledge base first.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics