Skip to main content
Free tool

Phone number validator

Paste a number in any format. The tool identifies the country, checks the length against that country's numbering plan, classifies the line as mobile or landline where the prefixes allow it, and shows the number in E.164 form.

  • No signup
  • 136 countries
  • Nothing uploaded

Any format. With +, with 00, or with the country code alone.

Enter a number to see its country, format and line type.

What this tool can and cannot tell you

It is worth being blunt about this, because most tools with this name are not.

This validator performs a syntactic check against published national numbering plans. It confirms that the number begins with a real country code, that the national part is a plausible length for that country, and — where the country publishes distinct prefix ranges — that the leading digits fall in a mobile or a landline range. Those three checks catch the overwhelming majority of numbers that are wrong: typos, missing digits, a trunk zero left in, a number entered without its country code.

It cannot tell you whether the line is in service. Nothing that runs in a browser can. Establishing that a number is live requires either placing a call or querying the operator's Home Location Register through a paid lookup service, and any free tool that shows you a green tick labelled "active" is showing you a syntactic result with a misleading word attached to it.

It also cannot tell you who owns the number, whether it has been ported to a different operator, or whether it is a virtual number. Number portability in particular has made prefix-based operator identification unreliable in most developed markets: a number that begins with a range historically assigned to one operator may have moved years ago. Prefix ranges still reliably distinguish mobile from fixed line, because those ranges are not portable across the boundary.

How to read the result

Country Matched by longest-prefix on the dial code. This matters more than it sounds: +1 covers the United States, Canada and twenty Caribbean territories, and +7 covers both Russia and Kazakhstan. Matching the longest code first is what keeps a Bahamian number from being reported as American.
National number What remains after the country code. This is the part that has to match the country's length rule, and the part a local caller would dial after the trunk prefix.
E.164 The international standard form: a plus sign, the country code, and the national number with no spaces, no punctuation and no trunk prefix. This is the format every telephony system expects and the one to store in a database.
Line type Mobile or landline, decided by whether the leading digits fall in a range the country publishes for one or the other. Some countries do not publish separable ranges, in which case the tool says so instead of guessing.
Rate What Telvio charges per minute to that country, where we publish a rate. It is the same figure the country's own rate page shows, read from the same file.

The four ways a phone number goes wrong

  1. 1

    The trunk prefix was left in

    Most countries put a leading digit — usually 0, sometimes 1 or 8 — in front of a number dialled domestically. It is not part of the number and must be removed when dialling from abroad. 020 7946 0958 in London is +44 20 7946 0958 internationally, not +44 020…. This single mistake accounts for more failed international calls than everything else combined.

  2. 2

    The country code is missing

    A number copied from a local website or a local contact list has no country code. It looks complete and is unusable from anywhere else. If the length matches a country's national number but there is no valid dial code in front of it, this is what happened.

  3. 3

    A digit is missing or duplicated

    The length check catches this. Numbering plans are strict about length — a country that issues nine-digit numbers does not have an eight-digit one hiding somewhere — so a national part one digit short is a typo, not an exception.

  4. 4

    The number was formatted for a different system

    00 instead of +, extensions appended after a comma or a hash, letters used as a mnemonic. The tool strips everything that is not a digit, so the first two are handled. Letters are not: 1-800-FLOWERS has to be converted to digits before any system will dial it.

E.164, and why it is worth storing numbers that way

E.164 is the ITU standard that defines what an international telephone number is: up to fifteen digits, of which one to three are the country code, with no other punctuation. Written down it carries a leading plus sign to mark it as international rather than local.

The practical argument for storing numbers in E.164 is that it is the only unambiguous form. 020 7946 0958 means a London number to a British reader and nothing at all to a system in another country. +442079460958 means the same number everywhere, is directly dialable from anywhere, and sorts and deduplicates correctly.

The common mistake in the other direction is storing E.164 and displaying it. A person reading their own number wants to see it in the national format they recognise, so the right architecture is to store one canonical form and format for display — never the reverse.

The fifteen-digit ceiling is a hard limit of the standard, and a number longer than that is invalid regardless of what a form accepted. The shortest valid numbers are considerably shorter: some Pacific island states issue five-digit national numbers, which is why a length check has to be per country rather than a global minimum.

Mobile and landline prefixes, and what they still tell you

Every country's numbering plan reserves blocks of leading digits for particular purposes. In the United Kingdom, 07 is mobile and 01 and 02 are geographic fixed lines. In India, mobiles begin with 6, 7, 8 or 9. In Nigeria, 070, 080, 081, 090 and 091 are mobile. In much of continental Europe, 6 or 7 after the country code indicates mobile.

This still works because the mobile/fixed boundary is not portable: a number can move between operators, but it cannot move from a mobile block to a geographic one. Operator-level identification from a prefix, by contrast, has been unreliable in most markets since portability was introduced.

Why it matters for cost: in a large majority of countries, calling a mobile costs more than calling a landline, sometimes several times more. Knowing which one you have before you dial is the difference between an expected bill and a surprise. In a minority of countries — the United Kingdom, Germany and Kenya among them — the relationship is reversed and the mobile is cheaper, which is why our rate pages publish both columns rather than a single "from" figure.

Countries with a single unified plan, or where the assignment is not published in a separable form, produce an honest "cannot determine" here rather than a guess. The North American Numbering Plan is the largest such case: in the United States and Canada an area code does not distinguish a mobile from a fixed line at all, and only a network lookup can.

Cleaning a contact list

If you are validating numbers in bulk — a customer list, an event registration export, a spreadsheet inherited from somebody else — the useful sequence is: strip everything that is not a digit or a leading plus, add the country code where the number is local to a known market, remove the trunk prefix if one was left in, then check the length.

Doing it in that order matters. Removing the trunk prefix before you know the country removes the wrong digit for the countries whose numbers legitimately begin with 0 after the country code. Checking length before adding the country code flags every valid local number as too short.

Records that fail after all four steps are genuinely broken and should be corrected at the source rather than guessed at. A number one digit short is not recoverable by adding a zero somewhere plausible; it is a data entry error that needs the original.

For anything larger than a few thousand records, a library that embeds the full numbering-plan metadata is the right tool rather than a web page. This validator uses the same published plan data those libraries do, for one number at a time.

Bottom line

A phone number is valid when it starts with a real country code, its national part is the right length for that country, and — where the country publishes separable ranges — its leading digits fall in a real mobile or fixed-line block. This tool checks all three and shows the result in E.164, the form worth storing.

No browser tool can tell you whether a line is in service; that needs a call or a paid network lookup. The most common defect it does catch is a trunk prefix left in place — the leading 0 that belongs in a domestic number and must be dropped when dialling from abroad.

Frequently asked questions

How do I check if a phone number is valid?

Check three things: that it begins with a real country dial code, that the digits after the code are a plausible length for that country's numbering plan, and that the leading digits fall in a block the country actually assigns. Together those catch typos, missing digits and numbers entered without a country code.

Can a validator tell me whether a number is active?

No, not from a browser. Confirming a line is in service requires placing a call or querying the operator's Home Location Register through a paid lookup service. A free web tool can only check the number against the published numbering plan, which is a syntax check, not a liveness check.

What is E.164 format?

The ITU standard for international phone numbers: a plus sign, the country code and the national number, with no spaces, punctuation or trunk prefix, and at most fifteen digits in total. +442079460958 is E.164; 020 7946 0958 is the national format of the same number.

Should I remove the leading zero from a phone number?

Yes, when dialling internationally. Most countries prefix domestic numbers with a trunk digit — usually 0 — that is not part of the number itself. Dialling +44 020 7946 0958 fails; +44 20 7946 0958 works. Leaving the trunk prefix in is the single most common cause of a failed international call.

Can you tell a mobile from a landline by the number?

In most countries, yes: numbering plans reserve separate leading-digit blocks for mobile and fixed lines, and that boundary is not portable between operators. In the North American Numbering Plan it is not possible — a US or Canadian area code says nothing about the line type, and only a network lookup can distinguish them.

Why does the country matter for the length check?

Because numbering plans differ substantially. Some Pacific island states issue five-digit national numbers; several European countries issue nine or ten. A single global minimum length would either accept broken numbers or reject valid ones, so the check has to be made against the specific country's plan.

Other free tools

Now make the call

Telvio dials real phone numbers in 200+ countries over WiFi or data. Per-second billing, first minute free.

Download Telvio
1 free minuteNo account, no cardCall free