Skip to main content

Phone Number Parser & Formatter

Parse a single phone number and format it as E.164, national, international and RFC 3966 (tel:) forms. Detects the country, calling code and line type (mobile, fixed line, toll free, VoIP...) from a leading + or a chosen default country.

Input

Used when the phone number doesn't include a country code

Output

Result
FormatValue
No data yet
Was this helpful?

Guides

Paste in a phone number in almost any shape — with spaces, dashes, parentheses, a leading +, or just bare digits — and this tool parses it once and shows you every standard representation at the same time: E.164, national, international, and RFC 3966 (tel: URI), along with the detected country, calling code and line type. It runs entirely in your browser: nothing you type is uploaded anywhere.

How to use it

  1. Type or paste a phone number into the Phone Number field (or load the built-in example).
  2. If the number doesn't already start with a + and a country code, pick the Default Country it should be interpreted against — a bare 5551234567 means something different depending on whether it's read as a US or French number.
  3. The result table updates instantly with every format, the detected country, and whether the number is valid and/or possible.

What each row means

  • International (E.164) — the compact, unambiguous global format (+14155552671) used by APIs, databases and SMS gateways.
  • National — how the number would normally be written or dialed from inside its own country ((415) 555-2671).
  • International — the human-friendly international format with spacing (+1 415 555 2671), the version you'd print on a business card.
  • RFC 3966 — the tel: URI form (tel:+14155552671), useful for href links that open a dialer.
  • Country / Country Calling Code — the country the number belongs to and its dialing prefix, inferred from the number itself (or your chosen default when no country code is present).
  • Number Type — mobile, fixed line, toll free, VoIP, premium rate, and so on, where the country's numbering plan makes that distinction knowable from the number alone.
  • Valid Number / Possible Numbervalid means the number matches a real assigned pattern for its country; possible is the looser check of whether the digit count and prefix are plausible even if the exact range isn't confirmed. A number can be possible without being valid.

Why does a bare 10-digit number need a "Default Country"?

Phone numbers are only unambiguous with their country code attached. 5551234567 is a complete, valid US number — but the same ten digits mean nothing (or something else entirely) in a country with a different numbering plan. The Default Country tells the parser which numbering plan to check the digits against when the input doesn't already carry a + and country code.

Parsing vs. validating

This tool is about turning one phone number into its standard formats — if you just need a fast valid/invalid check without the format breakdown, use the Phone Number Validator instead. Need to pull numbers out of a block of text? Try the Phone Number Extractor. Need throwaway numbers for testing forms? Try the Phone Number Generator.

Is my data private?

Yes. Parsing and formatting happen locally in your browser — the number you enter is never sent to a server or stored.

phonetelephonee164formatterparserinternationallibphonenumber

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.