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 Unicode characters from any language or script, making the internet accessible to non-English speakers. For example, munchen.de or example.cn in their native scripts.
Since DNS only supports ASCII, these domains are encoded using Punycode with the xn-- prefix before transmission.
How to Use
- Select Encode to convert Unicode domains to Punycode, or Decode to convert Punycode back to Unicode.
- Type or paste a domain name into the input field. The output updates live as you type.
- For bulk conversion, enter one domain per line.
- Each domain label (part between dots) is converted independently.
Conversion Examples
| café.com | xn--caf-dma.com |
| münchen.de | xn--mnchen-3ya.de |
| пример.рф | xn--e1afmkfd.xn--p1ai |
| 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.
- ASCII-only domains pass through unchanged since they need no encoding.
- Each label (part between dots) can be at most 63 characters after Punycode encoding.
Privacy & Security: All encoding and decoding runs entirely in your browser. No data is sent to any server.
Mode