Punycode / IDN

Convert internationalized domains between Unicode and punycode (xn--).

Frequently asked questions

What is Punycode?

Punycode encodes internationalized domain names (with non-ASCII characters) into an ASCII form beginning with xn--, because DNS itself only allows ASCII.

Why do IDNs matter for security?

Look-alike Unicode characters can spoof familiar domains (a homograph attack). Converting to Punycode reveals the real xn-- name a browser will use.

Which direction does this convert?

Both. Enter a Unicode domain to get its xn-- form, or an xn-- domain to see the Unicode it represents.