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.

I want to sign up for a demo account and Start sending SMS messages

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.

Try SMS for free

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.

Related articles

WhatsApp Pay
Jun 24, 2024 • WhatsApp

How to get the WhatsApp Business verification badge

The WhatsApp Business verification badge, also known as the 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 your business apply for the verification badge? Read all about it below.

Protect Your Customers from Fraud With RCS Sender Verification
Jun 10, 2024 • RCS

Protect your customers from fraud with RCS Sender Verification

Cybercrime is on the rise. Criminals attempt to impersonate trusted businesses to extract personal details, login credentials and even banking information from customers. As a result, the trust between customers and businesses is damaged. So, how can you help your customers know which messages are legitimate? RCS Business offers verified sender profiles, helping customers identify official business accounts and engage with businesses with confidence.

Unified Messaging With RCS on iOS
May 27, 2024 • Instant Messaging

Unified messaging with RCS on Apple's iOS

RCS (Rich Communication Services) is a rising star among conversational channels. It combines the reliability of SMS with the added benefits of rich media and interactive features from modern messaging apps. Yet, its only hiccup was that RCS didn't have the same reach without support from Apple's iOS. Well, until now, Apple has now confirmed it will support RCS in iOS 18.

engage-platform-effect-customer-service
May 13, 2024 • CM.com

Happy clients, happy agents: the platform effect in customer service

As a member of the customer service team, you stand on the frontline of customer interaction every day. In a world where customers demand quick and personalised service, long wait times, impersonal responses, or worse, incorrect answers, can quickly drive a customer away. Your goal, however, is to connect customers with your organisation and deliver the best answers and service possible.

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.

live-blog-raptor-blog-featured-uk
Apr 26, 2024 • Live

How Jagermeister found their flow to throw immersive house parties for students

The rewards of running immersive events – those that are highly conceptual and bring the attendee behind the curtain – can be exciting. Attendees want to be a part of them, journalists want to write about them, and events teams can’t wait to get creative. But immersive events need to deliver an experience! And not just at the event itself. Because experience-hungry consumers demand that the immersion begins well before the day – with every touchpoint fuelling their anticipation and excitement for what’s to come. One misstep – a rogue SMS or confusing customer journey – and the whole thing falls down. One organiser that has successfully run the high-wire of immersive events is Raptor, a marketing agency who were tasked by Jagermeister to put on a series of multi-city parties for students. Here, we unpick the nuts and bolts of their strategy – and the smart automations that made it all flow seamlessly.

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.

WhatsApp New Policy
Apr 15, 2024 • WhatsApp

Create quality customer engagement with WhatsApp Templates

We all want to get our brand messages out there. We want to engage with our customers, raise brand awareness and connect with our target audience. But how? Provide meaningful and relevant customer experiences to help grow your business and safeguard the way you communicate with both customers and potential customers with WhatsApp. In this blog, we'll explore how to create quality customer engagement with the WhatsApp Business Platform.

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