Punycodeコンバーター
国際化ドメイン名をPunycode(xn--)に変換し、UnicodeにデコードするPunycodeコンバーター。
The internet's domain name system was designed around ASCII characters, but users around the world want to register domains in Arabic, Chinese, Cyrillic, Japanese, and hundreds of other scripts. Punycode is the algorithm that bridges these two worlds, encoding Unicode domain labels into the ASCII-compatible `xn--` prefix format that DNS can handle without modification.
This tool converts human-readable internationalized domain names — like `münchen.de` or `日本語.jp` — to their Punycode equivalents and back. It is useful for web developers implementing IDN support, security researchers investigating homograph attacks, DNS administrators checking zone files, and anyone debugging why an internationalized domain is not resolving as expected.
PunycodeをオンラインでコンバートするPunycodeコンバーター
- 1
ドメイン名を入力
Unicodeドメイン(例:münchen.de)またはPunycodeドメイン(例:xn--mnchen-3ya.de)を入力してください。
- 2
自動変換
ツールが入力タイプを検出し、UnicodeからPunycodeまたはPunycodeからUnicodeの適切な方向に変換します。
- 3
結果を確認
出力を使用してDNSレコード、証明書、またはメールルーティングを確認してください。マルチラベルドメインと混合ASCII/非ASCIIラベルを正しく処理します。
How Punycode Encoding Works
Punycode (RFC 3492) is a form of bootstring encoding — it encodes a sequence of Unicode code points into a restricted set of ASCII characters. The algorithm first copies all ASCII characters from the input to the output unchanged, then appends a hyphen delimiter, and finally encodes the positions and code points of the non-ASCII characters as a sequence of base-36 digits using a variable-length delta encoding. The result is prefixed with `xn--` to mark it as an ACE (ASCII Compatible Encoding) label.
For a full internationalized domain name, each label (the dot-separated components) is encoded independently. `münchen.de` becomes `mnchen-3ya.de` because only the label `münchen` is internationalized. Security researchers have demonstrated that Punycode makes homograph attacks possible — `аррle.com` using Cyrillic characters looks identical to `apple.com` — which browsers now mitigate by displaying the Punycode form when the label mixes scripts.
FileCrank Punycodeコンバーターを使う理由
- ✓ UnicodeドメインをxnーPunycodeに変換し、逆変換も可能。
- ✓ マルチラベルドメインと混合ASCII/非ASCIIラベルに対応。
- ✓ ホモグラフフィッシング攻撃の検出に便利。
- ✓ 完全にブラウザ内で動作 — データはサーバーに送信されません。
機能と仕様
よくある質問
Punycodeとは何ですか?なぜ存在するのですか?
DNSシステムはもともとASCIIのみをサポートしていました。Punycode(RFC 3492)は、アラビア語、中国語、ヘブライ語、アクセント付きラテン文字など非ASCII文字を含むドメイン名を、xn--で始まるASCII文字列としてエンコードすることで実現します。
ドメイン名がPunycodeを使用しているかどうかはどうやってわかりますか?
Punycodeラベルはxn--で始まります。証明書やDNSレコードにxn--bcher-kva.exampleのようなドメインが見えたら、それはPunycodeエンコードされたIDNです。このツールでデコードしてUnicode等価物を確認してください。
PunycodeはフィッシングにPunycodeを使うことができますか?
はい — これはホモグラフ攻撃として知られています。異なるスクリプトの見た目が同一の文字は異なるPunycodeを生成します。このツールはPunycode文字列が期待するドメインにデコードされることを確認するのに役立ちます。
このツールはすべてのUnicodeスクリプトをサポートしていますか?
はい。アラビア語、中国語、デーバナーガリー文字、ヘブライ語、日本語、タイ語、すべてのラテン拡張文字を含む、国際化ドメイン名に使用できるすべてのUnicodeコードポイントを処理します。
Punycode Converter vs. Browser Address Bar vs. dig
Modern browsers convert IDNs automatically and can display either the Unicode or Punycode form, but they do not expose the intermediate encoding steps. The `dig` command resolves domain names but does not perform Punycode encoding itself. A dedicated Punycode converter is the right tool when you need to inspect the encoding explicitly — for DNS zone file authoring, IDN debugging, security research into homograph attacks, or verifying that a non-ASCII domain name will resolve correctly.
関連ツール
FileCrank PunycodeコンバーターはUnicodeとASCII互換のPunycode形式の間で国際化ドメイン名(IDN)をエンコード・デコードします。完全にブラウザ内で動作します。
Advertisement