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!
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.

Latest articles

sms-vs-mms-vs-rcs
Jun 03, 2024 • SMS

SMS vs MMS - What is the difference?

There are many different ways to send text messages, and the various names and acronyms may start to feel daunting. In this blog, we'll tell you everything about SMS and MMS.

SMS Appointment Notifications
May 16, 2024 • SMS

Streamline your business to success with SMS notifications

Appointment no-shows, delivery delays, abandoned online shopping carts, late payments - all of the above can be quite the headache for many businesses. SMS notifications offer a solution.

SMS Security
May 16, 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 with 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 cyber crime.

sms-email-leads
May 10, 2024 • SMS

Optimise the customer experience with valuable insights and direct live support via SMS

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

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.

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.

WhatsApp vs SMS: A Comparison For Businesses
Jan 19, 2024 • SMS

WhatsApp vs SMS: A comparison for businesses

WhatsApp and SMS are both immensely popular messaging channels. Both have their own unique traits, use cases, and added business value. We can all acknowledge this, but what exactly are the differences between them? What are the similarities? And more importantly, which one will add the most value to your business? In this blog we'll dive into the world of WhatsApp vs SMS and the benefits of both.

SMS Gateway Comparison: The Search For The Perfect Operator
Nov 13, 2023 • SMS

Measuring the effectiveness of SMS for Black Friday

During the Black Friday rush, retailers significantly increase SMS traffic to share exclusive deals, limited-time offers, and early access with customers. In 2022, brands sent 68% more SMS messages on Black Friday. By harnessing the power of this popular communication channel, businesses can reach eager shoppers, boost engagement and drive conversions. Some SMS campaigns have delivered an incredible 2000% return on investment (ROI) during Black Friday. Yet, with increased traffic, retailers must effectively manage and measure SMS campaigns to truly capitalise on the Black Friday weekend.

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