National Phone Number Format
National format is how a phone number is written for use inside its own country: it includes the domestic trunk prefix (such as the leading 0 in the UK) and the local grouping convention — (415) 555-0132 in the US, 07400 123456 in the UK.
Every country evolved its own notation: Americans wrap area codes in parentheses, the French write five pairs of digits, Germans separate the area code with a space. National format is what local customers recognize instantly — which is why domestic-only businesses prefer it.
The trap: national numbers are ambiguous outside their country. 0301234567 could be German, British or Australian. That is why software should always store E.164 and only render national format for display to a domestic audience.
What Defines National Format
- Includes the domestic trunk prefix where one exists (0 in UK/DE/FR, 1 in US long-distance, none in Spain).
- Uses local grouping and punctuation conventions.
- Only dialable domestically — not from abroad as written.
- Ambiguous without country context; never store it as the canonical form.
Local Writing Conventions, Country by Country
The same numbers from our country guides, written in National format:
| Country | National example |
|---|---|
| 🇺🇸 United States (+1) | (415) 555-0132 |
| 🇬🇧 United Kingdom (+44) | 07400 123456 |
| 🇨🇦 Canada (+1) | (416) 555-0199 |
| 🇦🇺 Australia (+61) | 0491 570 156 |
| 🇮🇳 India (+91) | 098765 43210 |
| 🇩🇪 Germany (+49) | 01512 3456789 |
| 🇫🇷 France (+33) | 06 12 34 56 78 |
| 🇪🇸 Spain (+34) | 612 34 56 78 |
| 🇮🇹 Italy (+39) | 312 345 6789 |
| 🇧🇷 Brazil (+55) | (11) 91234-5678 |
When Domestic Display Makes Sense
- Marketing to a purely domestic audience (local shops, national campaigns).
- Matching user expectations in country-specific UIs.
- Print materials distributed only within one country.
Rendering National Format in Code
import { parsePhoneNumber } from 'libphonenumber-js';
const phone = parsePhoneNumber('+442079460958');
phone.formatNational(); // '020 7946 0958' import phonenumbers
n = phonenumbers.parse("+442079460958")
phonenumbers.format_number(n, phonenumbers.PhoneNumberFormat.NATIONAL)
# '020 7946 0958' See Any Number the Local Way
Paste an international number and instantly see how a local would write it — parentheses, pairs, trunk zero and all.
Enter phone number with country code or select country below.
Up to 100 numbers. Include country code or select a default country below.
| Original | E.164 | International | National | Valid |
|---|
National Format: Things People Ask
What is national phone number format?
The way a number is written for domestic use: trunk prefix plus local grouping, like (415) 555-0132 in the US or 020 7946 0958 in London. It only works dialed within its own country.
Why do some countries have a leading 0?
The 0 is a trunk prefix telling the domestic network "a full national number follows". It is not part of the number itself, which is why it is dropped after the country code — everywhere except Italy.
Should I store phone numbers in national format?
No. National format is ambiguous across countries (0301234567 exists in several). Store E.164 (+49301234567) and convert to national format only for display.