How punycode converter works
Punycode (RFC 3492) is how the domain name system represents international domain names. DNS only allows ASCII letters, digits, and hyphens, so a label like "münchen" is encoded as the ASCII label "xn--mnchen-3ya" using a base-36 variable-length integer scheme that records the non-ASCII code points.
Enter a domain to convert it to its Punycode (xn--) form, or paste an xn-- domain to decode it back to Unicode. Each dot-separated label is processed independently, so "café.example.com" becomes "xn--caf-dma.example.com" (only the non-ASCII label is prefixed with xn--).
This is useful for registering internationalized domains, configuring DNS records, debugging email and URL handling, and understanding how browsers display a Unicode domain while the wire uses ASCII. All processing happens in your browser using a pure JavaScript implementation of the RFC 3492 algorithm.