Punycode / IDN 转换器
An IDN (Internationalized Domain Name) lets domains use non-ASCII characters such as müller.de or café.fr. Punycode is how DNS stores them: the Unicode label becomes an ASCII string starting xn--. Convert either direction using the browser's built-in URL API.
工具结果以英文生成。
示例
münchen.de→xn--mnchen-3ya.decafé.fr→xn--caf-dma.fr例え.jp→xn--r8jz45g.jpxn--mnchen-3ya.de→münchen.de
工作原理
此工具使用浏览器原生的 URL API 与 URLSearchParams 编码,它实现了 IDNA(Internationalized Domain Names in Applications)标准。所有转换都在浏览器本地完成,不会发送任何数据。