previous icon Back to blog
Jul 23, 2014
3 minutes read

How to format international telephone numbers?

Sending SMS messages is easy, although there are some details that need attention. There is, for instance, quite some confusion on how to format telephone numbers correctly.

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, the computer might interpret that phone number otherwise. The country code for Russia is ‘+7’, and Russian mobile phone numbers start with ‘+79’, so ‘+7911 123456’ might be a Russian mobile phone as well.

Therefore you should add ‘+44’ UK’s country code to make the number unambiguous; ‘+44 7911 123456’ will always lead 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 nation's 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
  • In total: +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 using the Phone Number Parser demo. That 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 International Telecommunication Unit (ITU) and the numbering plan E.164.

Food for thought: When you upload the mobile phone numbers of your recipients into our Address Book, every country code around the world is already listed, this means your can simply select your country and country codes will be allocated for you.

 

Was this article interesting?
Share it!
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.

Latest articles

hero-17-sms-customer-service-templates-to-use-today
Nov 11, 2024 • Conversational AI

Turning shoppers into loyal fans: How to retain customers post-Black Friday

Black Friday is a huge shopping event, drawing crowds of eager shoppers hunting for deals. But after the frenzy fades, the real challenge begins: turning one-time shoppers into loyal, repeat customers. Customer retention is vital for long-term success and post-Black Friday is the perfect time to build lasting relationships. So, how can your business retain customers post-Black Friday? In this blog, we’ll explore how to make it happen.

Migrate WhatsApp for Business account
Nov 04, 2024 • WhatsApp

WhatsApp Business Platform: Pricing Changes 2024/2025

WhatsApp Pricing is based on conversation categories with corresponding fees. Read all about the pricing model in this blog. Meta has announced some upcoming pricing changes for 2024 and 2025. Find out what those changes mean for you!

blackfriday-2024-blog-featured-global
Oct 16, 2024 • Conversational AI

The art of simplicity: Helping your customers make quick decisions this Black Friday

Black Friday 2024 is just around the corner, bringing with it a great opportunity for retailers to maximise their sales. However, standing out in such a competitive event isn’t easy. Consumers expect attractive offers, fast deliveries, and top-notch customer support. In this article, we’ll show you how to simplify the purchasing process during Black Friday, optimising everything from promotions to logistics and 24/7 customer service. Discover the best strategies to ensure a seamless experience and increase customer loyalty. Don’t fall behind this Black Friday!

fraud-and-simplify-verification-processes-hero
Oct 14, 2024 • Security

Prevent text messaging fraud and simplify verification processes with number verify

Customer communication via text messaging has become an integral part of the modern business landscape. In recent years however, criminals have figured out that they can abuse SMS communication to scam both your business and your customers out of data and money. But not to worry, there's a new, convenient, and fast verification method that can help secure your online accounts: Number Verify!

verification-services
Oct 14, 2024 • Security

Your one-stop-shop for verification services

Securing online accounts, data and users is a must in business today. At least, if you don't want to end up as the next security breach headliner in the papers. But simply implementing a bunch of security measures isn't always enough. Loose apps and services become vulnerable for fraud, and are often cost-inefficient. That's why we now offer a one-stop-shop to safely secure your business: Verification API.

Jeroen-buitenland
Oct 01, 2024 • CM.com

Pushing boundaries: The path to global success

By 2010, CM.com knew it was time to expand beyond our roots. What begun in nightclubs had grown into a broader client base across various industries. It was time to push boundaries—both literally and figuratively. Here’s the story of our international journey, filled with challenges, triumphs, and lessons.

blog-25-years-diy-to-high-tech
Sep 30, 2024 • CM.com

CM.com’s journey from DIY solutions to a world-class operation

What started as ClubMessage — focused on SMS marketing for nightclubs — quickly evolved into a technology powerhouse capable of handling millions of messages. Within just five years, the company had not only built a vast reach among young people but also developed its own technology to manage high volumes of SMS traffic. This rapid growth saw CM.com become the Netherlands' largest SMS buyer, with its technology branching out into new sectors like television and banking.

puzzle cm.com
Sep 30, 2024 • CM.com

The puzzle comes together: From pieces to platform

We started by offering just SMS services, but today we offer an integrated platform where communication, commerce, and customer engagement come together to drive meaningful business interactions. Over the past 25 years, CM.com has been assembling this platform piece by piece, with each innovation, product, and acquisition adding to the bigger picture. Let’s explore how these puzzle pieces have come together to build the CM.com of today.

WhatsApp Pay
Jul 15, 2024 • WhatsApp

How to get the WhatsApp Business green tick ✅

The WhatsApp Business green tick is the official badge for Meta verified business accounts. It helps users to distinguish between authentic businesses and fake accounts. Many users place high value on the green tick, and brands sporting this badge will see a positive impact on their business. But how can you business apply for the green tick badge? Read all about it below.

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