LocalExcelTool
Get started

International Phone Code Checker

Identify the country code and E.164 format of an international phone number.

What is International Phone Code Checker

This phone code checker identifies the country or region code of an international phone number (variable length, 1–3 digits) using longest-prefix matching and formats it as E.164.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Three parallel code sets, one country

ISO 3166-1 defines alpha-2 (two letters, US), alpha-3 (three letters, USA) and numeric (three digits, 840) codes for each country, plus the officially assigned country names. They are all in use simultaneously: alpha-2 in domains and forms, alpha-3 in finance and passports, numeric in statistical datasets.

The three are not derived from each other by a rule — you cannot compute alpha-3 from alpha-2 — so a lookup table is the only correct implementation. Mixing the sets in one column produces data that looks consistent and is not.

The codes that are not quite countries

ISO 3166-1 includes territories and dependencies (PR Puerto Rico, GG Guernsey, AX Åland), which behave as countries in some systems and as subdivisions in others. Kosovo uses XK, which is user-assigned and not an official ISO code, yet appears in IBAN and payment data everywhere.

There are also reserved and deprecated codes: UK is reserved because GB is the official alpha-2 for the United Kingdom, and several codes have been withdrawn after political change (CS for Serbia and Montenegro, AN for the Netherlands Antilles). Old records keep the withdrawn codes forever, so a validator that only accepts current ones rejects valid historical data.

Dialling codes are a separate system

Telephone country codes follow ITU E.164 and do not align with ISO: +1 covers the US, Canada and a set of Caribbean territories, +7 covers Russia and Kazakhstan, and +44 covers the UK plus Crown dependencies with their own ISO codes. Deriving a phone prefix from an ISO code is wrong in both directions.

The same mismatch appears with currency and language. A country can use several currencies (or none of its own), and a language spans countries with different variants. Country, currency, language and dialling code are four independent axes, and a table that collapses them into one row will be wrong for dozens of entries.

How to use

  1. 1.Enter a number starting with +
  2. 2.Click Run
  3. 3.Review the code and format

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveNothing is stored, which also means a closed tab cannot be recoveredThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

How long is a country code?

1 to 3 digits (e.g. +1, +44, +852). This tool uses longest-prefix matching.

What is E.164?

The international standard format for phone numbers: plus sign, country code, subscriber number.

Does it show location?

It identifies the country/region only; it does not provide precise location data.

More in Life & Utility