Randomly logo Randomly

Phone number validator

Check a phone number's structure. With a leading + country code it detects the country and verifies the national-number length.

Standard E.164 Check Structure

Input

Phone number check

Enter a phone number (ideally with its + country code) to check its structure.

With a leading + and country code, this matches the dialing code and national-number length to a country. Without one, it checks the digit count against known national formats. It's a structural check, not a live lookup, so it can't confirm the number is in service.

A free phone number validator that checks whether a phone number has a structurally valid format. Numbers with a leading + country code are parsed per E.164 — the tool identifies the country and checks the national number length. Everything runs locally in your browser and nothing is transmitted.

How to validate a phone number

  1. Enter the number in international format (+1 202 555 0100) or national format for a known country.
  2. Including a + and country code gives the most precise result — the tool identifies the country and expected digit count.
  3. Spaces, dashes, dots, and parentheses are stripped automatically before validation.
  4. Result shows valid with country and type, or invalid with the reason.

E.164 and national number length validation

E.164 is the ITU-T standard for international telephone numbers. A fully-formed E.164 number starts with + followed by a 1-3 digit country code and up to 15 total digits. Each country code maps to a set of valid national number lengths — for example, US (+1) national numbers are always 10 digits, while some countries permit 7 or 11 digits depending on the number type. This validator detects the country code and checks whether the remaining digit count falls within the allowed range for that country.

What phone number validation cannot confirm

  • Whether the number is assigned to a real subscriber.
  • Whether the number is currently active or in service.
  • Whether the number is mobile, landline, VoIP, or toll-free.
  • Carrier or geographic assignment — those require a live number portability API lookup.

Frequently asked questions

What does phone number validation check?

It checks that the number matches a valid length for its country code per E.164 rules. It does not confirm the number is active, assigned, or currently in service with any carrier.

Why should I include the + country code?

Without a country code, the validator can only check basic digit count against a generic range. With +CC it identifies the specific country and applies that country's exact national number length rules for a precise result.

Does this tool support all countries?

It covers all country codes defined in the ITU-T E.164 assignment table, including multi-country shared codes like +1 (NANP) which covers the US, Canada, and Caribbean nations.

Is the phone number I enter stored anywhere?

No. The validator runs entirely in your browser. Nothing is sent to a server or any third-party service.

Other tools