转换器
Punycode 编码/解码
使用 Punycode 对国际化域名进行编码或解码。
0 字符
关于Punycode编码/解码
Punycode编码/解码工具实现国际化域名(IDN)在其人类可读的Unicode形式(如中文.com)和ACE格式(以'xn--'前缀的ASCII兼容编码,如xn--fiq228c.com)之间的转换。Punycode(RFC 3492)是使非ASCII字符可以用于DNS域名的标准,这是DNS只接受ASCII字符这一历史限制的解决方案。IDN用于中文、阿拉伯文、西里尔文等非拉丁字母的域名注册。
使用方法
输入包含非ASCII字符的Unicode域名将其编码为Punycode(xn--前缀ACE格式);或输入xn--前缀的Punycode域名将其解码为原始Unicode形式。工具支持完整域名(每个标签单独处理)以及仅处理单个IDN标签。
常见用途
- 检查包含非拉丁字符的国际化域名(IDN)的Punycode等价形式
- 在安全研究中检测IDN同形字攻击——视觉上相似但实际不同的域名(如使用西里尔文а代替拉丁文a)
- 在DNS配置工具中验证IDN域名的Punycode格式是否正确
- 调试国际化域名邮件地址或URL的处理,排查编码问题
- 了解非拉丁字母域名如何在DNS系统(仅支持ASCII)中表示和解析
Frequently Asked Questions About Punycode 编码/解码
What is Punycode 编码/解码?
Punycode 编码/解码 is a free online tool on akousa.net, a platform with 559+ browser-based utilities. 使用 Punycode 对国际化域名进行编码或解码。 No installation is required.
How do I use Punycode 编码/解码?
Simply open Punycode 编码/解码 on akousa.net, enter or upload your data, configure any options, and click the action button. Results appear instantly in your browser.
Is Punycode 编码/解码 free?
Yes, the core Punycode 编码/解码 experience is free to use without signup. All 559+ tools remain available for everyday use, while Akousa Pro adds optional premium platform features and ad-free browsing.