IDN Converter
Enter a domain such as example.com or an international name.
About this tool
Encode uses the browser URL host. Decode expands xn– labels.
This converts the host name. It does not look up DNS.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Convert domain.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- This converts the host name. It does not look up DNS.
Hostname spelling, not a DNS answer
What is peeled off before the host is read
The field is trimmed. A leading http:// or https:// is removed, and anything from the first slash onward is dropped, so a path is not part of the conversion. Empty input, or input that still contains whitespace, throws a message that asks for a domain name. The remaining text is parsed as the host of an https URL. Encode returns that hostname, which is the ASCII form the URL parser produces, including punycode labels for non-ASCII names. Decode takes that same ASCII host and expands labels that start with xn– through a punycode decoder. Labels that do not start that way are copied. The direction control chooses which of those two results you see.
Punycode here is an encoding of a label so DNS can carry it in ASCII. It is not encryption. The Unicode name and the xn– form are the same name for this purpose. Neither form proves you own the name.
No resolver and no certificate fetch
There is no DNS query, no HTTP request, and no certificate fetch. A name that is not registered still converts if it is syntactically a host. A name that is registered is not described as live. The page does not warn about mixed-script homographs. It does not validate a URL path, a port policy, or a redirect. A port is not part of the hostname the URL parser returns, so the converted result is the host alone. User and password text are not a feature of this form. If the URL parser rejects the host, the exception is the result you see.
Decode failures and round trip
Encode uses the browser’s host rules. Decode uses the local punycode routine for xn– labels. A label that starts with that prefix but does not follow the encoding throws a message that the punycode label is not valid. Other labels pass through, so a bad label that is not marked as punycode will not be caught by that check. Encoding a Unicode name and then decoding the xn– form is the round trip this control is built for. Decoding first is for when you already hold the ASCII form. Pasting a full URL is tolerated only in the sense that the scheme and path are discarded. The path is not encoded and not returned. If you needed the path preserved, this is the wrong tool.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

