Country Codes and Phone Number Parser
Find any country's codes in one place and turn phone numbers written in any local style into the international format databases and SMS services expect.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Paste numbers
One per line, any format.
- 2Set a default country
For numbers without + or 00.
- 3Read the results
E.164, country, formats.
- 4Search countries
By name or any code.
- 5Download CSV
Numbers or country table.
- 6Store E.164
Format for display later.
Sobre aquesta eina
Forms, databases and integrations ask for countries and phone numbers in different ways. One system wants GB, another GBR, another 826, a payment provider expects phone numbers as +447911123456, and customers type 07911 123456, 0044 7911 123456 or (415) 555-2671. This tool handles both sides. The country table lists all 249 ISO 3166-1 entries with their two-letter, three-letter and numeric codes, international calling code, internet country domain and flag emoji, searchable by name or any code and downloadable as CSV. The phone parser takes a list of numbers in any common format, strips spaces, brackets, dashes and extensions, recognises the international prefixes + and 00, applies a default country to national numbers, removes the trunk prefix 0 where a country uses one, and returns the E.164 form, the country, a readable international form and the national form. North American numbers are matched to their country by area code, so a Jamaican or Bahamian number is not mistaken for a US one.
E.164 in brief
An international number is a plus sign, a country calling code of one to three digits and the national significant number, at most 15 digits in total, with no spaces or trunk prefix. Storing numbers this way makes them unique and directly usable for SMS, calling and messaging APIs.
Trunk prefixes
Many countries dial a 0 before national numbers, such as 020 in London or 01712 in Bangladesh. The 0 is dropped in international format: +44 20 and +880 1712. Italy keeps its leading 0 internationally, and the North American plan uses 1 as both country code and trunk prefix.
Shared calling codes
Several territories share codes. +1 covers the United States, Canada and over twenty Caribbean and Pacific territories, distinguished by area code. +44 covers the UK, Guernsey, Jersey and the Isle of Man. +7 covers Russia and Kazakhstan. The parser picks the most likely country and lets your default country decide ties.
Country codes
- Alpha-2 (GB, DE, BD) is used in domains, locales, currencies and most APIs. - Alpha-3 (GBR, DEU, BGD) appears in passports, sports and statistics. - Numeric (826, 276, 050) is script-independent and stable when names change. The UK's domain is .uk although its code is GB. Kosovo uses XK in many systems but has no official ISO code.
Privacy and consent
Phone numbers are personal data. Collect only what you need, explain why, and get consent before sending marketing texts.
Limits
The parser checks structure, not whether a number exists or which network it belongs to, and the digit grouping is a readable approximation. For full validation by number range, use a maintained library such as libphonenumber.
Exemple resolt
The list +44 20 7946 0958, 0044 7911 123456, +1 (415) 555-2671, +1 876 555 0123 and +880 1712-345678 becomes +442079460958 (United Kingdom), +447911123456, +14155552671 (United States), +18765550123 (Jamaica) and +8801712345678 (Bangladesh), with national forms such as 020 7946 0958.
En resum
- Categoria: Desenvolupament i dades
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: ISO 3166-1 and ITU-T Recommendation E.164
Preguntes freqüents
What is E.164?
The international phone number format: +, country code and number, up to 15 digits.
Should I store the leading 0?
No. Store E.164 and format for display.
How are +1 numbers assigned to countries?
By area code; for example 876 is Jamaica.
What is the difference between GB and GBR?
Two- and three-letter forms of the same ISO 3166 code.
Does it check numbers are real?
No. It checks the format only.
Are my numbers uploaded?
No. Parsing runs in your browser.
