xn-- Decoder: Punycode and IDN Domain Converter
Paste an xn-- domain to see its Unicode name at once. Free punycode and IDN converter, both ways, with length and look-alike warnings.
Updated 2026-10-21
Converted in your browser; nothing is sent anywhere. Copy link to this result
Result
What is an xn-- domain, and how do I decode it?
An xn-- domain is an internationalised domain name written in ASCII: each xn-- label is the Punycode (RFC 3492) form of a Unicode label, so xn--mnchen-3ya.de is münchen.de. To decode one, paste it into the box: the Unicode name appears at once, label by label. DNSVerdict's punycode converter (an IDN converter) is free, works in both directions and warns about length limits and look-alike letters.
What this checks
DNS can only carry ASCII letters, digits and hyphens in a label. Internationalised domain names (IDNs) fit in by turning each label that contains other characters into an A-label: the prefix xn-- followed by the Punycode encoding of the label (RFC 3492, used by IDNA in RFC 5890 and RFC 5891). The Unicode form that people read is the U-label. Resolvers, registries and DNS records always use the A-label, so a lookup of münchen.de really asks for xn--mnchen-3ya.de. DNSVerdict's other tools do this conversion for you and show both forms.
How the conversion works. For Unicode input the tool applies the processing browsers use (UTS #46, nontransitional): it lower-cases, normalises and maps compatibility characters, rejects characters that are not allowed, then encodes each label. For xn-- input it decodes with RFC 3492 and re-encodes the result: if that does not give back the same label, the label is invalid (RFC 5891 §5.3). The table shows every label on its own with its length, because a DNS label may be at most 63 characters and a whole name 253 (RFC 1035 §2.3.4).
IDNA2003, IDNA2008 and UTS #46. Four characters were handled differently by the old IDNA2003 standard: ß, the final sigma ς and the zero-width joiners. IDNA2003 turned faß.de into fass.de; current browsers and this tool keep the ß and produce xn--fa-hia.de, so the two spellings are different domains. Also, IDNA2008 does not map characters at all and disallows many symbols and emoji, while UTS #46 maps them and accepts more; a registry that follows IDNA2008 may therefore refuse a name that converts here.
Look-alikes. Labels that mix Latin letters with Cyrillic or Greek, or that consist only of Cyrillic or Greek letters that look like Latin ones, are the basis of homograph phishing, for example a Cyrillic “а” inside an otherwise Latin name. The tool flags both patterns. This is a simple check, not the full Unicode confusables analysis (UTS #39), so the absence of a warning is not a guarantee. Use the DNS lookup or the RDAP lookup on the ASCII form to see whether a name exists.
If it fails
- “Not valid Punycode”: the text after xn-- must be Punycode (letters, digits and a hyphen before the encoded part). Copy it again from its source.
- “Does not survive a round trip”: the label was not made by a correct encoder. Registries reject it, so ask whoever produced it.
- “Not allowed in a domain name”: remove spaces, symbols and punctuation; names use letters, digits and hyphens in any script.
- A label longer than 63 characters: non-ASCII letters take more room when encoded, so a short-looking Unicode label can exceed the limit. Shorten it.
- A warning about ß or ς: check which spelling you registered, because the two spellings are different domains.
FAQ
How do I convert a Unicode domain name to punycode?
Convert each label that has non-ASCII characters to its xn-- form and leave ASCII labels as they are. For münchen.de the label münchen becomes xn--mnchen-3ya, giving xn--mnchen-3ya.de. Typing the name into the converter does this for every label, the same way a browser does before it asks DNS, and shows both forms side by side.
What does xn-- mean in a domain name, and how do I decode it?
xn-- marks a label as an A-label, an ASCII encoding of a Unicode label (RFC 5890). The rest is the Punycode of RFC 3492. To decode it, paste the whole domain into the converter: xn--mnchen-3ya.de shows as münchen.de. DNS stores the xn-- form; browsers may display the Unicode form or the raw xn-- form when they distrust the label.
Why do ß and ς convert differently in some tools?
The old IDNA2003 standard mapped ß to ss and the final sigma ς to σ, so faß.de meant fass.de. IDNA2008 and nontransitional UTS #46 processing, which browsers now use, keep the original letter and give a different name, xn--fa-hia.de. Tools that still use IDNA2003 give the other result, so check which one your registrar follows.
What is an IDN homograph attack?
It is phishing with a domain name whose letters from another script look like Latin ones, such as a Cyrillic а in place of a. The name appears to read as a trusted brand but is a different domain. Browsers limit it by showing the xn-- form for some mixed-script labels. The converter flags labels that mix Latin with Cyrillic or Greek and labels made only of look-alikes.