Punycode Encoder — Domain to xn--
Example
Input:
münchen.de
Output:
xn--mnchen-3ya.de
About this converter
DNS was built for ASCII letters, so internationalized domain names (IDNs) are stored as punycode: an encoding that squeezes Unicode into lowercase letters and digits, prefixed with xn-- so software knows to decode it for display. Punycode is clever about size — it copies the plain ASCII characters verbatim, then encodes only the positions and values of the non-ASCII ones, which is why bücher becomes the short bcher-kva. Registries, SSL certificate tools, email systems (SMTPUTF8 aside) and server configs all want the xn-- form, while browsers show users the Unicode form — converting between them is a daily DevOps and localization chore, and the source of classic phishing lookalikes (homoglyph domains) that security teams check with exactly this conversion.
Frequently Asked Questions
Is the whole domain encoded or each part?
Each dot-separated label is encoded independently; labels that are already pure ASCII pass through unchanged.
Why do some characters vanish in the encoded form?
They do not vanish — their positions and code points are folded into the suffix after the hyphen. Decoding restores them exactly.
Can I register the name I typed here?
This page only converts. Availability and registration are your registrar's job — and note that many registries restrict which scripts may be mixed in one label.