HomePhone Number Validators

Phone Number Validators

International, local, and carrier-specific number validation.

36 Tools Available

US Phone

US/Canada 10-digit format.

/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/

UK Phone

UK Mobile number format.

/^(\+44\s?|0)7\d{3}\s?\d{6}$/

Germany Phone

German standard format.

/^(\+49\s?|0)(\d{3,4})\s?\d{3,9}$/

France Phone

French standard format.

/^(\+33\s?|0)[1-9](\s?\d{2}){4}$/

India Phone

Indian mobile format.

/^(\+91\s?)?[6-9]\d{9}$/

China Phone

Chinese mobile format.

/^(\+86\s?)?1[3-9]\d{9}$/

Australia Phone

Australian mobile format.

/^(\+61\s?|0)4\d{2}\s?\d{3}\s?\d{3}$/

Japan Phone

Japanese phone format.

/^(\+81\s?|0)\d{1,4}[-\s]?\d{1,4}[-\s]?\d{4}$/

Brazil Phone

Brazilian mobile format.

/^(\+55\s?)?\(?\d{2}\)?[\s-]?9?\d{4}[\s-]?\d{4}$/

Russia Phone

Russian phone format.

/^(\+7|8)\s?\(?\d{3}\)?[\s-]?\d{3}[\s-]?\d{2}[\s-]?\d{2}$/

South Africa Phone

South African format.

/^(\+27|0)\d{2}\s?\d{3}\s?\d{4}$/

E.164 Global

Strict E.164 international standard.

/^\+[1-9]\d{1,14}$/

Toll-Free US

US Toll-Free numbers.

/^(\+1\s?)?(800|888|877|866|855|844|833)[\s.-]?\d{3}[\s.-]?\d{4}$/

Extension Match

Captures phone extensions.

/(?:x|ext|extension)\.?\s*(\d{1,5})/

Area Code US

Extracts US Area Code.

/^\(?([2-9][0-9]{2})\)?/

RFC3966 URI

Matches RFC3966 URIs.

/tel:\+([0-9]+)/

Emergency 911

Matches US emergency code.

/\b911\b/

Emergency 112

Matches EU emergency code.

/\b112\b/

Short Code

Matches SMS short codes.

/^\d{5,6}$/

Premium Rate

Matches US Premium numbers.

/^(900|976)[\s.-]?\d{3}[\s.-]?\d{4}$/

Vanity Number

Matches 1-800-FLOWERS style.

/[2-9A-Z]{7,}/

Mexico Phone

Mexican standard format.

/^(\+52\s?)?\d{10}$/

Italy Phone

Italian mobile format.

/^(\+39\s?)?3\d{2}\s?\d{6,7}$/

Spain Phone

Spanish mobile format.

/^(\+34\s?)?[67]\d{8}$/

Generic Mobile

Broad mobile number catch-all.

/^\+?\d{10,14}$/

Dotted Format

Matches 555.123.4567.

/\d{3}\.\d{3}\.\d{4}/

Hyphenated

Matches 555-123-4567.

/\d{3}-\d{3}-\d{4}/

Space Separated

Matches 555 123 4567.

/\d{3}\s\d{3}\s\d{4}/

Parentheses

Matches (555) 123-4567.

/\(\d{3}\)\s?\d{3}-\d{4}/

Leading Zero

Matches numbers with leading zero.

/^0\d{9,}$/

Plus Sign Start

Matches numbers starting with +.

/^\+\d+/

Numeric Only

Strictly digits only.

/^\d+$/

VoIP Number

Common VoIP area codes.

/^\+?1?\s?(?:646|347|718|917)[\s.-]?\d{3}[\s.-]?\d{4}$/

Carrier Code

Extracts first 3 digits.

/^\d{3}/

Non-Numeric Cleaner

Finds junk chars in phone strings.

/[^0-9+]/

Hong Kong Phone

Hong Kong phone format.

/^(\+852\s?)?[2-9]\d{7}$/