Punycode Encode / Decode (IDN)

About this tool

Converts internationalized domain names (IDN) between their human-readable Unicode form, such as 中文.com or münchen.de, and the ASCII-compatible Punycode form that DNS actually uses, where each non-ASCII label is prefixed with xn--. The conversion follows RFC 3492 exactly and is applied label by label, splitting on dots so mixed domains work correctly.

This lets you see the real ASCII a browser sends for a Unicode address, verify a suspicious xn-- link, or prepare a domain for a registrar. Everything is computed locally in your browser using a self-contained implementation of the algorithm — no domain you type is ever sent to a server.

Related tools

Base64 Encoder / DecoderHex Encoder / DecoderBase32 Encoder / Decoder