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.

 

Looking to send SMS globally?

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

blog-email-open-rates
Mar 27, 2024 • Conversational AI

Navigating AI Adoption in South Africa

In this ever evolving landscape, businesses that proactively invest in AI capabilities stand to gain a significant competitive edge in the years to come. By embracing AI as a strategic imperative and overcoming the hurdles to adoption, South African businesses can unlock new opportunities, drive innovation, and position themselves for success in the digital era.

Conversational AI Cloud web conversations blog woman chatting chatbot
Mar 11, 2024 • Chatbots

6 steps to MSP profitability with AI Chatbots

As the Managed Service Provider (MSP) landscape continues to evolve, staying ahead means embracing innovative solutions that not only enhance efficiency but also elevate customer service to new heights. Enter AI Chatbots from CM.com – a game-changing tool that can revolutionise how MSPs interact with clients. In this blog, we’ll provide you with a comprehensive roadmap consisting of six steps to boost profitability using AI Chatbots from CM.com.

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

How popular is SMS in 2024 and how does it add value to businesses?

SMS is one of the oldest messaging services, and the rise of instant messaging apps definitely made a dent in SMS traffic. Contrary to the newer apps with their rich features, SMS is quite basic with; plain text messages, no fluff and a character limit of 160. Regardless, SMS is still one of the most impactful communication channels today. Read all about SMS statistics and its continued value for modern business communication.

The Benefits of A2P Messaging
Feb 28, 2024 • SMS

The benefits of A2P Messaging for business

Amid the thicket of technology TLAs with 2 in them (B2B, P2P, 2FA,...) is one of the simplest A2P messaging, or “Application-to-Person”. You may not be familiar with the acronym, but it’s probably touched your life several times in the last week alone. Let’s see why A2P remains relevant as a messaging technology today.

WhatsApp Pay
Feb 26, 2024 • WhatsApp

Rich, flexible, and functional interactions with WhatsApp Flows

The WhatsApp Business Platform is adding another new and exciting feature to its repertoire: WhatsApp Flows. What is it and what can your business do with it? Let's take a look!

WhatsApp vs Facebook Messenger
Feb 12, 2024 • Instant Messaging

WhatsApp vs Facebook Messenger: Which messaging channel is best for what?

WhatsApp and Facebook Messenger are both established messaging channels for customer engagement, but what are the differences? Lets look at what the advantages are of each channel and which situations call for which channel. Let's dive in.

blog-featured-sms-ecommerce
Feb 09, 2024 • SMS

SMS for e-commerce: Create a successful e-commerce strategy with SMS

Want to grow your business? Then customer contact is key. Now that everybody and everything is connected to each other via these powerful little computers in our hands, the way you communicate with customers is becoming increasingly important for your success. Read all about how you can use SMS to elevate your customer contact, drive sales and create a loyal customer base.

drive-engagement-and-convert-your-conversations-with-whatsapp-carousel
Feb 05, 2024 • WhatsApp

Drive engagement and convert your conversations with WhatsApp Carousel

Are you talking to your customers on WhatsApp? You really should! WhatsApp Business Platform, the business communication platform of one of the most popular messaging channels in the world today, has a wide selection of powerful engagement tools to enhance customer communication and boost sales. And they've added another innovative feature under their belt: WhatsApp Carousel.

Ads That Click to WhatsApp
Feb 05, 2024 • Marketing

Ads that click to WhatsApp: What are they and what are the benefits?

Successful marketing means creating personal and conversational experiences for your customers. And what better place to meaningfully connect to your customers than on their favourite social media channels such as Facebook, Instagram and WhatsApp? With ads that click to WhatsApp, aka click-to-chat WhatsApp ads, you can offer your customers the direct and personal engagement that they crave.

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