DevTools

Punycode Converter

Convert Internationalized Domain Names (IDN) between Unicode (UTF-8) and ASCII-compatible Punycode.

What is Punycode?

Punycode is a special encoding used to convert Unicode characters into an ASCII-compatible format. This is primarily used for **Internationalized Domain Names (IDNs)**, allowing characters like ä, ø, or 中æ to be used in the Domain Name System which originally only supported ASCII.

Why "xn--"?

The xn-- prefix is called an ACE prefix (ASCII-Compatible Encoding). It tells browsers and DNS servers that the following string is a Punycode-encoded representation of a Unicode string.