Free online Punycode encoder/decoder. Convert between Unicode (e.g. 中文.cn) and Punycode (xn--fiq228c.cn). Client-side processing, instant results.
Enter text: Input a Unicode string or Punycode string.
Select mode: Encode converts Unicode to Punycode, Decode converts back.
Get result: Click Convert for instant results. All processing is done locally.
Punycode is an encoding that converts Unicode characters into ASCII for DNS compatibility. IDNs like "中文.cn" are stored as "xn--fiq228c.cn" in DNS.
When registering international domains, configuring DNS, or setting up servers. Developers debugging IDN features also use it frequently.
Yes, fully reversible. Unicode encoded to Punycode can be accurately decoded back. This tool supports both directions.
DNS originally only supports ASCII characters. Punycode (RFC 3492) converts Unicode domains to ASCII format for DNS compatibility.