Punycode 转换器
在 Unicode 域名(IDN)与 Punycode 之间转换。
- 安全
- 处理在你的设备上完成,因此输入/输出不会被发送到任何地方。
说明
Punycode 是 RFC 3492 定义的一种国际化域名(IDN)编码。
Punycode 标签以 xn-- 开头,只包含 ASCII 字母和数字。
对于以 . 分隔的每个域名标签,如果该标签被编码,则需要 xn-- 前缀。
转换模式
你可以选择三种模式。
| 自动 | 自动检测输入是 Punycode 还是普通 Unicode,并进行相应转换。 |
|---|---|
| 编码 | 将输入视为普通 Unicode,并尝试编码为 Punycode。 |
| 解码 | 将输入视为 Punycode,并尝试解码为 Unicode。 |
编码
bücher.example
↓xn--bcher-kva.example
解码
xn--bcher-kva.example
↓bücher.example