About this tool
Convert internationalized domain names between Unicode and their Punycode ASCII form, all in your browser.
To ASCII runs your text through the browser's URL parser as an http address and returns the normalized host name: lowercase, with every non-ASCII label in xn-- form. Input that already starts with a scheme such as https:// is parsed as it stands. Anything after the host, such as a path, query or port, is dropped, and text the parser rejects shows an invalid message.
To Unicode decodes each dot-separated label that starts with xn-- using the tool's own decoder. Other labels are left as typed. A label that starts with xn-- but cannot be decoded shows an invalid message.
Frequently asked questions
What is Punycode?
It is an ASCII encoding of Unicode used so internationalized domain labels can be represented with xn-- prefixes in DNS.
How is the ASCII form produced?
It uses the browser's own URL parser to normalize the host, then encodes each non-ASCII label to its xn-- form.
Can I paste a full URL with http:// in front?
Yes. An address that starts with a scheme such as http:// or https:// is read as it stands, and the result is its host name. Without a scheme the tool adds http:// itself. Either way the path, query and port are dropped.
Why does To Unicode give back what I typed?
Only labels beginning with xn-- are decoded. A plain ASCII name has nothing to decode, and a label that starts with xn-- but is not valid Punycode shows an invalid message.
More tools