# E.164 phone number formatter

Source: https://tempsmsverify.com/tools/phone-number-formatter · Last updated: 2026-10-24

Paste a number in any shape, pick the country if it has no +code, and get it back in E.164, international, national and RFC 3966 (tel:) format. The tool strips trunk prefixes, detects the country from a leading +code and checks the length against the national numbering plan for the busiest countries.

## What is E.164 format?

E.164 is the ITU standard for international phone numbers: a plus sign, the country code and the national number, with no spaces, dashes or trunk prefix, and at most 15 digits in total. A US number written as (415) 555-2671 becomes +14155552671. Most apps and SMS APIs expect this format.

## How to use the formatter

- Type or paste the number. Spaces, dashes, dots and parentheses are ignored.
- If the number starts with + or 00, the country is detected from the code and the selector is ignored.
- If it has no country code, select the country; a leading trunk prefix (0 in most of Europe and Asia, 1 in North America, 8 in Russia) is removed automatically.
- Read the status line: green means the length matches the country's numbering plan, amber means the number only passed the generic E.164 check, red means the length is wrong.
- Copy the format you need. E.164 is what sign-up forms and APIs want; RFC 3966 is the tel: link you put in a web page.

## The four formats explained

| Format | Example | Where it is used |
| --- | --- | --- |
| E.164 | +14155552671 | Sign-up forms, SMS and voice APIs, databases, contact sync |
| International | +1 415 555 2671 | Business cards, email signatures, anything a person reads |
| National | (415) 555-2671 | Dialing from inside the same country, local listings |
| RFC 3966 | tel:+1-415-555-2671 | Clickable phone links in HTML (href) and vCards |

## Length rules for 57 countries

The table lists the number of digits a national number has after the country code (trunk prefix removed) in the countries that account for most verification traffic. Ranges reflect plans with variable-length numbers; Germany and Austria, for example, allow anything from six to thirteen digits. Countries not in the table are checked against the E.164 envelope only: at least six digits and at most 15 in total including the country code.

| Country | Code | Digits after code | Trunk prefix |
| --- | --- | --- | --- |
| Argentina | +54 | 10–11 | 0 |
| Australia | +61 | 9 | 0 |
| Austria | +43 | 7–13 | 0 |
| Bangladesh | +880 | 10 | 0 |
| Belgium | +32 | 8–9 | 0 |
| Brazil | +55 | 10–11 | 0 |
| Canada | +1 | 10 | 1 |
| Chile | +56 | 9 | none |
| China | +86 | 10–11 | 0 |
| Colombia | +57 | 10 | none |
| Czechia | +420 | 9 | none |
| Denmark | +45 | 8 | none |
| Egypt | +20 | 9–10 | 0 |
| Finland | +358 | 5–12 | 0 |
| France | +33 | 9 | 0 |
| Germany | +49 | 6–13 | 0 |
| Greece | +30 | 10 | none |
| Hong Kong | +852 | 8 | none |
| Hungary | +36 | 8–9 | 06 |
| India | +91 | 10 | 0 |
| Indonesia | +62 | 8–12 | 0 |
| Iran | +98 | 10 | 0 |
| Ireland | +353 | 7–9 | 0 |
| Israel | +972 | 9 | 0 |
| Italy | +39 | 6–12 | none |
| Japan | +81 | 9–10 | 0 |
| Kazakhstan | +7 | 10 | 8 |
| Kenya | +254 | 9 | 0 |
| Malaysia | +60 | 9–10 | 0 |
| Mexico | +52 | 10 | none |
| Morocco | +212 | 9 | 0 |
| Netherlands | +31 | 9 | 0 |
| New Zealand | +64 | 8–10 | 0 |
| Nigeria | +234 | 7–10 | 0 |
| Norway | +47 | 8 | none |
| Pakistan | +92 | 10 | 0 |
| Peru | +51 | 9 | none |
| Philippines | +63 | 10 | 0 |
| Poland | +48 | 9 | none |
| Portugal | +351 | 9 | none |
| Romania | +40 | 9 | 0 |
| Russia | +7 | 10 | 8 |
| Saudi Arabia | +966 | 9 | 0 |
| Singapore | +65 | 8 | none |
| South Africa | +27 | 9 | 0 |
| South Korea | +82 | 9–10 | 0 |
| Spain | +34 | 9 | none |
| Sweden | +46 | 7–10 | 0 |
| Switzerland | +41 | 9 | 0 |
| Taiwan | +886 | 9 | 0 |
| Thailand | +66 | 9 | 0 |
| Turkey | +90 | 10 | 0 |
| Ukraine | +380 | 9 | 0 |
| United Arab Emirates | +971 | 9 | 0 |
| United Kingdom | +44 | 9–10 | 0 |
| United States | +1 | 10 | 1 |
| Vietnam | +84 | 9–10 | 0 |

## Why format matters for SMS verification

Apps that send verification codes normalize what you type into E.164 before handing it to their SMS provider. When the normalization guesses wrong, the code goes to a number that does not exist and you see nothing. The classic mistakes: keeping the trunk 0 after the country code (+44 07911… instead of +44 7911…), typing a national number into a form that already shows the country code, or picking the wrong country in the dropdown. If a form rejects a temporary number from our catalog, paste the number here first and compare the E.164 output with what the form shows.

## What this tool does not do

- It does not check whether a number is assigned, active or reachable, and it does not tell mobile numbers from landlines.
- Length rules exist for 57 countries; everywhere else only the E.164 limit is checked, so a wrong length can pass.
- Shared country codes are resolved by a short list of prefixes (Canada's area codes, Kazakhstan's +7 6/7, Mayotte inside +262, NANP overlays). Guernsey, Jersey and the Isle of Man are shown as United Kingdom; Vatican City as Italy.
- Germany and Austria have very flexible plans, so a national number typed with its country code but without + cannot always be told apart from a long national number. Add the + when you include the country code.
- Grouping in the international and national formats follows common conventions, not every carrier's house style.

## FAQ

### What does E.164 stand for?

E.164 is the number of the ITU-T recommendation that defines the international public telecommunication numbering plan. It is not an acronym. The format it describes is +[country code][national number], up to 15 digits, which is why people say a number is 'in E.164'.

### Does E.164 include the leading 0?

No. The trunk prefix (0 in most countries, 1 in the US and Canada, 8 in Russia) is only used when dialing domestically and is dropped in E.164. +44 07911 123456 is wrong; +447911123456 is right. Italy is the exception: its landline numbers keep the 0 because it is part of the number itself.

### How does the tool know which country a +code belongs to?

It takes the digits after the + and finds the longest country code that matches, using the same table as our calling codes lookup. For shared codes it applies a few extra prefixes: Canadian area codes under +1, +7 6 and +7 7 for Kazakhstan, and overlay area codes for Puerto Rico, Jamaica and the Dominican Republic.

### Why does the status say the number is valid but the app still rejects it?

Valid here means the length matches the country's numbering plan. The app may reject the number for other reasons: it is a landline where only mobiles are accepted, it is a VoIP range the app blocks, it was already used for the maximum number of accounts, or the app does not serve that country. Our requirements index lists those policies per app.

### Is my number sent anywhere when I use the formatter?

No. The formatting runs in your browser with a small JavaScript table. Nothing is posted to our servers, logged or stored, and there is no account.

### What is the difference between E.164 and RFC 3966?

E.164 defines the number itself. RFC 3966 defines the tel: URI scheme used in links, which carries an E.164 number with optional visual separators, for example tel:+1-415-555-2671. Browsers and phones ignore the hyphens when dialing.

---
TempSMSVerify · https://tempsmsverify.com
