About phone number formatter
Phone numbers can be written in many ways. The formatter converts a number into E.164, international, national or plain digits.
The formats
- E.164: +919876543210. The standard for databases and APIs.
- International: +91 98765 43210, easy to read.
- National: 098765 43210, used within India.
- Plain digits: 919876543210, useful for WhatsApp links.
Why E.164
Storing numbers in E.164 avoids ambiguity and works with SMS and call services worldwide.
A worked example
The Indian number 9876543210 becomes +919876543210 in E.164, +91 98765 43210 in international style, 098765 43210 in national style and 919876543210 as plain digits for a WhatsApp link. The tool also gives a ready-to-use tel: link.
Which format to store
- Save numbers in E.164 so they work with any messaging service.
- Display them in the national or international format people expect.
- Do not store formatting characters such as spaces and brackets.
