Most domain names you meet are readable at a glance. Then one arrives that starts with xn--, a string of letters and hyphens that says nothing to the eye, in a DNS record, a registrar form, a certificate, or a link someone sent you. That unreadable label is not a different kind of name. It is an international domain name in the only spelling DNS can carry, and it decodes back to the readable name it came from.

Decoding a punycode domain means running the conversion in reverse until the name makes sense again. This guide explains what an xn-- label is, how to decode it with the free Punycode Converter on Ovatly, and why the safety use of decoding, checking what a suspicious domain really says, is the one worth remembering.

Contents

  • Quick answer
  • What an xn-- label actually is
  • The two jobs decoding does
  • How to decode a punycode domain, step by step
  • Worked examples: reading two encoded names
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

To decode a punycode domain that starts with xn--: paste the domain into the Punycode Converter and read the Unicode result shown under the box. The tool converts in both directions, each label separately, and plain labels pass through unchanged. So xn--bcher-kva.de decodes back to bücher.de, and xn--mnchen-3ya.de decodes back to münchen.de. If the name came from a link you do not trust, the decoded result is what the domain really says.

What an xn-- label actually is

DNS itself only carries ASCII letters, digits and hyphens, so every international domain exists underneath as an xn-- name. The xn-- prefix at the start of a label is the signal that the label is encoded: behind it sits a name written in accented Latin letters, or in another script entirely, compressed into ASCII by the conversion defined in RFC 3492.

That conversion is done per label, the part between dots, and decoding follows the same shape in reverse. An xn-- label decodes back to its Unicode label. A plain label, one that was never international, passes through unchanged. In xn--bcher-kva.de, only the first label is encoded; the de at the end is a plain label and comes out exactly as it went in. Once you see that structure, an encoded domain stops being a mystery string and becomes a name with one part left to read.

The two jobs decoding does

The everyday job is simple reading. Encoded names turn up in places that store the ASCII form: a DNS record you are editing, a registrar form that lists the technical spelling of your domain, or a certificate that names the domain it was issued for. In each case the question is the same: what name is this, in the form a person would write it? Decoding answers it exactly, rather than leaving you to guess from the shape of the encoded label.

The second job is the safety check, and the converter's own steps name it directly: if you are checking a suspicious link, also convert the suspicious domain back to Unicode to see what it really says. A lookalike domain works by rendering as a name you trust while being a different name underneath. Decoding strips the disguise in the other direction: it shows you the actual characters the name is made of. That is also why browsers show the xn-- form for some domains as a safety display, so a lookalike spoof stays visible instead of rendering as a trusted brand. When a browser refuses to pretty-print a name for you, decoding it yourself is the natural next step.

How to decode a punycode domain, step by step

  1. Open the Punycode Converter and type or paste the domain that starts with xn-- into the box.
  2. Read the converted result under the box. Check it label by label: each xn-- label should now read as a Unicode label, and plain labels should be unchanged.
  3. Read the decoded name as a whole and ask whether it is the name you expected. For a record or a certificate, it should match the domain you meant to work with.
  4. If the name came from a suspicious link, compare the decoded name character by character with the real brand or site you trust. Close is not the same.
  5. Copy the decoded result if you need it for a registrar form, a DNS record, or a support ticket, so the readable form travels with your message.

Worked examples: reading two encoded names

Start with xn--bcher-kva.de. The first label carries the xn-- marker, so it decodes; the de label is plain and stays put. The decoded result is bücher.de, the German word for books. Nothing about the second label changed, because nothing about it was ever encoded.

The second example is xn--mnchen-3ya.de. Decoding the first label gives münchen, so the full name reads münchen.de, the German name for the city of Munich. The converter's Japanese example runs the same way in reverse: xn--wgv71a.jp is the encoded form, and decoding it returns the Japanese name it was converted from, with jp untouched.

Notice what the examples share. Decoding never invents a nicer name; it recovers the one exact name that was encoded. If a decoded name is not the name you expected to see, that difference is the finding, not a fault in the tool.

Limitations and honest tradeoffs

Decoding recovers a readable name; it does not judge it. A decoded name can be a legitimate international domain belonging to a real business in its own language, and most are. The tool shows you what a name says. Whether the site behind it is trustworthy is a separate judgement that the decoded text informs but does not settle.

The length rules of the encoded form still apply while you work: labels have a maximum length of 63 characters after encoding, and the full domain a maximum of 253, so the encoded names you meet will always fit inside those bounds. The input is also lowercased before conversion, so the decoded result comes back in lowercase even if the encoded text you pasted was not.

And decoding, like encoding, says nothing about registration. Converting a name does not mean it can be registered, in either direction. Registries restrict which scripts and combinations a zone allows, and a name you have decoded may be one that its zone would not accept as a new registration today.

Common mistakes

  • Reading an xn-- label as a brand name. The encoded label is a spelling, not a word. Decode it before you decide what it says.
  • Assuming an encoded name is automatically suspicious. International domains are ordinary. It is a decoded lookalike of a trusted brand that is the warning sign, not the xn-- prefix itself.
  • Checking only part of the domain. Decode and read every label. A familiar second label does not make an unfamiliar first label safe.
  • Eyeballing the decoded name instead of comparing it. A lookalike survives a glance. Compare it character by character with the name you trust.
  • Expecting capitals in the decoded result. The input is lowercased before conversion, so the result is lowercase; capitalisation in these names is never significant.

FAQs

What does the xn-- at the start of a label mean? It marks the label as the punycode form of an international label. DNS itself only carries ASCII letters, digits and hyphens, so every international domain exists underneath as an xn-- name, and decoding that label recovers the Unicode name.

Is decoding done on the whole domain at once? No. The conversion defined in RFC 3492 is done per label, the part between dots, in both directions. Each xn-- label decodes separately, and plain labels pass through unchanged.

Why does my browser sometimes show the xn-- form instead of the readable name? Browsers show the xn-- form for some domains as a safety display, so a lookalike spoof stays visible instead of rendering as a trusted brand. Seeing the encoded form is a prompt to check what the name really says.

Can I decode a name to check a suspicious link? Yes. If you are checking a suspicious link, convert the suspicious domain back to Unicode to see what it really says. A name that decodes to a lookalike of a brand you trust is not that brand.

Does decoding a name tell me whether it can be registered? No. Converting a name does not mean it can be registered, in either direction. Registries restrict which scripts and combinations a zone allows, and decoding only recovers the readable form of a name that was encoded.

Conclusion

An xn-- domain is a readable name wearing its working clothes. Paste it into the converter, read the Unicode result label by label, and you know exactly what the name says, whether you met it in a record, a certificate, or a link you wanted to check before trusting. When the job runs the other way and you need the ASCII form of a name you already read, our guide to converting an international domain name to punycode covers that direction. For more guides in this series, see our URL and Link Tools guides.

References