ZIP / 郵便番号 チェッカー
米ZIPコードと英国ポストコードの形式を検証し、地域情報を表示。
ZIP / 郵便番号 チェッカーとは
ZIP/郵便番号チェッカーは、米国のZIPコード(5桁またはZIP+4)と英国のポストコードの形式を検証します。ZIPの先頭1桁から大まかな地域を、英国は公式エリアコード表から判定します。検証はブラウザ内で完結し、外部照会は行いません。
🔒 処理はすべてブラウザ内で完結し、データは送信されません。
このツールの前提
- 処理場所
- このページのブラウザ内(JavaScript / Canvas)
- アップロード
- なし — ファイルは端末の外に出ません
- オフライン
- ページを開いた後は通信不要
Every country invented its own format
US ZIP is five digits with an optional four-digit extension; UK postcodes are alphanumeric with a space in a fixed position and encode an area, district, sector and unit; Canada alternates letter and digit as A1A 1A1; Germany uses five digits; Ireland's Eircode is a three-character routing key plus four-character unique identifier. There is no shared structure to generalise from.
That is why validation is per-country regex rather than one universal pattern, and why a "postal code" field that accepts any string is often the honest choice — the alternative rejects valid input from countries the developer did not think of.
A valid format is not a real address
Most countries' codes are dense enough that a syntactically valid one usually exists, but format validation cannot tell you whether a building is there. Address validation requires a reference dataset and, for many countries, a licence.
The UK is the clearest example: a full postcode covers roughly fifteen addresses on average, so it narrows an address but does not identify it. Systems that treat the postcode as a unique location produce deliveries that fail at the last fifty metres.
The normalisation problems
Leading zeros matter: US ZIP 02134 is in Boston, and storing it as an integer makes it 2134, which is a different place. Postcodes must be stored as strings, always — this is the most common data-modelling error in address schemas.
Spacing and case also vary by source. UK postcodes are conventionally written uppercase with a single space before the final three characters, but arrive without a space from most APIs. Normalise on write and display in the conventional form, or every duplicate-address check will fail on formatting alone.
使い方
- 1.ZIP または postcode を入力
- 2.必要なら種別を選択
- 3.検証結果を確認
他の方法との比較
同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。
| 観点 | このツール | サーバー側の変換サービス | デスクトップアプリ |
|---|---|---|---|
| ファイルの処理場所 | このページのブラウザ内 | ベンダーのサーバー(アップロード後) | 自分の PC(アプリをインストール) |
| アカウント | 不要 | 多くの場合必要(無料枠の制限解除に登録を求める) | 不要(ライセンス認証は必要な場合あり) |
| 無料で扱えるサイズ | サイズ制限なし(回数制限もなし) | 数ファイル/時間、または 5〜10MB 程度で課金 wall | ディスクとメモリ次第 |
| 料金 | 無料。Pro は月 $9(大きいファイルと AI 機能のみ) | サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点) | 買い切り、またはサブスク |
| オフライン | 一度開けば通信不要 | 不可 | 可 |
| 20MB を処理し始めるまで | 待ち時間なし(アップロードが無い) | アップロードが支配的(10Mbps 上りで約 16 秒) | アプリの起動のみ |
| 保証できないこと | 何も保存されないため、閉じたタブの内容は復元できません | 同じ(変換の原理は変わらない) | 同じ。ただし書式の再現はより忠実な場合がある |
サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。
よくある質問
ZIP+4にも対応しますか?
はい。12345-6789 形式も検証します。
英国のエリア検証は?
公式に使用されている郵便エリア(SW、M、Eなど)のテーブルで判定します。
住所の実在確認はできますか?
いいえ。形式と地域区分の検証であり、住所データベースへの照会は行いません。