Toolstia / Punycode converter
Punycode converter
Turn a domain name with accents or non-Latin letters into its xn-- punycode form, or decode a punycode domain back into readable text. Paste one domain per line and each label is converted on its own.
Each label of a domain is converted on its own, so example.com stays the same and only the non-ASCII parts change.
How it works
- Choose the direction: name to punycode, or punycode to name.
- Paste one domain per line.
- Copy the converted domains.
What punycode is
DNS only understands letters, digits and hyphens. Punycode is the encoding that lets names like bücher.example be stored as xn--bcher-kva.example.
Label by label
A domain is split at the dots. Only labels that contain non-ASCII characters get the xn-- prefix, so example.com stays untouched.
Where it is used
Browsers show the readable name, while registrars, DNS records and certificates use the punycode form.
Look-alike warning
Different alphabets can contain letters that look the same. Check the punycode form of any link you are not sure about.
Questions
Does it lower-case names?
Yes. Non-ASCII labels are lower-cased and normalised before encoding, as domain names are not case sensitive. Everything happens in your browser, and nothing you enter is sent anywhere.
Why does decoding fail?
The part after xn-- must be valid punycode. Stray characters or a cut-off string give an error.
Can I convert a full URL?
Enter only the domain name. Remove the https:// and any path first.