Punycode Encoder/Decoder
Encode or decode internationalized domain names using Punycode.
About Punycode Encoder/Decoder
Punycode Encoder/Decoder converts internationalized domain names (IDN) between their human-readable Unicode form and their ASCII-compatible encoding (ACE) Punycode representation prefixed with xn--. Punycode is the mechanism defined in RFC 3492 that allows domain names containing non-ASCII characters such as Arabic, Chinese, Cyrillic, or accented Latin letters to be registered and resolved within the DNS system, which only supports ASCII. The tool handles complete domain names with multiple labels and correctly applies or strips the xn-- prefix on each internationalized label. It is an essential utility for domain registrars, DNS engineers, and security researchers.
How to Use
Enter a Unicode domain name such as cafe.com or a domain in any non-Latin script into the input field and click Encode to receive the full Punycode representation with xn-- prefixed labels. To decode, paste a Punycode domain containing xn-- labels and click Decode to see the original Unicode form. The tool processes the full domain name including all dot-separated labels. Copy the encoded or decoded domain for use in DNS records, SSL certificate configuration, or security analysis.
Common Use Cases
- Converting Unicode internationalized domain names to Punycode ACE form for DNS zone file configuration and domain registration
- Decoding xn-- Punycode labels found in SSL/TLS certificates or WHOIS records to verify the underlying Unicode domain
- Verifying that an IDN domain registration maps to the intended Unicode characters before purchase
- Detecting homograph phishing attacks by decoding suspicious Punycode domains that visually resemble legitimate ones
- Testing internationalized email address domain parts and validating IDN email configuration in mail servers