Punycode Converter
Convert internationalized domain names to Punycode and vice versa.
How Punycode Conversion Works
What are Internationalized Domain Names?
IDN allows domain names to contain letters from any language or script, such as münchen.de or пример.рф.
DNS itself only carries ASCII, so each label with other characters is written in Punycode behind the prefix xn--: münchen becomes xn--mnchen-3ya.
How to Use
- Type or paste a domain; the output updates as you type. Auto encodes names with Unicode and decodes names with
xn--labels, line by line. Encode and Decode fix the direction. - For bulk conversion, enter one domain per line.
- In a URL or an e-mail address only the domain is converted; the rest stays as it is.
- An invalid name or
xn--label is reported with the reason instead of being converted.
Conversion Examples
| café.com | xn--caf-dma.com |
| münchen.de | xn--mnchen-3ya.de |
| пример.рф | xn--e1afmkfd.xn--p1ai |
| https://bücher.de/a | https://xn--bcher-kva.de/a |
| example.org | example.org (no change) |
Important Notes
- IDN homograph attacks use visually similar Unicode characters to impersonate domains. Browsers display Punycode for suspicious combinations.
- Names are normalized the way browsers do it (UTS 46) before encoding: capitals become lower case, full-width letters normal ones, and
。separates labels like a dot. - A label may have at most 63 characters and a name 253, counted in Punycode. The tool warns when a name is longer.
Privacy & Security: All encoding and decoding runs entirely in your browser. No data is sent to any server.
Mode