国際電話番号 解析
+から始まる国際電話番号の国コードと形式を解析。
国際電話番号 解析とは
国際電話番号解析ツールは、+44のような国プレフィックス付き番号から国・地域コードを特定し、E.164形式に整理します。可変長の国コード(1〜3桁)は最長一致で判定します。
🔒 処理はすべてブラウザ内で完結し、データは送信されません。
このツールの前提
- 処理場所
- このページのブラウザ内(JavaScript / Canvas)
- アップロード
- なし — ファイルは端末の外に出ません
- オフライン
- ページを開いた後は通信不要
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.
使い方
- 1.+付きの番号を入力
- 2.「実行する」をクリック
- 3.国コードと形式を確認
他の方法との比較
同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。
| 観点 | このツール | サーバー側の変換サービス | デスクトップアプリ |
|---|---|---|---|
| ファイルの処理場所 | このページのブラウザ内 | ベンダーのサーバー(アップロード後) | 自分の PC(アプリをインストール) |
| アカウント | 不要 | 多くの場合必要(無料枠の制限解除に登録を求める) | 不要(ライセンス認証は必要な場合あり) |
| 無料で扱えるサイズ | サイズ制限なし(回数制限もなし) | 数ファイル/時間、または 5〜10MB 程度で課金 wall | ディスクとメモリ次第 |
| 料金 | 無料。Pro は月 $9(大きいファイルと AI 機能のみ) | サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点) | 買い切り、またはサブスク |
| オフライン | 一度開けば通信不要 | 不可 | 可 |
| 20MB を処理し始めるまで | 待ち時間なし(アップロードが無い) | アップロードが支配的(10Mbps 上りで約 16 秒) | アプリの起動のみ |
| 保証できないこと | 何も保存されないため、閉じたタブの内容は復元できません | 同じ(変換の原理は変わらない) | 同じ。ただし書式の再現はより忠実な場合がある |
サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。
よくある質問
国コードは何桁?
1〜3桁の可変長です(例: +1、+44、+852)。本ツールは最長一致で判定します。
E.164とは?
国際電話番号の国際標準形式(+と国コードと加入者番号)です。
位置情報は分かりますか?
国・地域の判定までです。番号の詳細な位置情報は扱いません。