⚡ DevToolKit

Punycode / IDN Converter

Convert Unicode domain names (like 中文.com) to ASCII Punycode (xn--...). Useful for DNS, SSL, and debugging IDN-related issues.

Tip: Enter just the domain name (e.g., "中文.com"), not a full URL.

Punycode is used to represent Unicode characters in DNS hostnames. It starts with "xn--" followed by ASCII-safe encoding.

使用说明

  1. 输入国际化域名(如 中文.com)或 Punycode 字符串(如 xn--fiq228c.com)。
  2. 点击'编码'将 Unicode 域名转为 Punycode,或点击'解码'还原为可读格式。
  3. 复制转换结果用于 DNS 配置或域名注册。

常见问题

什么是 Punycode?

Punycode 是将 Unicode 字符(如中文、日文域名)编码为 ASCII 的标准,使浏览器和 DNS 系统能识别国际化域名。

我的域名数据会被上传吗?

不会。所有编码和解码过程都在您的浏览器本地完成,绝不发送到服务器。