Phone number validator & formatter
Paste any phone number — we tell you if it's valid, format it for every system (E.164, international, national, click-to-call), identify the country and line type (mobile, landline, VoIP, toll-free), and explain what each means. 100% in your browser. No signup. No data leaves your device. Got a whole list? Use the bulk phone number formatter below.
Enter a phone number
Works with any input format — paste with country codes, dashes, parens, or spaces. Validation happens locally in your browser (libphonenumber). Nothing is stored or sent to a server.
Result
Bulk phone number formatter
Paste a column from a spreadsheet or CRM export, pick the format you need, and get the whole list back formatted the same way, with invalid numbers flagged and duplicates removed. Copy the result or download a CSV.
Numbers with a + and country code are detected automatically; the default country is used for the rest. Up to 5,000 numbers. Nothing leaves your browser.
Formatted
Formatted numbers appear here.
What does a phone number validator actually check?
A phone number isn't just a string of digits — it's a hierarchy. A country code at the top (1 for the US and Canada, 44 for the UK, 91 for India), then an area or city code, then a subscriber number. Each country's regulator publishes which ranges are assigned to which carriers and for what purpose. A real validator (like this one) loads that metadata and checks four things at once.
- Country code is real. If you type +99, you get rejected — no country uses that code. Most validators that fail here are doing string-length checks instead of metadata lookups.
- Length is right for that country.US numbers are 10 digits after the country code. UK mobiles are 10. German mobiles are 11. India is 10. Wrong length means the number can't exist.
- The number falls inside an assigned range.Even if the length is right, the prefix has to be one a carrier actually uses. US numbers starting with 555-01XX are fictional (reserved for movies and TV). Numbers starting with unassigned prefixes are flagged as "possibly valid" — length is right, but no carrier owns that block.
- Line type is identified. Mobile, landline, VoIP, toll-free, premium rate — each has different SMS behavior, different cost implications, and different fraud signals. The validator above tells you which one.
What this tool doesn't check: whether the line is currently in service. A number can pass all four checks above and still be disconnected, or belong to someone who hasn't paid their bill in six months. To check live carrier status you need a paid API (Twilio Lookup, Numverify) — most use cases don't need that.
When to validate a phone number
- Before saving to your database.Always normalize to E.164 on write. A number stored as "(415) 555-0182" in one row and "+14155550182" in another will break every dedupe, lookup, and SMS send that touches them.
- Before sending an SMS.Landlines don't accept SMS — sending anyway burns Twilio credit on guaranteed-fail messages. Validate the line type first; fall back to voice for landlines.
- Before placing a phone call from your app. Twilio, Telnyx, and similar APIs return cryptic errors when given a malformed number. Catch it in the form, not at runtime.
- On every form submit. Validate client-side and reject obviously bad numbers before the user moves on. Bad data in is harder to fix later than bad data at the form.
- When cleaning a CRM export.Bulk import from a CSV? Validate each row, normalize to E.164, flag rows that won't parse. Then dedupe by the normalized form — you'll find duplicates that surface formatting was hiding.
Phone number line types explained
libphonenumber distinguishes between several line types. Each behaves differently — especially for SMS, cost, and fraud signals.
Mobile· MOBILE
Cell phone. SMS, MMS, and most carrier features work. Safe default for two-factor auth and reminders.
Landline· FIXED_LINE
Traditional wired phone. SMS usually fails — voice only. Common for offices, older businesses, and homes.
Landline or mobile· FIXED_LINE_OR_MOBILE
Carrier doesn't distinguish — could be either. Treat as mobile for SMS but don't guarantee delivery.
VoIP· VOIP
Internet-based line (Google Voice, OpenPhone, Vonage, virtual receptionists). SMS works on most modern providers; older PBX VoIP may not.
Toll-free· TOLL_FREE
Free for the caller. US: 800, 833, 844, 855, 866, 877, 888. Used by businesses for inbound customer service.
Premium rate· PREMIUM_RATE
Caller pays per minute. Paid hotlines, voting lines, adult services. Be careful — accidental dialing is expensive.
Personal number· PERSONAL_NUMBER
A forwarding number not tied to a single device. Common in the UK (070 prefix).
The four phone number formats you actually use
E.164
+14155550182
The international standard. Plus sign, country code, subscriber number, no punctuation. Every phone API expects this. Always store this in your database.
International
+1 415 555 0182
Human-readable across countries. Use this when displaying a number to someone who might be outside the country it belongs to.
National
(415) 555-0182
Country-local display style. (415) 555-0182 in the US, 020 7946 0958 in the UK. Use this when you know the reader is local.
Click-to-call (tel:)
tel:+14155550182
Drop into href on a link or button. Tapping on a phone opens the dialer with the number pre-filled. Use the E.164 form so it works when the visitor is roaming.
US phone number format
A US phone number is 10 digits: a 3-digit area code, a 3-digit exchange, and a 4-digit line number. With the country code it's 11 digits, starting with 1. The US shares the +1 country code with Canada and much of the Caribbean under the North American Numbering Plan. Neither the area code nor the exchange can start with 0 or 1.
| Style | Example | Use it for |
|---|---|---|
| Parentheses | (415) 555-0182 | Websites, signs, business cards in the US |
| Dashes | 415-555-0182 | Forms and documents; the most common US style |
| Dots | 415.555.0182 | Design-led print; same digits, different separator |
| International | +1 415 555 0182 | Anyone who might be calling from abroad |
| E.164 | +14155550182 | Databases, CRMs, SMS and phone APIs |
All five are the same number. Pick one display style and use it everywhere a customer sees your number, and store E.164 behind the scenes so lookups and texts never miss.
International phone number format
Internationally, a number is written as a plus sign, the country code, then the national number without its leading trunk 0. A London number written locally as 020 7946 0958 becomes +44 20 7946 0958. The plus stands for whatever exit code the caller's country uses (011 from the US, 00 from most of Europe), which is why the + form works from anywhere.
E.164is the strict version of that: the same digits with no spaces or punctuation, at most 15 digits after the +. That's the format every phone API, SMS provider and CRM expects. Paste a list into the formatter above and pick E.164 to convert it in one go.
Phone number validator & formatter FAQ
What is a phone number validator?+
A phone number validator checks whether a string of digits is actually dialable — that the country code is real, the length is right, and the number falls inside a range that a carrier in that country actually uses. A good validator also identifies the country, the line type (mobile, landline, VoIP, toll-free), and gives you the number in the formats different systems expect: E.164 for APIs, International for human display, National for inside-country display, and a tel: URI for click-to-call links.
What is E.164 format?+
E.164 is the international standard for phone numbers — a plus sign, then the country code, then the subscriber number, with no spaces or punctuation. A US example: +14155550182. Every phone API on earth (Twilio, Stripe, RingOwl, your CRM) wants numbers in E.164. If you store numbers any other way, you'll have format mismatches the moment a customer enters a different style.
Is this validator accurate?+
It uses Google's libphonenumber metadata — the same library that powers Android's phone app and most major carriers' validation systems. It catches: invalid country codes, wrong-length numbers, numbers outside any assigned carrier range, common typos. What it cannot tell you is whether a number is currently in service (whether someone is paying their bill, whether the line has been disconnected). For that you need a live lookup API (Twilio Lookup, Numverify) — those cost money per query and aren't necessary for most use cases.
Why does my number show "possibly valid" instead of valid?+
"Possibly valid" means the length is plausible for the country but the number doesn't fall inside any range a carrier in that country is known to use. This usually means: (1) the country is wrong — try a different country in the dropdown, (2) the number is a fictional/test number (like 555-0100 in the US), or (3) the number range is too new and hasn't been published in the latest metadata yet. For real customer data, treat "possibly valid" as invalid and ask for a correction.
Will SMS work on a landline number?+
Usually not. Most landlines (FIXED_LINE in our output) don't accept SMS — texts sent to them either fail silently or get read aloud by a robot service the customer never set up. If you're collecting numbers for SMS reminders or two-factor auth, validate the type up-front and either reject landlines or fall back to a voice call. RingOwl's missed-call texts handle this automatically — landline customers get a callback voicemail instead of an SMS.
What about VoIP numbers — are they safe to text?+
Depends on the provider. Google Voice, OpenPhone, and most modern business VoIP lines accept SMS just fine. Older PBX VoIP and corporate switchboards may not. The safest rule: treat VoIP as "send and verify" — send the SMS, but also have a voice fallback. If you're filtering signups for fraud, VoIP is a weak signal (real customers use Google Voice constantly) — don't auto-reject VoIP numbers.
How do I add a click-to-call link to my website?+
Use the click-to-call URI from the result above — it starts with tel: and includes the E.164 number. Drop it into the href on a button or link: <a href="tel:+14155550182">Call us</a>. On a phone, tapping the link opens the dialer with the number pre-filled. Use the E.164 form, not the formatted national form — country code matters when the visitor is roaming.
Does this work for numbers outside the US?+
Yes — all 240+ countries libphonenumber supports. Pick the country from the dropdown (or paste a number with a + and country code and we'll auto-detect). Validation rules, length, and type identification all come from the country-specific metadata. The metadata is updated regularly by Google's libphonenumber team as carriers assign new ranges.
Is my phone number sent to a server?+
No. The entire validation happens in your browser — libphonenumber-js ships with all the country metadata bundled, so no API calls leave your device. RingOwl doesn't log, store, or see anything you type here. Refresh the page and it's gone.
Can I bulk-validate or bulk-format a list of phone numbers?+
Yes. Paste up to 5,000 numbers, one per line, into the bulk phone number formatter on this page. It validates each one, formats the valid ones in the style you pick (E.164, international, national, dashes, dots, or digits only), flags the invalid ones, removes duplicates, and lets you download the result as a CSV with the original, formatted and E.164 columns. If you also need to know whether each line is currently in service, that needs a paid live lookup such as Twilio Lookup.
What is the US phone number format?+
Ten digits: a 3-digit area code, a 3-digit exchange and a 4-digit line number, usually written (415) 555-0182 or 415-555-0182. With the +1 country code it's +1 415 555 0182 for display, or +14155550182 in E.164 for storage and APIs. The area code and the exchange can't start with 0 or 1.
How do I format a phone number in international format?+
Write a plus sign, the country code, then the national number with its leading 0 removed. A UK number 020 7946 0958 becomes +44 20 7946 0958, and a US number (415) 555-0182 becomes +1 415 555 0182. For E.164, remove the spaces too: +442079460958. The formatter on this page does the conversion for a whole list.
How do I format phone numbers in Excel or Google Sheets?+
If the numbers are already clean 10-digit US numbers, a custom number format of (000) 000-0000 works in Excel, and a formula like =TEXT(A2,"(000) 000-0000") works in both. Real exports are rarely that clean: mixed punctuation, country codes on some rows, extensions and typos. Copy the column, paste it into the bulk formatter here, pick a format, and paste the result back. Invalid rows are flagged so you can fix them.
Validating numbers is the easy part
Answering them is where most businesses lose.
RingOwl is the AI answering service for appointment-heavy SMBs. Every caller hears a friendly receptionist, every booking lands in your calendar, every call gets emailed to you as a structured summary — no missed calls, no voicemail tag.
7-day trial · 30 minutes included · No credit card.
Related free tools