previous icon Back to blog
Nov 27, 2020
3 minutes read

How to format international telephone numbers

Sending SMS messages is easy, although some of the finer details can be a little confusing. Formatting international phone numbers, for example, can be tricky, so here's how it's done.

Country codes

The most important part to remember is to add the international country code. A mobile phone number in the United Kingdom always starts with the digits '07', for instance ‘07911 123456’. If you don't add an international country code, a computer might interpret that phone number as something else altogether. The country code for Russia is ‘+7’, and Russian mobile phone numbers start with ‘+79’, so ‘+7911 123456’ might actually be a Russian mobile phone number.

Adding ‘+44’, the UK’s country code makes the number unambiguous; ‘+44 7911 123456’ will always connect to a mobile phone in the UK.

E.164 formatting

It might be clever to format numbers using the E.164 recommendation. An international E.164 number is designed to include all of the necessary information to successfully route a call or SMS message to an individual subscriber on a national public telephone network.

Here's how the E.164 numbering plan works:

  • A telephone number can have a maximum of 15 digits

  • The first part of the telephone number is the country code (one to three digits)

  • The second part is the national destination code (NDC)

  • The last part is the subscriber number (SN)

  • The NDC and SN together are collectively called the national (significant) number

To use the previous example:

  • Country code: +44

  • National destination code: 7911

  • Subscriber number: 123456

  • The result: +447911123456

Two important things to note: First of all, in the international E.164 notation a leading ‘0’ is removed. The UK mobile phone number ‘07911 123456’ in international format is ‘+44 7911 123456’, so without the first zero. Secondly in the E.164 notation all spaces, dashes [‘-‘] and parentheses [ ‘(‘ and ‘)’] are removed, besides the leading ‘+’ all characters should be numeric.

International phone number validator

A great way to check whether a phone number is correct, or how it should look in E.164 formatting, is by using the Phone Number Parser demo. This is part of a piece of software that Google uses to check phone number formatting in Android phones.

The website ‘howstuffworks’ has more valuable background information on the origin of the International Telecommunication Unit (ITU) and the numbering plan E.164.

SMS: instant international reach

SMS is an effective way of instantly reaching people all over the world. See how our partners are using SMS to reach their customers, improve customer service and increase conversion

Was this article interesting?
Share it!
Tags
CM.com
connects tens of thousands of companies with millions of consumers via their mobile phone each day. Behind the scenes, from our innovative platform, CM.com makes sure companies can use these millions of messages, phone calls and payments to become part of people’s lives.

Related articles

sms-email-leads
May 06, 2024 • SMS

SMS templates to streamline customer service

Using SMS for customer service enables service agents to connect with your customers and using templates not only saves time but also lets agents create personalised, on-brand communications with just a few clicks. In this blog, we’ll share SMS customer service templates you can use to give your customers the information they need — fast.

sms-vs-mms-vs-rcs
Apr 29, 2024 • SMS

Optimise customer service with notifications and live support via SMS

Add SMS to your contact centre to help your agents connect with your customers, tackle more conversations at a time without losing personal touch and gain valuable insights with streamlined feedback surveys to enhance customer satisfaction rates.

SMS Security
Apr 22, 2024 • Security

Secure your business with SMS OTPs and alerts

In the current digital era, technological and online advances are rapidly growing, creating new ways for businesses to engage their customers. Unfortunately, where there is growth, there will be criminals trying to steal some of the profits. Protecting business data, customer information and online accounts is a priority for every modern business. SMS security can help protect your business and your customers from online fraud and cybercrime.

sms-10dlc
Apr 08, 2024 • SMS

Increase Promise to Pay conversion rates with SMS

Today business communication is often reduced to quick exchanges and instant messaging, the role of SMS has become increasingly pivotal to keep conversations front of mind. One such area where SMS has proven to be a game-changer is for late payments, especially Promise to Pay (PTP) agreements. These agreements, which involve a commitment to settle a financial obligation, benefit immensely from the efficiency and immediacy that SMS brings to the table. In this blog, we will explore the power of SMS in the context of Promise to Pay agreements.

SMS Appointment Notifications
Apr 01, 2024 • SMS

Streamline your business to success with SMS notifications

From appointment no-shows to late payments, every disruption in the flow of a business is costly in both time and money. Lost preparation time, altered schedules and the additional time taken to reschedule appointments or deliveries impact revenue, a situation any business wants to avoid. Yet, timely communication via SMS can help prevent such disruptions in your business flow. In this blog, we'll explore how SMS offers a solution and share some SMS templates.

SMS Customer Service
Mar 25, 2024 • SMS

How to effectively use SMS for late payments

Organisations face a significant challenge in effectively managing overdue payments and cash flow in a positive light with customers. To collect payments while keeping relationships intact and increasing engagement, SMS has emerged as a powerful, efficient and convenient tool for both businesses and customers. In this blog, we’ll explore how to effectively use SMS for late payments, highlighting its benefits and best practices.

sms-in-ecommerce
Mar 11, 2024 • SMS

How to create a successful eCommerce strategy with SMS

Every successful eCommerce strategy should aim to optimise customer communication across the entire buying journey. Why? The customer buying journey isn't limited to the point of sale alone. It encompasses everything leading up to purchase and everything afterwards. So, businesses need to engage and assist customers during the pre-sale, purchase and post-purchase stages - via a channel available to all - to create a successful eCommerce strategy.

how-popular-is-sms
Mar 04, 2024 • SMS

How popular is SMS? And how can it add value to your business?

While SMS is one of the oldest messaging services, the rise of instant messaging channels made a dent in its traffic. Why? Compared to the newer channels with rich features, SMS is relatively basic in its features, with plain text messages and a character limit of 160. Yet in customer communication, basic is often effective. So much so, that SMS is still one of the most impactful communication channels today. But how can it add value to your business? In this blog, we explore the popularity and key use cases of this ever-lasting channel.

whatsapp-authentication
Jan 15, 2024 • Authentication

Two-Factor Authentication (2FA) on different messaging channels

Data security is an integral part of any organisation. Yet, how can businesses protect sensitive information in a world where employees and customers access online accounts from multiple devices and channels? Two-Factor Authentication (2FA) is the answer.

Is this region a better fit for you?
Go
close icon