Saved

Press the star next to a tool's name to save it.

All my tools

Phone Number Validator

Enter a number, and this phone number validator checks its format against the country's numbering plan, then gives you the clean international version and the likely line type.

Checked 100% in your browser. Nothing you type is sent, saved or logged.

If you start the number with + and a country code, that country is used instead.

Your number stays in your browser. Nothing is uploaded.

Result

–

This checks the format only. It can't tell you whether a number is in service, who owns it, or whether a call is genuine.

Enter a phone number and press Check number.

A phone number validator tells you whether a number is written correctly for its country. Type in a number, choose a country, and this phone number validator checks the digits against that country's numbering plan. If the format is right, you'll get the clean international version, ready to use in a contact list, a form or a database. If it's wrong, you'll see exactly why. It's useful for tidying up customer records and for catching typing mistakes before you send a message. The check takes place in your browser, so nothing that you enter is uploaded.

How to use the phone number validator

  1. Choose the country for the number.
  2. Enter the number in any common style, with or without spaces and brackets.
  3. Press Check number.
  4. Read the result, and copy the international format if you need it.

What this tool can and can't tell you

A format check confirms that a number could exist under a country's numbering rules. It can't confirm that the number has been assigned to anyone, that it's currently in service, or who it belongs to. Only the phone network knows that, and finding out needs a paid lookup service. So think of the result as a spelling check for phone numbers. A valid format means that there are no obvious mistakes, not that somebody will pick up.

What is the E.164 format?

E.164 is the international standard that defines a general format for telephone numbers. A number that follows the plan contains only digits, up to a maximum of fifteen, and begins with a country code of one to three digits. It's normally written with a plus sign in front. For example, the US number (212) 555-0123 becomes +12125550123. Storing numbers this way means that they are unambiguous everywhere in the world, which is why many software systems require it.

The rules used for each country

CountryRule checked
United States and Canada10 digits, in the pattern NXX NXX-XXXX, where N is any digit from 2 to 9
India10 digits after +91 or a leading 0. Mobile numbers start with 9, 8, 7 or 6
United KingdomNearly all numbers have 10 digits after the leading 0. Mobile numbers are in the 07 range
Australia9 digits after the leading 0. Mobile numbers start with 04
Other countriesGeneral E.164 check: a plus sign and no more than 15 digits

Phone number examples

  • (212) 555-0123 with the United States selected is a valid format, and its international version is +12125550123.
  • (112) 555-0123 is invalid, because an area code can't begin with 1.
  • 98765 43210 with India selected is a valid format, and it looks like a mobile number.
  • 07911 123456 with the UK selected is valid, and it becomes +447911123456.

Is this a scam number? A short guide

A phone number validator isn't a scam number checker, and no format check can identify a scammer. In fact, a number that looks perfectly normal may not be what it appears to be. The FCC describes spoofing as when a caller deliberately falsifies the information sent to your caller ID display to disguise their identity. Scammers often make a call seem to come from a local number, or from a company or a government agency that you know. You may not be able to tell right away if an incoming call is spoofed, so the FCC's advice is simple:

  • Don't answer calls from unknown numbers, and if you do answer one, hang up immediately.
  • Be extremely careful about responding to any request for personal identifying information.
  • Check independently. If a caller claims to be from your bank, hang up and call the number on your card or statement.
  • Report it. In the US, you can file a complaint with the FCC.

Why formatting matters for businesses

Mistyped numbers cost money. Text messages fail, delivery drivers can't reach customers, and sales teams waste time on dead leads. Validating a number when it's first entered is the cheapest way to prevent those problems. Saving every number in the same format also makes it far easier to spot duplicates and to connect your systems with messaging or calling services.

Leading zeros and country codes

Many countries use a leading 0 for calls made within the country, known as a trunk prefix. It gets dropped when you dial from abroad. A UK mobile written as 07911 123456 becomes +44 7911 123456 from another country, for example. Writing +44 (0)7911 is a common habit, but it can confuse people and software, so it's best to leave out the 0 once you've included the country code. This tool removes the leading 0 for you.

Common mistakes

  • Treating a valid format as proof. It doesn't show that the number is real.
  • Keeping the 0 after a country code. Drop it in the international format.
  • Choosing the wrong country. The same digits may be valid in one country and not in another.

Check another ID format with the PAN card validator, spot differences in lists with the diff checker, and clean up your data with find and replace text.

What next

Use this often? Add Phone Number to your Home screen.

Frequently asked questions

How does the phone number validator work?

It removes spaces and symbols, then compares the digits with the numbering rules of the country.

Can it tell if a number is active?

No. It checks only the format, not whether the number is in service.

Can it identify a scam number?

No. Callers can fake caller ID, so a normal-looking number proves nothing.

What is E.164?

It's the international phone format: a plus sign, then a country code and number, up to 15 digits.

Is my number uploaded?

No. The check happens in your browser.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Developer Tools